Defines | Enumerations | Functions

parse_privacy.h File Reference

Privacy value parser. More...

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

Go to the source code of this file.

Defines

Enumerations

Functions


Detailed Description

Definition in file parse_privacy.h.


Function Documentation

unsigned int parse_priv_value ( char *  start,
unsigned int  max_len,
unsigned int *  value 
)
Returns:
length of matched privacy value on success or NULL otherwise

Definition at line 45 of file parse_privacy.c.

Referenced by parse_privacy().

Here is the caller graph for this function:

int parse_privacy ( struct sip_msg msg  ) 

After parsing, msg->privacy->parsed contains enum bits of privacy values defined in parse_privacy.h.

Returns:
0 on success and -1 on failure.

Definition at line 156 of file parse_privacy.c.

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

Here is the call graph for this function: