Functions

parse_diversion.c File Reference

Parser :: Diversion header. More...

#include <stdlib.h>
#include <string.h>
#include "../dprint.h"
#include "../ut.h"
#include "../mem/mem.h"
#include "parse_from.h"
#include "parse_to.h"
#include "msg_parser.h"
Include dependency graph for parse_diversion.c:

Go to the source code of this file.

Functions


Detailed Description

Definition in file parse_diversion.c.


Function Documentation

int parse_diversion_header ( struct sip_msg msg  ) 

Diversion header field parser.

params: msg : sip msg returns 0 on success, -1 on failure.

Definition at line 46 of file parse_diversion.c.

References hdr_field::body, _str::len, parse_to(), hdr_field::parsed, and _str::s.

Referenced by get_diversion_param().

Here is the call graph for this function:

Here is the caller graph for this function: