]> git.saurik.com Git - apt.git/blame_incremental - apt-pkg/init.h
re-add missing APT::String::Strip
[apt.git] / apt-pkg / init.h
... / ...
CommitLineData
1// -*- mode: cpp; mode: fold -*-
2// Description /*{{{*/
3// $Id: init.h,v 1.9.2.2 2004/01/02 18:51:00 mdz Exp $
4/* ######################################################################
5
6 Init - Initialize the package library
7
8 This function must be called to configure the config class before
9 calling many APT library functions.
10
11 ##################################################################### */
12 /*}}}*/
13#ifndef PKGLIB_INIT_H
14#define PKGLIB_INIT_H
15
16#ifndef APT_8_CLEANER_HEADERS
17#include <apt-pkg/configuration.h>
18#include <apt-pkg/pkgsystem.h>
19#endif
20
21class pkgSystem;
22class Configuration;
23
24// These lines are extracted by the makefiles and the buildsystem
25// Increasing MAJOR or MINOR results in the need of recompiling all
26// reverse-dependencies of libapt-pkg against the new SONAME.
27// Non-ABI-Breaks should only increase RELEASE number.
28// See also buildlib/libversion.mak
29#define APT_PKG_MAJOR 4
30#define APT_PKG_MINOR 12
31#define APT_PKG_RELEASE 0
32
33extern const char *pkgVersion;
34extern const char *pkgLibVersion;
35
36bool pkgInitConfig(Configuration &Cnf);
37bool pkgInitSystem(Configuration &Cnf,pkgSystem *&Sys);
38
39#endif