parse_allow.c File Reference

SIP message parser. More...

#include <stdlib.h>
#include <string.h>
#include "../dprint.h"
#include "../mem/mem.h"
#include "parse_allow.h"
#include "parse_methods.h"
#include "msg_parser.h"

Include dependency graph for parse_allow.c:

Go to the source code of this file.

Functions

int parse_allow (struct sip_msg *msg)
 This method is used to parse all Allow HF body.


Detailed Description

SIP message parser.

Definition in file parse_allow.c.


Function Documentation

int parse_allow ( struct sip_msg msg  ) 

This method is used to parse all Allow HF body.

Parameters:
msg sip msg
Returns:
0 on success,-1 on failure.

Definition at line 47 of file parse_allow.c.

References allow_body::allow, sip_msg::allow, allow, allow_body::allow_all, hdr_field::body, HDR_EOH_F, LM_ERR, parse_headers(), parse_methods(), hdr_field::parsed, pkg_free, pkg_malloc, and hdr_field::sibling.

Referenced by check_message_support(), and pack_ci().


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