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


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 QOSCB_ADD_SDP (1<<1) |
| #define QOSCB_CREATED (1<<0) |
| #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) |
| #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 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) |
| 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 | |||
| ) |
Definition at line 76 of file qos_cb.c.
References qos_callback::callback, cb, qos_ctx_st::cbs, qos_head_cbl::first, LM_CRIT, LM_DBG, LM_ERR, qos_callback::next, qos_callback::param, QOSCB_CREATED, shm_malloc(), qos_head_cbl::types, and qos_callback::types.
Referenced by load_qos().
| void run_create_cbs | ( | struct qos_ctx_st * | qos, | |
| struct sip_msg * | msg | |||
| ) |
Definition at line 122 of file qos_cb.c.
References qos_callback::callback, cb, qos_head_cbl::first, LM_DBG, qos_cb_params::msg, qos_callback::next, NULL, qos_callback::param, qos_cb_params::param, QOSCB_CREATED, qos_cb_params::role, and qos_cb_params::sdp.
Referenced by qos_dialog_created_CB().
| void run_qos_callbacks | ( | int | type, | |
| struct qos_ctx_st * | qos, | |||
| struct qos_sdp_st * | sdp, | |||
| unsigned int | role, | |||
| struct sip_msg * | msg | |||
| ) |
Definition at line 144 of file qos_cb.c.
References qos_callback::callback, cb, qos_ctx_st::cbs, qos_head_cbl::first, LM_DBG, qos_cb_params::msg, qos_callback::next, NULL, qos_callback::param, qos_cb_params::param, qos_cb_params::role, qos_cb_params::sdp, qos_callback::types, and qos_head_cbl::types.
Referenced by add_pending_sdp_session(), add_sdp(), link_negotiated_qos_sdp_and_run_cb(), qos_dialog_destroy_CB(), and remove_sdp().
1.5.6