Defines | Functions

parse_ppi.h File Reference

P-Preferred-Identity header parser. More...

#include "../../parser/msg_parser.h"
#include "../../parser/parse_to.h"
Include dependency graph for parse_ppi.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

Functions


Detailed Description

Definition in file parse_ppi.h.


Function Documentation

int parse_ppi_header ( struct sip_msg msg  ) 

Currently only one name-addr / addr-spec is supported in the header and it must contain a sip or sips URI.

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

Definition at line 48 of file parse_ppi.c.

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

Referenced by parse_ppi_uri().

Here is the call graph for this function:

Here is the caller graph for this function: