parse_sipifmatch.c File Reference

Parse Sipifmatch HF body. More...

#include <string.h>
#include "parse_sipifmatch.h"
#include "../dprint.h"
#include "parse_def.h"
#include "../mem/mem.h"
#include "../trim.h"

Include dependency graph for parse_sipifmatch.c:

Go to the source code of this file.

Functions

int etag_parser (char *_s, int _l, str *_e)
void free_sipifmatch (str **_e)
int parse_sipifmatch (struct hdr_field *_h)
static char * skip_token (char *_b, int _l)


Detailed Description

Parse Sipifmatch HF body.

Definition in file parse_sipifmatch.c.


Function Documentation

int etag_parser ( char *  _s,
int  _l,
str _e 
)

Definition at line 57 of file parse_sipifmatch.c.

References _str::len, LM_ERR, _str::s, skip_token(), and trim_leading().

Referenced by parse_sipifmatch().

void free_sipifmatch ( str **  _e  ) 

Release memory

Definition at line 108 of file parse_sipifmatch.c.

References pkg_free.

int parse_sipifmatch ( struct hdr_field _h  ) 

Parse Sipifmatch HF body

Definition at line 79 of file parse_sipifmatch.c.

References hdr_field::body, etag_parser(), _str::len, LM_DBG, LM_ERR, hdr_field::parsed, pkg_free, pkg_malloc, and _str::s.

static char* skip_token ( char *  _b,
int  _l 
) [inline, static]

Definition at line 37 of file parse_sipifmatch.c.


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