|
apt @VERSION@
|
00001 // -*- mode: cpp; mode: fold -*- 00002 // Description /*{{{*/ 00003 // $Id: init.h,v 1.9.2.2 2004/01/02 18:51:00 mdz Exp $ 00004 /* ###################################################################### 00005 00006 Init - Initialize the package library 00007 00008 This function must be called to configure the config class before 00009 calling many APT library functions. 00010 00011 ##################################################################### */ 00012 /*}}}*/ 00013 #ifndef PKGLIB_INIT_H 00014 #define PKGLIB_INIT_H 00015 00016 class pkgSystem; 00017 class Configuration; 00018 00019 // These lines are extracted by the makefiles and the buildsystem 00020 // Increasing MAJOR or MINOR results in the need of recompiling all 00021 // reverse-dependencies of libapt-pkg against the new SONAME. 00022 // Non-ABI-Breaks should only increase RELEASE number. 00023 // See also buildlib/libversion.mak 00024 #define APT_PKG_MAJOR 4 00025 #define APT_PKG_MINOR 12 00026 #define APT_PKG_RELEASE 0 00027 00028 extern const char *pkgVersion; 00029 extern const char *pkgLibVersion; 00030 00031 bool pkgInitConfig(Configuration &Cnf); 00032 bool pkgInitSystem(Configuration &Cnf,pkgSystem *&Sys); 00033 00034 #endif
1.7.4