#include "qos_cb.h"


Go to the source code of this file.
Data Structures | |
| struct | qos_ctx_st |
| struct | qos_sdp_st |
Defines | |
| #define | QOS_CALLEE 1 |
| #define | QOS_CALLER 0 |
Typedefs | |
| typedef struct qos_ctx_st | qos_ctx_t |
| typedef struct qos_sdp_st | qos_sdp_t |
Functions | |
| void | add_sdp (qos_ctx_t *qos_ctx, unsigned int dir, struct sip_msg *_m, unsigned int role, unsigned int other_role) |
| qos_ctx_t * | build_new_qos_ctx () |
| void | destroy_qos_ctx (qos_ctx_t *ctx) |
| void | remove_sdp (qos_ctx_t *qos_ctx, unsigned int dir, struct sip_msg *_m, unsigned int role, unsigned int other_role) |
| #define QOS_CALLEE 1 |
Definition at line 35 of file qos_ctx_helpers.h.
Referenced by qos_dialog_created_CB(), qos_dialog_request_CB(), and qos_dialog_response_CB().
| #define QOS_CALLER 0 |
Definition at line 34 of file qos_ctx_helpers.h.
Referenced by add_sdp(), find_qos_sdp(), qos_dialog_created_CB(), qos_dialog_request_CB(), qos_dialog_response_CB(), and remove_sdp().
| typedef struct qos_ctx_st qos_ctx_t |
The QoS context.
| typedef struct qos_sdp_st qos_sdp_t |
| void add_sdp | ( | qos_ctx_t * | qos_ctx, | |
| unsigned int | dir, | |||
| struct sip_msg * | _m, | |||
| unsigned int | role, | |||
| unsigned int | other_role | |||
| ) |
Definition at line 405 of file qos_ctx_helpers.c.
References add_pending_sdp_session(), sip_msg::cseq, ERROR_MATCH, find_qos_sdp(), get_cseq, HDR_CSEQ_F, _str::len, link_negotiated_qos_sdp_and_run_cb(), LM_CRIT, LM_DBG, LM_ERR, N_200OK_ACK, N_INVITE_200OK, NEGOTIATED_MATCH, NO_ACK_REQ_MATCH, NO_INVITE_REQ_MATCH, NO_INVITE_RESP_MATCH, NO_UPDATE_REQ_MATCH, NO_UPDATE_RESP_MATCH, NULL, parse_headers(), hdr_field::parsed, PENDING_MATCH, QOS_CALLER, QOSCB_UPDATE_SDP, run_qos_callbacks(), _str::s, sip_msg::sdp, qos_sdp_st::sdp_session, shm_free, and unlink_pending_qos_sdp().
Referenced by qos_dialog_created_CB(), qos_dialog_request_CB(), and qos_dialog_response_CB().
| qos_ctx_t* build_new_qos_ctx | ( | ) |
Definition at line 53 of file qos_ctx_helpers.c.
References LM_ERR, qos_ctx_st::lock, NULL, shm_free, and shm_malloc().
Referenced by qos_dialog_created_CB().
| void destroy_qos_ctx | ( | qos_ctx_t * | ctx | ) |
Definition at line 559 of file qos_ctx_helpers.c.
References destroy_qos(), LM_DBG, qos_ctx_st::lock, qos_ctx_st::negotiated_sdp, qos_sdp_st::next, qos_ctx_st::pending_sdp, and shm_free.
Referenced by qos_dialog_destroy_CB().
| void remove_sdp | ( | qos_ctx_t * | qos_ctx, | |
| unsigned int | dir, | |||
| struct sip_msg * | _m, | |||
| unsigned int | role, | |||
| unsigned int | other_role | |||
| ) |
Definition at line 505 of file qos_ctx_helpers.c.
References qos_sdp_st::cseq, sip_msg::cseq, destroy_qos(), sip_msg::first_line, get_cseq, HDR_CSEQ_F, _str::len, LM_DBG, LM_ERR, qos_sdp_st::method_dir, qos_sdp_st::method_id, METHOD_INVITE, METHOD_UPDATE, N_INVITE_200OK, qos_sdp_st::negotiation, qos_sdp_st::next, NULL, parse_headers(), hdr_field::parsed, qos_ctx_st::pending_sdp, QOS_CALLER, QOSCB_REMOVE_SDP, run_qos_callbacks(), _str::s, qos_sdp_st::sdp_session, SIP_REPLY, msg_start::type, and unlink_negotiated_qos_sdp().
Referenced by qos_dialog_response_CB().
1.5.6