qos_cb.h File Reference

#include "../../parser/msg_parser.h"

Include dependency graph for qos_cb.h:

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

Go to the source code of this file.

Data Structures

struct  qos_callback
struct  qos_cb_params
struct  qos_head_cbl

Defines

#define QOSCB_ADD_SDP   (1<<1)
#define QOSCB_CREATED   (1<<0)
#define QOSCB_REMOVE_SDP   (1<<3)
#define QOSCB_TERMINATED   (1<<4)
#define QOSCB_UPDATE_SDP   (1<<2)

Typedefs

typedef void( qos_cb )(struct qos_ctx_st *qos, int type, struct qos_cb_params *params)
typedef int(* register_qoscb_f )(struct qos_ctx_st *qos, int cb_types, qos_cb f, void *param)

Functions

void destroy_qos_callbacks ()
void destroy_qos_callbacks_list (struct qos_callback *cb)
int init_qos_callbacks ()
int register_qoscb (struct qos_ctx_st *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)


Define Documentation

#define QOSCB_ADD_SDP   (1<<1)

Definition at line 51 of file qos_cb.h.

Referenced by add_pending_sdp_session().

#define QOSCB_CREATED   (1<<0)

Definition at line 50 of file qos_cb.h.

Referenced by register_qoscb(), and run_create_cbs().

#define QOSCB_REMOVE_SDP   (1<<3)

Definition at line 53 of file qos_cb.h.

Referenced by link_negotiated_qos_sdp_and_run_cb(), and remove_sdp().

#define QOSCB_TERMINATED   (1<<4)

Definition at line 54 of file qos_cb.h.

Referenced by qos_dialog_destroy_CB().

#define QOSCB_UPDATE_SDP   (1<<2)

Definition at line 52 of file qos_cb.h.

Referenced by add_sdp(), and link_negotiated_qos_sdp_and_run_cb().


Typedef Documentation

typedef void( qos_cb)(struct qos_ctx_st *qos, int type, struct qos_cb_params *params)

Definition at line 43 of file qos_cb.h.

typedef int(* register_qoscb_f)(struct qos_ctx_st *qos, int cb_types, qos_cb f, void *param)

Definition at line 46 of file qos_cb.h.


Function Documentation

void destroy_qos_callbacks (  ) 

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

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 ( struct qos_ctx_st 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 
)


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