Parser :: Body handling. More...

Go to the source code of this file.
Definition in file parse_body.h.
| char* get_body_part | ( | struct sip_msg * | msg, | |
| unsigned short | type, | |||
| unsigned short | subtype, | |||
| int * | len | |||
| ) |
The result can be the whole msg body, or a part of a multipart body.
Returns the pointer within the msg body to the given type/subtype, and sets the length.
The result can be the whole msg body, or a part of a multipart body.
Definition at line 175 of file parse_body.c.
References sip_msg::buf, decode_mime_type(), get_body(), get_boundary_param(), get_multipart_body(), _str::len, sip_msg::len, parse_content_type_hdr(), READ, and search_boundary().

1.7.1