#include "../../parser/parse_fline.h"#include "../pua/hash.h"


Go to the source code of this file.
Data Structures | |
| struct | pua_callback |
| struct | puacb_head_list |
Defines | |
| #define | PUACB_MAX (1<<9) |
Typedefs | |
| typedef int( | pua_cb )(ua_pres_t *hentity, struct sip_msg *) |
| typedef int(* | register_puacb_t )(int types, pua_cb f, void *param) |
Functions | |
| void | destroy_puacb_list (void) |
| int | init_puacb_list (void) |
| int | register_puacb (int types, pua_cb f, void *param) |
| static void | run_pua_callbacks (ua_pres_t *hentity, struct sip_msg *msg) |
Variables | |
| struct puacb_head_list * | puacb_list |
| #define PUACB_MAX (1<<9) |
Definition at line 34 of file pua_callback.h.
| typedef int(* register_puacb_t)(int types, pua_cb f, void *param) |
Definition at line 36 of file pua_callback.h.
| 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().
Definition at line 64 of file pua_callback.h.
References pua_callback::callback, puacb_head_list::first, ua_pres::flag, LM_DBG, pua_callback::next, and pua_callback::types.
Referenced by publ_cback_func(), and subs_cback_func().
| struct puacb_head_list* puacb_list |
Definition at line 32 of file pua_callback.c.
1.5.6