pua/event_list.h File Reference

#include "../../str.h"

Include dependency graph for pua/event_list.h:

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

Go to the source code of this file.

Data Structures

struct  pua_event

Typedefs

typedef int(* add_pua_event_t )(int ev_flag, char *name, char *content_type, evs_process_body_t *process_body)
typedef int( evs_process_body_t )(struct publ_info *, str **final_body, int ver, str **tuple)
typedef struct pua_event pua_event_t

Functions

int add_pua_event (int ev_flag, char *name, char *content_type, evs_process_body_t *process_body)
pua_event_tcontains_pua_event (str *name)
void destroy_pua_evlist (void)
pua_event_tget_event (int ev_flag)
pua_event_tinit_pua_evlist (void)

Variables

pua_event_tpua_evlist


Typedef Documentation

typedef int(* add_pua_event_t)(int ev_flag, char *name, char *content_type, evs_process_body_t *process_body)

Definition at line 55 of file pua/event_list.h.

typedef int( evs_process_body_t)(struct publ_info *, str **final_body, int ver, str **tuple)

Definition at line 35 of file pua/event_list.h.

typedef struct pua_event pua_event_t


Function Documentation

int add_pua_event ( int  ev_flag,
char *  name,
char *  content_type,
evs_process_body_t process_body 
)

pua_event_t* contains_pua_event ( str name  ) 

Definition at line 106 of file pua/event_list.c.

References _str::len, pua_event::name, pua_event::next, NULL, pua_evlist, and _str::s.

Referenced by add_pua_event().

void destroy_pua_evlist ( void   ) 

Definition at line 141 of file pua/event_list.c.

References pua_event::next, pua_evlist, and shm_free.

pua_event_t* get_event ( int  ev_flag  ) 

Definition at line 124 of file pua/event_list.c.

References pua_event::ev_flag, pua_event::next, NULL, and pua_evlist.

Referenced by send_publish(), subs_build_hdr(), and update_pua().

pua_event_t* init_pua_evlist ( void   ) 

Definition at line 35 of file pua/event_list.c.

References LM_ERR, pua_event::next, NULL, and shm_malloc().

Referenced by mod_init().


Variable Documentation

Definition at line 70 of file pua.c.

Referenced by add_pua_event(), contains_pua_event(), destroy_pua_evlist(), and get_event().


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