1 /*
2  * Copyright (C) 2001-2003 FhG Fokus
3  * Copyright (C) 2014-2015 Sipwise GmbH, http://www.sipwise.com
4  *
5  * This file is part of Kamailio, a free SIP server.
6  *
7  * Kamailio is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation; either version 2 of the License, or
10  * (at your option) any later version
11  *
12  * Kamailio is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program; if not, write to the Free Software
19  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
20  */
21 
22 
23 #ifndef _RTPENGINE_FUNCS_H
24 #define _RTPENGINE_FUNCS_H
25 
26 #include "../../core/str.h"
27 #include "../../core/parser/msg_parser.h"
28 #include "../../core/parser/contact/contact.h"
29 
30 int extract_body(struct sip_msg * , str *);
31 int check_content_type(struct sip_msg * );
32 int get_callid(struct sip_msg *, str *);
33 int get_to_tag(struct sip_msg *, str *);
34 int get_from_tag(struct sip_msg *, str *);
35 int get_contact_uri(struct sip_msg *, struct sip_uri *, contact_t **);
36 int get_via_branch(struct sip_msg *, int, str *);
37 
38 #endif
39