]>
git.saurik.com Git - apt.git/blob - apt-pkg/init.h
1 // -*- mode: cpp; mode: fold -*-
3 /* ######################################################################
5 Init - Initialize the package library
7 This function must be called to configure the config class before
8 calling many APT library functions.
10 ##################################################################### */
15 #ifndef APT_8_CLEANER_HEADERS
16 #include <apt-pkg/configuration.h>
17 #include <apt-pkg/pkgsystem.h>
19 #ifndef APT_10_CLEANER_HEADERS
20 #include <apt-pkg/macros.h>
26 extern const char *pkgVersion
;
27 extern const char *pkgLibVersion
;
29 bool pkgInitConfig(Configuration
&Cnf
);
30 bool pkgInitSystem(Configuration
&Cnf
,pkgSystem
*&Sys
);