summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2009-01-04 18:33:16 +0200
committerGuillem Jover <guillem@debian.org>2009-01-04 18:33:16 +0200
commite80064ff8dad81dd310dedbf41419087998236f2 (patch)
tree21f307ecface240d77a55bec13a12fbdec0e11b6 /lib
parent006fc961abf17f962fb1b1299b277050483f676f (diff)
downloaddpkg-e80064ff8dad81dd310dedbf41419087998236f2.tar.gz
libdpkg: Move macros from dpkg.h to more specialized headers
Diffstat (limited to 'lib')
-rw-r--r--lib/dpkg.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/lib/dpkg.h b/lib/dpkg.h
index 1db4e1f9e..f72164bc4 100644
--- a/lib/dpkg.h
+++ b/lib/dpkg.h
@@ -40,27 +40,12 @@ DPKG_BEGIN_DECLS
#include <stddef.h>
#endif
-#ifdef PATH_MAX
-# define INTERPRETER_MAX PATH_MAX
-#else
-# define INTERPRETER_MAX 1024
-#endif
-
-#define ARCHIVEVERSION "2.0"
-#define SPLITVERSION "2.1"
-#define OLDARCHIVEVERSION "0.939000"
-#define SPLITPARTDEFMAX (450*1024)
-#define MAXFIELDNAME 200
#define MAXCONFFILENAME 1000
#define MAXDIVERTFILENAME 1024
#define MAXCONTROLFILENAME 100
-#define BUILDCONTROLDIR "DEBIAN"
-#define EXTRACTCONTROLDIR BUILDCONTROLDIR
#define DEBEXT ".deb"
#define OLDDBEXT "-old"
#define NEWDBEXT "-new"
-#define OLDOLDDEBDIR ".DEBIAN"
-#define OLDDEBDIR "DEBIAN"
#define REMOVECONFFEXTS "~", ".bak", "%", \
DPKGTEMPEXT, DPKGNEWEXT, DPKGOLDEXT, DPKGDISTEXT
@@ -105,8 +90,6 @@ DPKG_BEGIN_DECLS
#define MAINTSCRIPTPKGENVVAR "DPKG_MAINTSCRIPT_PACKAGE"
#define MAINTSCRIPTDPKGENVVAR "DPKG_RUNNING_VERSION"
-#define LOCALLIBDIR "/usr/local/lib/dpkg"
-
#define NOJOBCTRLSTOPENV "DPKG_NO_TSTP"
#define SHELLENV "SHELL"
#define DEFAULTSHELL "sh"
@@ -128,7 +111,6 @@ DPKG_BEGIN_DECLS
#define BACKEND "dpkg-deb"
#define DPKGQUERY "dpkg-query"
#define SPLITTER "dpkg-split"
-#define DSELECT "dselect"
#define DPKG "dpkg"
#define DEBSIGVERIFY "/usr/bin/debsig-verify"
@@ -387,12 +369,6 @@ void compress_cat(enum compress_type type, int fd_in, int fd_out,
const char *compression, char *desc, ...)
NONRETURNING PRINTFFORMAT(5, 6);
-/* Set BUILDOLDPKGFORMAT to 1 to build old-format archives by default.
- * */
-#ifndef BUILDOLDPKGFORMAT
-#define BUILDOLDPKGFORMAT 0
-#endif
-
DPKG_END_DECLS
#endif /* DPKG_H */