Privacy value parser. More...
#include <stdlib.h>#include <string.h>#include "../../dprint.h"#include "../../trim.h"#include "parse_privacy.h"#include "../../parser/msg_parser.h"
Go to the source code of this file.
Definition in file parse_privacy.c.
| unsigned int parse_priv_value | ( | char * | start, | |
| unsigned int | max_len, | |||
| unsigned int * | value | |||
| ) |
Definition at line 45 of file parse_privacy.c.
Referenced by parse_privacy().

| int parse_privacy | ( | struct sip_msg * | msg | ) |
After parsing, msg->privacy->parsed contains enum bits of privacy values defined in parse_privacy.h.
Definition at line 156 of file parse_privacy.c.
References hdr_field::body, _str::len, parse_priv_value(), hdr_field::parsed, and _str::s.

1.7.1