qos_ctx_helpers.h File Reference

#include "qos_cb.h"

Include dependency graph for qos_ctx_helpers.h:

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

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_tbuild_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 Documentation

#define QOS_CALLEE   1

#define QOS_CALLER   0


Typedef Documentation

typedef struct qos_ctx_st qos_ctx_t

The QoS context.

typedef struct qos_sdp_st qos_sdp_t


Function Documentation

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

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  ) 

void remove_sdp ( qos_ctx_t qos_ctx,
unsigned int  dir,
struct sip_msg _m,
unsigned int  role,
unsigned int  other_role 
)


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