dpkg 1.22.7-3-g89f48
Loading...
Searching...
No Matches
Data Fields
trig_hooks Struct Reference

The first two hooks are normally NULL. More...

#include <triglib.h>

Collaboration diagram for trig_hooks:
[legend]

Data Fields

void(* enqueue_deferred )(struct pkginfo *pend)
 
void(* transitional_activate )(enum modstatdb_rw cstatus)
 
struct fsys_namenode *(* namenode_find )(const char *filename, bool nonew)
 
struct trigfileint **(* namenode_interested )(struct fsys_namenode *fnn)
 
const char *(* namenode_name )(struct fsys_namenode *fnn)
 Returns a pointer from nfmalloc.
 

Detailed Description

The first two hooks are normally NULL.

If non-NULL, we're dpkg proper and we might need to invent trigger activations as the first run of a triggers-supporting dpkg.

Field Documentation

◆ enqueue_deferred

void(* trig_hooks::enqueue_deferred) (struct pkginfo *pend)

◆ namenode_find

struct fsys_namenode *(* trig_hooks::namenode_find) (const char *filename, bool nonew)

◆ namenode_interested

struct trigfileint **(* trig_hooks::namenode_interested) (struct fsys_namenode *fnn)

Referenced by trig_file_activate().

◆ namenode_name

const char *(* trig_hooks::namenode_name) (struct fsys_namenode *fnn)

Returns a pointer from nfmalloc.

Referenced by trig_file_activate(), and trig_path_activate().

◆ transitional_activate

void(* trig_hooks::transitional_activate) (enum modstatdb_rw cstatus)

Referenced by trig_incorporate().


The documentation for this struct was generated from the following file: