parse_supported.h File Reference

Supported parser. More...

#include "msg_parser.h"
#include "../mem/mem.h"

Include dependency graph for parse_supported.h:

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

Go to the source code of this file.

Data Structures

struct  supported_body

Defines

#define F_SUPPORTED_100REL   (1 << 1)
#define F_SUPPORTED_PATH   (1 << 0)
#define F_SUPPORTED_TIMER   (1 << 2)
#define get_supported(p_msg)   ((p_msg)->supported ? ((struct supported_body*)(p_msg)->supported->parsed)->supported_all : 0)
#define SUPPORTED_100REL_LEN   (sizeof(SUPPORTED_100REL_STR)-1)
#define SUPPORTED_100REL_STR   "100rel"
#define SUPPORTED_PATH_LEN   (sizeof(SUPPORTED_PATH_STR)-1)
#define SUPPORTED_PATH_STR   "path"
#define SUPPORTED_TIMER_LEN   (sizeof(SUPPORTED_TIMER_STR)-1)
#define SUPPORTED_TIMER_STR   "timer"

Functions

static void free_supported (struct supported_body **sb)
int parse_supported (struct sip_msg *msg)


Detailed Description

Supported parser.

Definition in file parse_supported.h.


Define Documentation

#define F_SUPPORTED_100REL   (1 << 1)

Definition at line 43 of file parse_supported.h.

Referenced by parse_supported_body().

#define F_SUPPORTED_PATH   (1 << 0)

Definition at line 42 of file parse_supported.h.

Referenced by parse_supported_body(), and send_reply().

#define F_SUPPORTED_TIMER   (1 << 2)

Definition at line 44 of file parse_supported.h.

Referenced by parse_msg_for_sst_info(), and parse_supported_body().

#define get_supported ( p_msg   )     ((p_msg)->supported ? ((struct supported_body*)(p_msg)->supported->parsed)->supported_all : 0)

Definition at line 58 of file parse_supported.h.

Referenced by send_reply().

#define SUPPORTED_100REL_LEN   (sizeof(SUPPORTED_100REL_STR)-1)

Definition at line 51 of file parse_supported.h.

Referenced by parse_supported_body().

#define SUPPORTED_100REL_STR   "100rel"

Definition at line 50 of file parse_supported.h.

#define SUPPORTED_PATH_LEN   (sizeof(SUPPORTED_PATH_STR)-1)

Definition at line 47 of file parse_supported.h.

#define SUPPORTED_PATH_STR   "path"

Definition at line 46 of file parse_supported.h.

Referenced by send_reply().

#define SUPPORTED_TIMER_LEN   (sizeof(SUPPORTED_TIMER_STR)-1)

Definition at line 55 of file parse_supported.h.

Referenced by parse_supported_body().

#define SUPPORTED_TIMER_STR   "timer"

Definition at line 54 of file parse_supported.h.


Function Documentation

static void free_supported ( struct supported_body **  sb  )  [inline, static]

Definition at line 76 of file parse_supported.h.

References pkg_free.

Referenced by clean_hdr_field().

int parse_supported ( struct sip_msg msg  ) 


Generated on Thu May 24 00:00:40 2012 for Kamailio - The Open Source SIP Server by  doxygen 1.5.6