]>
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 ##################################################################### */
19 // These lines are extracted by the makefiles and the buildsystem
20 // Increasing MAJOR or MINOR results in the need of recompiling all
21 // reverse-dependencies of libapt-pkg against the new SONAME.
22 // Non-ABI-Breaks should only increase RELEASE number.
23 // See also buildlib/libversion.mak
24 #define APT_PKG_MAJOR 4
25 #define APT_PKG_MINOR 12
26 #define APT_PKG_RELEASE 0
28 extern const char *pkgVersion
;
29 extern const char *pkgLibVersion
;
31 bool pkgInitConfig(Configuration
&Cnf
);
32 bool pkgInitSystem(Configuration
&Cnf
,pkgSystem
*&Sys
);