pua_callback.h File Reference

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

Include dependency graph for pua_callback.h:

This graph shows which files directly or indirectly include this file:

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_listpuacb_list


Define Documentation

#define PUACB_MAX   (1<<9)

Definition at line 31 of file pua_callback.h.

Referenced by register_puacb().


Typedef Documentation

typedef int( pua_cb)(ua_pres_t *hentity, struct sip_msg *)

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.


Function Documentation

void destroy_puacb_list ( void   ) 

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 
)

static void run_pua_callbacks ( ua_pres_t hentity,
struct sip_msg msg 
) [inline, static]


Variable Documentation

Definition at line 32 of file pua_callback.c.


Generated on Thu May 24 08:01:16 2012 for Kamailio - The Open Source SIP Server by  doxygen 1.5.6