Typedefs | Enumerations | Functions
pdict.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef struct pdict pdict_t
typedef int(* pdict_walk_func_t )(const char *k, const char *v, void *arg)
typedef void(* pdl_notify_func_t )(const char *k, const char *v, pdict_reason_t r, const char *pde_oldval, void *arg)

Enumerations

enum  pdict_reason_t { PDR_VALUE_CHANGED = 1, PDR_ENTRY_ADDED, PDR_ENTRY_REMOVING, PDR_CURRENT_VALUE }

Functions

int pdict_add (pdict_t *pd, const char *k, const char *v, const char **ovp)
int pdict_add_persistent_change_listener (pdict_t *pd, const char *kpat, pdl_notify_func_t, void *)
pdict_tpdict_alloc (void)
int pdict_ent_add_change_listener (pdict_t *pd, const char *k, pdl_notify_func_t, void *)
int pdict_ent_lookup (pdict_t *pd, const char *k, const char **v)
int pdict_ent_remove (pdict_t *pd, const char *k, char **ovp)
int pdict_ent_remove_change_listener (pdict_t *pd, const char *k, pdl_notify_func_t, void *)
pdict_reason_t pdict_reason_from_str (const char *)
const char * pdict_reason_str (pdict_reason_t)
int pdict_remove_persistent_change_listener (pdict_t *pd, int id)
int pdict_walk (pdict_t *pd, pdict_walk_func_t, void *arg)

Typedef Documentation

typedef struct pdict pdict_t

Definition at line 12 of file pdict.h.

typedef int(* pdict_walk_func_t)(const char *k, const char *v, void *arg)

Definition at line 20 of file pdict.h.

typedef void(* pdl_notify_func_t)(const char *k, const char *v, pdict_reason_t r, const char *pde_oldval, void *arg)

Definition at line 14 of file pdict.h.


Enumeration Type Documentation

Enumerator:
PDR_VALUE_CHANGED 
PDR_ENTRY_ADDED 
PDR_ENTRY_REMOVING 
PDR_CURRENT_VALUE 

Definition at line 4 of file pdict.h.


Function Documentation

int pdict_add ( pdict_t pd,
const char *  k,
const char *  v,
const char **  ovp 
)

Definition at line 83 of file pdict.c.

int pdict_add_persistent_change_listener ( pdict_t pd,
const char *  kpat,
pdl_notify_func_t  ,
void  
)

Definition at line 280 of file pdict.c.

Definition at line 32 of file pdict.c.

int pdict_ent_add_change_listener ( pdict_t pd,
const char *  k,
pdl_notify_func_t  ,
void  
)

Definition at line 390 of file pdict.c.

int pdict_ent_lookup ( pdict_t pd,
const char *  k,
const char **  v 
)

Definition at line 326 of file pdict.c.

int pdict_ent_remove ( pdict_t pd,
const char *  k,
char **  ovp 
)

Definition at line 163 of file pdict.c.

int pdict_ent_remove_change_listener ( pdict_t pd,
const char *  k,
pdl_notify_func_t  ,
void  
)

Definition at line 460 of file pdict.c.

Definition at line 489 of file pdict.c.

const char* pdict_reason_str ( pdict_reason_t  )

Definition at line 472 of file pdict.c.

Definition at line 260 of file pdict.c.

int pdict_walk ( pdict_t pd,
pdict_walk_func_t  ,
void arg 
)

Definition at line 452 of file pdict.c.



pedal_monitor
Author(s): Pedro Mendes
autogenerated on Fri Jun 6 2014 18:37:21