Go to the source code of this file.
Data Structures | |
union | rpmhookArgv |
struct | rpmhookArgs_s |
Typedefs | |
typedef rpmhookArgs_s * | rpmhookArgs |
typedef int(*) | rpmhookFunc (rpmhookArgs args, void *data) |
Functions | |
rpmhookArgs | rpmhookArgsNew (int argc) |
rpmhookArgs | rpmhookArgsFree (rpmhookArgs args) |
void | rpmhookRegister (const char *name, rpmhookFunc func, void *data) |
void | rpmhookUnregister (const char *name, rpmhookFunc func, void *data) |
void | rpmhookUnregisterAny (const char *name, rpmhookFunc func) |
void | rpmhookUnregisterAll (const char *name) |
void | rpmhookCall (const char *name, const char *argt,...) |
void | rpmhookCallArgs (const char *name, rpmhookArgs args) |
typedef struct rpmhookArgs_s * rpmhookArgs |
typedef int(*) rpmhookFunc(rpmhookArgs args, void *data) |
rpmhookArgs rpmhookArgsFree | ( | rpmhookArgs | args | ) |
rpmhookArgs rpmhookArgsNew | ( | int | argc | ) |
void rpmhookCall | ( | const char * | name, | |
const char * | argt, | |||
... | ||||
) |
Definition at line 271 of file rpmhook.c.
References globalTable, rpmhookArgsFree(), rpmhookArgsParse(), and rpmhookTableCallArgs().
void rpmhookCallArgs | ( | const char * | name, | |
rpmhookArgs | args | |||
) |
void rpmhookRegister | ( | const char * | name, | |
rpmhookFunc | func, | |||
void * | data | |||
) |
Definition at line 244 of file rpmhook.c.
References globalTable, RPMHOOK_TABLE_INITSIZE, rpmhookTableAddItem(), and rpmhookTableNew().
void rpmhookUnregister | ( | const char * | name, | |
rpmhookFunc | func, | |||
void * | data | |||
) |
void rpmhookUnregisterAll | ( | const char * | name | ) |
void rpmhookUnregisterAny | ( | const char * | name, | |
rpmhookFunc | func | |||
) |