dpkg 1.22.7-3-g89f48
|
#include <config.h>
#include <compat.h>
#include <string.h>
#include <dpkg/ehandle.h>
#include <dpkg/dpkg-db.h>
#include <dpkg/pkg.h>
Functions | |
void | pkg_set_status (struct pkginfo *pkg, enum pkgstatus status) |
Set the package installation status. | |
void | pkg_set_eflags (struct pkginfo *pkg, enum pkgeflag eflag) |
Set the specified flags to 1 in the package error flags. | |
void | pkg_clear_eflags (struct pkginfo *pkg, enum pkgeflag eflag) |
Clear the specified flags to 0 in the package error flags. | |
void | pkg_reset_eflags (struct pkginfo *pkg) |
Reset the package error flags to 0. | |
void | pkg_copy_eflags (struct pkginfo *pkg_dst, struct pkginfo *pkg_src) |
Copy the package error flags to another package. | |
void | pkg_set_want (struct pkginfo *pkg, enum pkgwant want) |
Set the package selection status. | |
void | pkgbin_blank (struct pkgbin *pkgbin) |
void | pkg_blank (struct pkginfo *pkg) |
void | pkgset_blank (struct pkgset *set) |
void | pkgset_link_pkg (struct pkgset *set, struct pkginfo *pkg) |
Link a pkginfo instance into a package set. | |
int | pkgset_installed_instances (struct pkgset *set) |
Get the number of installed package instances in a package set. | |
bool | pkg_is_informative (struct pkginfo *pkg, struct pkgbin *pkgbin) |
Check if a pkg is informative. | |