Functions

parse_allow.c File Reference

Parser :: Allow header. 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


Detailed Description

Definition in file parse_allow.c.


Function Documentation

int parse_allow ( struct sip_msg msg  ) 

Parse all Allow HFs.

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

Definition at line 83 of file parse_allow.c.

References HDR_EOH_F, parse_allow_header(), and hdr_field::parsed.

Referenced by pack_ci().

Here is the call graph for this function:

Here is the caller graph for this function:

int parse_allow_header ( struct hdr_field _hf  ) 
Parameters:
_hf message header field
Returns:
0 on success, -1 on failure.

Definition at line 43 of file parse_allow.c.

References hdr_field::body, parse_methods(), and hdr_field::parsed.

Referenced by parse_allow().

Here is the call graph for this function:

Here is the caller graph for this function: