#include "../mem/mem.h"#include "msg_parser.h"


Go to the source code of this file.
Data Structures | |
| struct | allow_body |
Defines | |
| #define | get_allow_methods(p_msg) (((struct allow_body*)(p_msg)->allow->parsed)->allow_all) |
Functions | |
| static void | free_allow (struct allow_body **ab) |
| int | parse_allow (struct sip_msg *msg) |
| This method is used to parse all Allow HF body. | |
| #define get_allow_methods | ( | p_msg | ) | (((struct allow_body*)(p_msg)->allow->parsed)->allow_all) |
casting macro for accessing Allow body
Definition at line 37 of file parse_allow.h.
Referenced by check_message_support(), and pack_ci().
| static void free_allow | ( | struct allow_body ** | ab | ) | [inline, static] |
| int parse_allow | ( | struct sip_msg * | msg | ) |
This method is used to parse all Allow HF body.
Parse all Allow HFs
| msg | sip msg |
Definition at line 47 of file parse_allow.c.
References allow_body::allow, sip_msg::allow, allow, allow_body::allow_all, hdr_field::body, HDR_EOH_F, LM_ERR, parse_headers(), parse_methods(), hdr_field::parsed, pkg_free, pkg_malloc, and hdr_field::sibling.
Referenced by check_message_support(), and pack_ci().
1.5.6