parse_supported.c File Reference

Supported parser. More...

#include "../mem/mem.h"
#include "keys.h"
#include "parse_supported.h"

Include dependency graph for parse_supported.c:

Go to the source code of this file.

Defines

#define IS_DELIM(c)   (*(c) == ' ' || *(c) == '\t' || *(c) == '\r' || *(c) == '\n' || *(c) == ',')
#define LOWER_BYTE(b)   ((b) | 0x20)
#define LOWER_DWORD(d)   ((d) | 0x20202020)
#define READ(val)   (*(val + 0) + (*(val + 1) << 8) + (*(val + 2) << 16) + (*(val + 3) << 24))

Functions

int parse_supported (struct sip_msg *msg)
static int parse_supported_body (str *body, unsigned int *sup)


Detailed Description

Supported parser.

Definition in file parse_supported.c.


Define Documentation

#define IS_DELIM (  )     (*(c) == ' ' || *(c) == '\t' || *(c) == '\r' || *(c) == '\n' || *(c) == ',')

Definition at line 33 of file parse_supported.c.

Referenced by parse_supported_body().

#define LOWER_BYTE (  )     ((b) | 0x20)

Definition at line 36 of file parse_supported.c.

#define LOWER_DWORD (  )     ((d) | 0x20202020)

Definition at line 37 of file parse_supported.c.

#define READ ( val   )     (*(val + 0) + (*(val + 1) << 8) + (*(val + 2) << 16) + (*(val + 3) << 24))

Definition at line 38 of file parse_supported.c.


Function Documentation

int parse_supported ( struct sip_msg msg  ) 

static int parse_supported_body ( str body,
unsigned int *  sup 
) [inline, static]


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