Parser :: Content part. More...
#include <stdio.h>#include <stdlib.h>#include <sys/types.h>#include <unistd.h>#include "../mem/mem.h"#include "../dprint.h"#include "../str.h"#include "../ut.h"#include "parse_content.h"
Go to the source code of this file.
Definition in file parse_content.c.
| int parse_accept_hdr | ( | struct sip_msg * | msg | ) |
parse the body of the Accept header.
Definition at line 495 of file parse_content.c.
References hdr_field::body, decode_mime_type(), _str::len, MAX_MIMES_NR, hdr_field::parsed, and _str::s.

| char* parse_content_length | ( | char * | buffer, | |
| char * | end, | |||
| int * | len | |||
| ) |
Also tries to recognize the type specified by this header (see th above defines). Returns the first chr after the end of the header.
Definition at line 219 of file parse_content.c.
| int parse_content_type_hdr | ( | struct sip_msg * | msg | ) |
Definition at line 388 of file parse_content.c.
References hdr_field::body, decode_mime_type(), get_content_type, _str::len, hdr_field::parsed, and _str::s.
Referenced by get_body_part().


1.7.1