Browse code

core, lib, modules: updated include paths for header files

Daniel-Constantin Mierla authored on 07/12/2016 11:07:22
Showing 1 changed files
... ...
@@ -23,9 +23,9 @@
23 23
 #ifndef _RTPENGINE_FUNCS_H
24 24
 #define _RTPENGINE_FUNCS_H
25 25
 
26
-#include "../../str.h"
27
-#include "../../parser/msg_parser.h"
28
-#include "../../parser/contact/contact.h"
26
+#include "../../core/str.h"
27
+#include "../../core/parser/msg_parser.h"
28
+#include "../../core/parser/contact/contact.h"
29 29
 
30 30
 int extract_body(struct sip_msg * , str *);
31 31
 int check_content_type(struct sip_msg * );
Browse code

core, lib, modules: restructured source code tree

- new folder src/ to hold the source code for main project applications
- main.c is in src/
- all core files are subfolder are in src/core/
- modules are in src/modules/
- libs are in src/lib/
- application Makefiles are in src/
- application binary is built in src/ (src/kamailio)

Daniel-Constantin Mierla authored on 07/12/2016 11:03:51
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,38 @@
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 "../../str.h"
27
+#include "../../parser/msg_parser.h"
28
+#include "../../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