#include "../../dprint.h"#include "../../error.h"#include "../../mem/shm_mem.h"#include "pua_callback.h"

Go to the source code of this file.
Functions | |
| void | destroy_puacb_list (void) |
| int | init_puacb_list (void) |
| int | register_puacb (int types, pua_cb f, void *param) |
Variables | |
| struct puacb_head_list * | puacb_list = 0 |
| void destroy_puacb_list | ( | void | ) |
Definition at line 49 of file pua_callback.c.
References puacb_head_list::first, pua_callback::next, pua_callback::param, and shm_free.
| int init_puacb_list | ( | void | ) |
Definition at line 34 of file pua_callback.c.
References puacb_head_list::first, LM_CRIT, puacb_head_list::reg_types, and shm_malloc().
Referenced by mod_init().
| int register_puacb | ( | int | types, | |
| pua_cb | f, | |||
| void * | param | |||
| ) |
Definition at line 71 of file pua_callback.c.
References pua_callback::callback, E_BUG, E_OUT_OF_MEM, puacb_head_list::first, pua_callback::id, LM_CRIT, LM_ERR, pua_callback::next, pua_callback::param, PUACB_MAX, puacb_head_list::reg_types, shm_malloc(), and pua_callback::types.
Referenced by bind_pua().
| struct puacb_head_list* puacb_list = 0 |
Definition at line 32 of file pua_callback.c.
1.5.6