]> git.saurik.com Git - apt.git/blame - apt-pkg/init.h
move defines for version to macros.h
[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
54298f49 19#include <apt-pkg/macros.h>
b9dadc24 20
472ff00e
DK
21class pkgSystem;
22class Configuration;
9c14e3d6 23
b2e465d6
AL
24extern const char *pkgVersion;
25extern const char *pkgLibVersion;
b2e465d6
AL
26
27bool pkgInitConfig(Configuration &Cnf);
28bool pkgInitSystem(Configuration &Cnf,pkgSystem *&Sys);
29
9c14e3d6 30#endif