sl_cb.c File Reference

SL :: callbacks

More...

#include "../../mem/mem.h"
#include "sl_cb.h"

Include dependency graph for sl_cb.c:

Go to the source code of this file.

Functions

void destroy_slcb_lists (void)
int register_slcb (unsigned int types, sl_cb_t f, void *param)
void run_sl_callbacks (unsigned int types, struct sip_msg *req, str *buffer, int code, str *reason, union sockaddr_union *to)

Variables

struct sl_callbackslcb_hl = 0


Detailed Description

SL :: callbacks

Definition in file sl_cb.c.


Function Documentation

void destroy_slcb_lists ( void   ) 

cleanup callback list

Definition at line 42 of file sl_cb.c.

References sl_callback::next, and pkg_free.

Referenced by mod_destroy().

int register_slcb ( unsigned int  types,
sl_cb_t  f,
void *  param 
)

register a SL callback

Definition at line 55 of file sl_cb.c.

References sl_callback::callback, sl_callback::id, LM_ERR, sl_callback::next, sl_callback::param, pkg_malloc, and sl_callback::types.

void run_sl_callbacks ( unsigned int  types,
struct sip_msg req,
str buffer,
int  code,
str reason,
union sockaddr_union to 
)


Variable Documentation

struct sl_callback* slcb_hl = 0

callback list head

Definition at line 38 of file sl_cb.c.


Generated on Thu May 24 12:00:42 2012 for Kamailio - The Open Source SIP Server by  doxygen 1.5.6