]> git.saurik.com Git - apt.git/blob - apt-pkg/init.h
Do not set unhonored DPKG_NO_TSTP variable for dpkg
[apt.git] / apt-pkg / init.h
1 // -*- mode: cpp; mode: fold -*-
2 // Description /*{{{*/
3 /* ######################################################################
4
5 Init - Initialize the package library
6
7 This function must be called to configure the config class before
8 calling many APT library functions.
9
10 ##################################################################### */
11 /*}}}*/
12 #ifndef PKGLIB_INIT_H
13 #define PKGLIB_INIT_H
14
15 #ifndef APT_8_CLEANER_HEADERS
16 #include <apt-pkg/configuration.h>
17 #include <apt-pkg/pkgsystem.h>
18 #endif
19 #ifndef APT_10_CLEANER_HEADERS
20 #include <apt-pkg/macros.h>
21 #endif
22
23 class pkgSystem;
24 class Configuration;
25
26 extern const char *pkgVersion;
27 extern const char *pkgLibVersion;
28
29 bool pkgInitConfig(Configuration &Cnf);
30 bool pkgInitSystem(Configuration &Cnf,pkgSystem *&Sys);
31
32 #endif