Classes | Typedefs | Functions
pdict.c File Reference
#include "../stdafx.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <assert.h>
#include <regex.h>
#include "utils.h"
#include "plist.h"
#include "ptree.h"
#include "pdict-impl.h"
Include dependency graph for pdict.c:

Go to the source code of this file.

Classes

struct  pdict_ent_notify_cb_args_t

Typedefs

typedef struct pdict_ent pdict_ent_t
typedef int(* pdict_walk_int_func_t )(pdict_ent_t *pde, void *arg)

Functions

static int _pdict_ent_add_change_listener (pdict_ent_t *pde, pdl_notify_func_t notify, void *arg)
static int _pdict_ent_add_persistent_change_listener (pdict_ent_t *pde, pdict_persistent_listener_t *pl)
static int _pdict_ent_add_persistent_change_listeners (pdict_t *pd, pdict_ent_t *pde)
static void _pdict_ent_listeners_copy (pdict_ent_t *pde, pdict_ent_t *pde_copy)
static int _pdict_ent_lookup (pdict_t *pd, const char *k, pdict_ent_t **e)
static void _pdict_ent_notify (pdict_ent_t *pde, int reason, const char *ov)
static int _pdict_ent_remove_change_listener (pdict_ent_t *pde, pdl_notify_func_t notify, void *a)
static int _pdict_ent_remove_persistent_change_listener (pdict_ent_t *pde, pdict_persistent_listener_t *pl)
static int _pdict_walk_int (pdict_t *pd, pdict_walk_int_func_t w, void *arg)
static int pdecmp (const void *sv, const void *dv)
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 notify, void *arg)
pdict_tpdict_alloc (void)
int pdict_ent_add_change_listener (pdict_t *pd, const char *k, pdl_notify_func_t notify, void *arg)
static int pdict_ent_add_persistent_change_listener_cb (const void *lid, const void *pl, void *a)
static int pdict_ent_add_persistent_change_listener_dcb (pdict_ent_t *pde, void *pl)
static int pdict_ent_listeners_copy_cb (const void *v, const void *v0, void *a)
int pdict_ent_lookup (pdict_t *pd, const char *k, const char **v)
static int pdict_ent_notify_cb (const void *v, const void *v0, void *a)
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 nf, void *arg)
static int pdict_ent_remove_change_listener_cb (const void *k, const void *v, void *a)
static int pdict_ent_remove_change_listeners (pdict_ent_t *pde)
static int pdict_ent_remove_change_listeners_cb (const void *v, const void *v0, void *a)
static int pdict_ent_remove_persistent_change_listener_cb (const void *pl, const void *v, void *a)
static int pdict_ent_remove_persistent_change_listener_dcb (pdict_ent_t *pde, void *pl)
pdict_reason_t pdict_reason_from_str (const char *s)
const char * pdict_reason_str (pdict_reason_t r)
int pdict_remove_persistent_change_listener (pdict_t *pd, int id)
int pdict_walk (pdict_t *pd, pdict_walk_func_t w, void *arg)
static ptree_walk_res_t pdict_walk_cb (const void *v, int level, void *a, void *pwra)
static ptree_walk_res_t pdict_walk_int_cb (const void *v, int level, void *a, void *pwra)

Typedef Documentation

typedef struct pdict_ent pdict_ent_t

Definition at line 15 of file pdict.c.

typedef int(* pdict_walk_int_func_t)(pdict_ent_t *pde, void *arg)

Definition at line 16 of file pdict.c.


Function Documentation

static int _pdict_ent_add_change_listener ( pdict_ent_t pde,
pdl_notify_func_t  notify,
void arg 
) [static]

Definition at line 370 of file pdict.c.

Definition at line 231 of file pdict.c.

static int _pdict_ent_add_persistent_change_listeners ( pdict_t pd,
pdict_ent_t pde 
) [static]

Definition at line 206 of file pdict.c.

static void _pdict_ent_listeners_copy ( pdict_ent_t pde,
pdict_ent_t pde_copy 
) [static]

Definition at line 74 of file pdict.c.

static int _pdict_ent_lookup ( pdict_t pd,
const char *  k,
pdict_ent_t **  e 
) [static]

Definition at line 320 of file pdict.c.

static void _pdict_ent_notify ( pdict_ent_t pde,
int  reason,
const char *  ov 
) [static]

Definition at line 418 of file pdict.c.

static int _pdict_ent_remove_change_listener ( pdict_ent_t pde,
pdl_notify_func_t  notify,
void a 
) [static]

Definition at line 352 of file pdict.c.

Definition at line 251 of file pdict.c.

static int _pdict_walk_int ( pdict_t pd,
pdict_walk_int_func_t  w,
void arg 
) [static]

Definition at line 444 of file pdict.c.

static int pdecmp ( const void sv,
const void dv 
) [static]

Definition at line 44 of file pdict.c.

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  notify,
void arg 
)

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  notify,
void arg 
)

Definition at line 390 of file pdict.c.

static int pdict_ent_add_persistent_change_listener_cb ( const void lid,
const void pl,
void a 
) [static]

Definition at line 198 of file pdict.c.

static int pdict_ent_add_persistent_change_listener_dcb ( pdict_ent_t pde,
void pl 
) [static]

Definition at line 224 of file pdict.c.

static int pdict_ent_listeners_copy_cb ( const void v,
const void v0,
void a 
) [static]

Definition at line 65 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.

static int pdict_ent_notify_cb ( const void v,
const void v0,
void a 
) [static]

Definition at line 407 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  nf,
void arg 
)

Definition at line 460 of file pdict.c.

static int pdict_ent_remove_change_listener_cb ( const void k,
const void v,
void a 
) [static]

Definition at line 339 of file pdict.c.

static int pdict_ent_remove_change_listeners ( pdict_ent_t pde) [static]

Definition at line 57 of file pdict.c.

static int pdict_ent_remove_change_listeners_cb ( const void v,
const void v0,
void a 
) [static]

Definition at line 50 of file pdict.c.

static int pdict_ent_remove_persistent_change_listener_cb ( const void pl,
const void v,
void a 
) [static]

Definition at line 189 of file pdict.c.

static int pdict_ent_remove_persistent_change_listener_dcb ( pdict_ent_t pde,
void pl 
) [static]

Definition at line 217 of file pdict.c.

Definition at line 489 of file pdict.c.

const char* pdict_reason_str ( pdict_reason_t  r)

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  w,
void arg 
)

Definition at line 452 of file pdict.c.

static ptree_walk_res_t pdict_walk_cb ( const void v,
int  level,
void a,
void pwra 
) [static]

Definition at line 434 of file pdict.c.

static ptree_walk_res_t pdict_walk_int_cb ( const void v,
int  level,
void a,
void pwra 
) [static]

Definition at line 426 of file pdict.c.



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