Main Page | Modules | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

rpmhook.h File Reference

Go to the source code of this file.

Data Structures

union  rpmhookArgv
struct  rpmhookArgs_s

Typedefs

typedef rpmhookArgs_srpmhookArgs
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 Documentation

typedef struct rpmhookArgs_s * rpmhookArgs
 

typedef int(* rpmhookFunc)(rpmhookArgs args, void *data)
 

Definition at line 19 of file rpmhook.h.


Function Documentation

rpmhookArgs rpmhookArgsFree rpmhookArgs  args  ) 
 

Definition at line 42 of file rpmhook.c.

Referenced by rpmhookCall().

rpmhookArgs rpmhookArgsNew int  argc  ) 
 

Definition at line 34 of file rpmhook.c.

References xcalloc().

Referenced by rpmhookArgsParse().

void rpmhookCall const char *  name,
const char *  argt,
  ...
 

Definition at line 271 of file rpmhook.c.

References rpmhookArgsFree(), rpmhookArgsParse(), and rpmhookTableCallArgs().

void rpmhookCallArgs const char *  name,
rpmhookArgs  args
 

Definition at line 286 of file rpmhook.c.

References rpmhookTableCallArgs().

void rpmhookRegister const char *  name,
rpmhookFunc  func,
void *  data
 

Definition at line 244 of file rpmhook.c.

References RPMHOOK_TABLE_INITSIZE, rpmhookTableAddItem(), and rpmhookTableNew().

void rpmhookUnregister const char *  name,
rpmhookFunc  func,
void *  data
 

Definition at line 253 of file rpmhook.c.

References rpmhookTableDelItem().

void rpmhookUnregisterAll const char *  name  ) 
 

Definition at line 265 of file rpmhook.c.

References rpmhookTableDelItem().

void rpmhookUnregisterAny const char *  name,
rpmhookFunc  func
 

Definition at line 259 of file rpmhook.c.

References rpmhookTableDelItem().


Generated on Mon Mar 5 13:30:25 2007 for rpm by  doxygen 1.4.4