]> git.saurik.com Git - apt.git/blame_incremental - apt-pkg/init.h
test framework: Correctly generate new paths in noopchroot
[apt.git] / apt-pkg / init.h
... / ...
CommitLineData
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
23class pkgSystem;
24class Configuration;
25
26extern const char *pkgVersion;
27extern const char *pkgLibVersion;
28
29bool pkgInitConfig(Configuration &Cnf);
30bool pkgInitSystem(Configuration &Cnf,pkgSystem *&Sys);
31
32#endif