]> git.saurik.com Git - apt.git/blame - apt-pkg/init.h
test framework: Correctly generate new paths in noopchroot
[apt.git] / apt-pkg / init.h
CommitLineData
9c14e3d6
AL
1// -*- mode: cpp; mode: fold -*-
2// Description /*{{{*/
9c14e3d6
AL
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 /*}}}*/
9c14e3d6
AL
12#ifndef PKGLIB_INIT_H
13#define PKGLIB_INIT_H
14
b9dadc24
DK
15#ifndef APT_8_CLEANER_HEADERS
16#include <apt-pkg/configuration.h>
17#include <apt-pkg/pkgsystem.h>
18#endif
453b82a3 19#ifndef APT_10_CLEANER_HEADERS
54298f49 20#include <apt-pkg/macros.h>
453b82a3 21#endif
b9dadc24 22
472ff00e
DK
23class pkgSystem;
24class Configuration;
9c14e3d6 25
b2e465d6
AL
26extern const char *pkgVersion;
27extern const char *pkgLibVersion;
b2e465d6
AL
28
29bool pkgInitConfig(Configuration &Cnf);
30bool pkgInitSystem(Configuration &Cnf,pkgSystem *&Sys);
31
9c14e3d6 32#endif