SST parser. More...
#include "../../parser/msg_parser.h"#include "../../parser/hf.h"

Go to the source code of this file.
Indicate the "refresher=" value of the Session-Expires header.
Definition in file parse_sst.h.
| enum parse_sst_result parse_min_se | ( | struct sip_msg * | msg, | |
| unsigned * | min_se | |||
| ) |
| msg | the sip message to examine | |
| min_se | the place to store the Min-SE value, if provided; note that result is also available in (unsigned)msg->min_se->parsed |
Referenced by parse_msg_for_sst_info(), and sst_check_min().

| enum parse_sst_result parse_session_expires | ( | struct sip_msg * | msg, | |
| struct session_expires * | se | |||
| ) |
Because of time constraints, this function is coded assuming there is NO WHITESPACE in any of the body -- note that the augBNF for the Session-Expires body allows sep whitespace between tokens: delta-seconds SWS ";" SWS "refresher" SWS "=" SWS ( "uac" / "uas" )
Note[1]: it looks like only the frequently-used headers are automatically parsed in parse_headers() (indicated by a parse_<name> function of the form "char* parse_<name>(char *buf, char *end, foo*) and a struct foo with a member called "error").
| msg | the sip message to examine | |
| se | the place to store session-expires information into, if provided; note that result is also available in *((struct session_expires *)msg->session_expires->parsed) |
Definition at line 186 of file parse_sst.c.
References hdr_field::parsed.
Referenced by parse_msg_for_sst_info(), and sst_check_min().

1.7.1