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

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_cbl * | create_cbs = 0 |
| static struct qos_cb_params | params = {NULL, NULL, 0, NULL} |
| 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().
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().
struct qos_head_cbl* create_cbs = 0 [static] |
struct qos_cb_params params = {NULL, NULL, 0, NULL} [static] |
1.5.6