21#ifndef LIBDPKG_DB_CTRL_H
22#define LIBDPKG_DB_CTRL_H
44 const char *filetype);
void pkg_infodb_file_func(const char *filename, const char *filetype)
Definition db-ctrl.h:49
enum pkg_infodb_format pkg_infodb_get_format(void)
Definition db-ctrl-format.c:95
void pkg_infodb_upgrade(void)
Upgrade the infodb if there's the need and possibility.
Definition db-ctrl-upgrade.c:234
void pkg_infodb_set_format(enum pkg_infodb_format format)
Definition db-ctrl-format.c:104
bool pkg_infodb_has_file(struct pkginfo *pkg, struct pkgbin *pkgbin, const char *name)
Definition db-ctrl-access.c:40
const char * pkg_infodb_get_dir(void)
Definition db-ctrl-format.c:119
pkg_infodb_format
Definition db-ctrl.h:30
@ PKG_INFODB_FORMAT_UNKNOWN
Definition db-ctrl.h:31
@ PKG_INFODB_FORMAT_LAST
Definition db-ctrl.h:34
@ PKG_INFODB_FORMAT_LEGACY
Definition db-ctrl.h:32
@ PKG_INFODB_FORMAT_MULTIARCH
Definition db-ctrl.h:33
const char * pkg_infodb_get_file(const struct pkginfo *pkg, const struct pkgbin *pkgbin, const char *filetype)
Definition db-ctrl-format.c:128
bool pkg_infodb_is_upgrading(void)
Definition db-ctrl-format.c:110
const char * pkg_infodb_reset_dir(void)
Definition db-ctrl-format.c:150
void pkg_infodb_foreach(struct pkginfo *pkg, struct pkgbin *pkgbin, pkg_infodb_file_func *func)
Definition db-ctrl-access.c:56
#define DPKG_BEGIN_DECLS
Definition macros.h:164
#define DPKG_END_DECLS
Definition macros.h:165
Node describing a binary package file.
Definition dpkg-db.h:116
Node describing an architecture package instance.
Definition dpkg-db.h:206