]>
git.saurik.com Git - apt.git/blob - apt-pkg/init.h
1 // -*- mode: cpp; mode: fold -*-
3 // $Id: init.h,v 1.9.2.2 2004/01/02 18:51:00 mdz Exp $
4 /* ######################################################################
6 Init - Initialize the package library
8 This function must be called to configure the config class before
9 calling many APT library functions.
11 ##################################################################### */
16 #ifndef APT_8_CLEANER_HEADERS
17 #include <apt-pkg/configuration.h>
18 #include <apt-pkg/pkgsystem.h>
24 // These lines are extracted by the makefiles and the buildsystem
25 // Increasing MAJOR or MINOR results in the need of recompiling all
26 // reverse-dependencies of libapt-pkg against the new SONAME.
27 // Non-ABI-Breaks should only increase RELEASE number.
28 // See also buildlib/libversion.mak
29 #define APT_PKG_MAJOR 4
30 #define APT_PKG_MINOR 13
31 #define APT_PKG_RELEASE 0
33 extern const char *pkgVersion
;
34 extern const char *pkgLibVersion
;
36 bool pkgInitConfig(Configuration
&Cnf
);
37 bool pkgInitSystem(Configuration
&Cnf
,pkgSystem
*&Sys
);