dpkg 1.21.11
|
Data Structures | |
struct | trigfileint |
struct | trig_hooks |
The first two hooks are normally NULL. More... | |
Macros | |
#define | TRIGHOOKS_DEFINE_NAMENODE_ACCESSORS |
Typedefs | |
typedef void | trig_awaited_pend_foreach_func(struct pkginfo *pkg) |
typedef void | trig_parse_cicb(const char *trig, struct pkginfo *pkg, struct pkgbin *pkgbin, enum trig_options to) |
Enumerations | |
enum | trig_options { TRIG_AWAIT , TRIG_NOAWAIT } |
#define TRIGHOOKS_DEFINE_NAMENODE_ACCESSORS |
typedef void trig_awaited_pend_foreach_func(struct pkginfo *pkg) |
typedef void trig_parse_cicb(const char *trig, struct pkginfo *pkg, struct pkgbin *pkgbin, enum trig_options to) |
enum trig_options |
void trig_awaited_pend_enqueue | ( | struct pkginfo * | pend | ) |
void trig_awaited_pend_foreach | ( | trig_awaited_pend_foreach_func * | func | ) |
void trig_awaited_pend_free | ( | void | ) |
void trig_cicb_interest_add | ( | const char * | trig, |
struct pkginfo * | pkg, | ||
struct pkgbin * | pkgbin, | ||
enum trig_options | to | ||
) |
void trig_cicb_interest_delete | ( | const char * | trig, |
struct pkginfo * | pkg, | ||
struct pkgbin * | pkgbin, | ||
enum trig_options | to | ||
) |
void trig_cicb_statuschange_activate | ( | const char * | trig, |
struct pkginfo * | pkg, | ||
struct pkgbin * | pkgbin, | ||
enum trig_options | to | ||
) |
void trig_clear_awaiters | ( | struct pkginfo * | notpend | ) |
References trigaw::aw, pkginfo::head, internerr, LIST_UNLINK_PART, modstatdb_note(), pkginfo::othertrigaw_head, pkg_name(), pkg_set_status(), PKG_STAT_INSTALLED, PKG_STAT_TRIGGERSAWAITED, PKG_STAT_TRIGGERSPENDING, pnaw_always, trigaw::samepend_next, pkginfo::status, pkginfo::trigaw, and pkginfo::trigpend_head.
void trig_file_activate | ( | struct fsys_namenode * | trig, |
struct pkginfo * | aw | ||
) |
void trig_file_activate_byname | ( | const char * | trig, |
struct pkginfo * | aw | ||
) |
void trig_file_interests_ensure | ( | void | ) |
void trig_file_interests_save | ( | void | ) |
void trig_fixup_awaiters | ( | enum modstatdb_rw | cstatus | ) |
void trig_incorporate | ( | enum modstatdb_rw | cstatus | ) |
const char * trig_name_is_illegal | ( | const char * | p | ) |
References trigaw::aw, pkginfo::head, LIST_LINK_TAIL_PART, trigaw::next, nfmalloc(), pkginfo::othertrigaw_head, trigaw::pend, trigaw::sameaw, trigaw::samepend_next, and pkginfo::trigaw.
bool trig_note_pend | ( | struct pkginfo * | pend, |
const char * | trig | ||
) |
References pkginfo::head, pkg_set_status(), PKG_STAT_TRIGGERSAWAITED, PKG_STAT_TRIGGERSPENDING, trig_note_pend_core(), and pkginfo::trigaw.
bool trig_note_pend_core | ( | struct pkginfo * | pend, |
const char * | trig | ||
) |
References trigpend::name, trigpend::next, nfmalloc(), and pkginfo::trigpend_head.
Referenced by trig_note_pend().
void trig_override_hooks | ( | const struct trig_hooks * | hooks | ) |
void trig_parse_ci | ( | const char * | file, |
trig_parse_cicb * | interest, | ||
trig_parse_cicb * | activate, | ||
struct pkginfo * | pkg, | ||
struct pkgbin * | pkgbin | ||
) |
void trig_path_activate | ( | struct fsys_namenode * | trig, |
struct pkginfo * | aw | ||
) |