qos_cb.c File Reference

#include "../../mem/shm_mem.h"
#include "../../dprint.h"
#include "qos_ctx_helpers.h"
#include "qos_cb.h"

Include dependency graph for qos_cb.c:

Go to the source code of this file.

Functions

void destroy_qos_callbacks (void)
void destroy_qos_callbacks_list (struct qos_callback *cb)
int init_qos_callbacks (void)
int register_qoscb (qos_ctx_t *qos, int types, qos_cb f, void *param)
void run_create_cbs (struct qos_ctx_st *qos, struct sip_msg *msg)
void run_qos_callbacks (int type, struct qos_ctx_st *qos, struct qos_sdp_st *sdp, unsigned int role, struct sip_msg *msg)

Variables

static struct qos_head_cblcreate_cbs = 0
static struct qos_cb_params params = {NULL, NULL, 0, NULL}


Function Documentation

void destroy_qos_callbacks ( void   ) 

Definition at line 65 of file qos_cb.c.

References destroy_qos_callbacks_list(), qos_head_cbl::first, and shm_free.

Referenced by mod_destroy().

void destroy_qos_callbacks_list ( struct qos_callback cb  ) 

Definition at line 51 of file qos_cb.c.

References LM_DBG, qos_callback::next, and shm_free.

Referenced by destroy_qos_callbacks().

int init_qos_callbacks ( void   ) 

Definition at line 38 of file qos_cb.c.

References qos_head_cbl::first, LM_ERR, shm_malloc(), and qos_head_cbl::types.

Referenced by mod_init().

int register_qoscb ( qos_ctx_t qos,
int  types,
qos_cb  f,
void *  param 
)

void run_create_cbs ( struct qos_ctx_st qos,
struct sip_msg msg 
)

void run_qos_callbacks ( int  type,
struct qos_ctx_st qos,
struct qos_sdp_st sdp,
unsigned int  role,
struct sip_msg msg 
)


Variable Documentation

struct qos_head_cbl* create_cbs = 0 [static]

Definition at line 34 of file qos_cb.c.

struct qos_cb_params params = {NULL, NULL, 0, NULL} [static]

Definition at line 36 of file qos_cb.c.


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