00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
#ifndef DEBIAN_INSTALLER__SYSTEM__DPKG_H
00024
#define DEBIAN_INSTALLER__SYSTEM__DPKG_H
00025
00026
#include <debian-installer/packages.h>
00027
00028
#include <stdbool.h>
00029
00035
#define DI_SYSTEM_DPKG_ADMINDIR "/var/lib/dpkg/"
00036
#define DI_SYSTEM_DPKG_INFODIR DI_SYSTEM_DPKG_ADMINDIR "info/"
00037
#define DI_SYSTEM_DPKG_STATUSFILE DI_SYSTEM_DPKG_ADMINDIR "status"
00038
#define DI_SYSTEM_DPKG_TMPCONTROLDIR DI_SYSTEM_DPKG_ADMINDIR "tmp.ci/"
00039
00040
#if 0
00041
int di_system_dpkg_package_configure (
di_packages *status,
const char *package,
bool force);
00042
#endif
00043
int di_system_dpkg_package_control_file_exec (
di_package *package,
const char *name,
int argc,
const char *
const argv[]);
00044
#if 0
00045
int di_system_dpkg_package_unpack (
di_packages *status,
const char *_package,
const char *filename,
di_packages_allocator *allocator);
00046
#endif
00047
00049
#endif