apt
3.0.3
commandline package manager
apt-pkg
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
20
APT_PUBLIC
extern
const
char
*pkgVersion;
21
APT_PUBLIC
extern
const
char
*pkgLibVersion;
22
23
APT_PUBLIC
bool
pkgInitConfig(
Configuration
&Cnf);
24
APT_PUBLIC
bool
pkgInitSystem(
Configuration
&Cnf,
pkgSystem
*&Sys);
25
26
#endif
Configuration
Definition
configuration.h:41
pkgSystem
Definition
pkgsystem.h:53
Generated by
1.9.8