apt 3.1.11 commandline package manager

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#include <apt-pkg/macros.h>
16
17 class pkgSystem;
18 class Configuration;
19
20APT_PUBLIC extern const char *pkgVersion;
21APT_PUBLIC extern const char *pkgLibVersion;
22
23APT_PUBLIC bool pkgInitConfig(Configuration &Cnf);
24APT_PUBLIC bool pkgInitSystem(Configuration &Cnf,pkgSystem *&Sys);
25
26#endif
Configuration
Definition configuration.h:41
pkgSystem
Definition pkgsystem.h:53