pua/event_list.c File Reference

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "../../str.h"
#include "send_publish.h"
#include "../../mem/shm_mem.h"
#include "event_list.h"

Include dependency graph for pua/event_list.c:

Go to the source code of this file.

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)


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().


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