Functions

parse_body.h File Reference

Parser :: Body handling. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions


Detailed Description

Definition in file parse_body.h.


Function Documentation

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().

Here is the call graph for this function: