dpkg 1.22.7-3-g89f48
|
Typedefs | |
typedef int | pkg_sorter_func(const void *a, const void *b) |
Functions | |
void | pkgset_link_pkg (struct pkgset *set, struct pkginfo *pkg) |
Link a pkginfo instance into a package set. | |
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. | |
typedef int pkg_sorter_func(const void *a, const void *b) |
Clear the specified flags to 0 in the package error flags.
References pkginfo::eflag.
Referenced by cu_preinstnew(), cu_preinstupgrade(), cu_preinstverynew(), cu_prerminfavour(), cu_prermremove(), and cu_prermupgrade().
Copy the package error flags to another package.
References pkginfo::eflag.
void pkg_reset_eflags | ( | struct pkginfo * | pkg | ) |
Reset the package error flags to 0.
References pkginfo::eflag, and PKG_EFLAG_OK.
Referenced by deferred_configure(), process_archive(), and removal_bulk().
Set the specified flags to 1 in the package error flags.
References pkginfo::eflag.
Referenced by process_archive().
Set the package installation status.
References pkgset::installed_instances, internerr, pkgset::name, PKG_STAT_NOTINSTALLED, pkginfo::set, pkginfo::status, and pkginfo::status_dirty.
Referenced by cu_preinstnew(), cu_preinstupgrade(), cu_preinstverynew(), deferred_configure(), deferred_remove(), post_postinst_tasks(), process_archive(), removal_bulk(), trig_clear_awaiters(), trig_note_pend(), and trigproc().
Set the package selection status.
References pkginfo::want.
Referenced by clearselections(), deferred_remove(), process_archive(), removal_bulk(), and setselections().
Link a pkginfo instance into a package set.
set | The package set to use. |
pkg | The package to link into the set. |
References pkginfo::arch_next, pkgset::pkg, and pkginfo::set.