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
... ...
@@ -25,7 +25,7 @@
25 25
 #ifndef _DEBUGGER_API_H_
26 26
 #define _DEBUGGER_API_H_
27 27
 
28
-#include "../../route_struct.h"
28
+#include "../../core/route_struct.h"
29 29
 
30 30
 int dbg_add_breakpoint(struct action *a, int bpon);
31 31
 int dbg_init_bp_list(void);
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,64 @@
1
+/**
2
+ * $Id$
3
+ *
4
+ * Copyright (C) 2010 Daniel-Constantin Mierla (asipto.com)
5
+ *
6
+ * This file is part of Kamailio, a free SIP server.
7
+ *
8
+ * This file is free software; you can redistribute it and/or modify
9
+ * it under the terms of the GNU General Public License as published by
10
+ * the Free Software Foundation; either version 2 of the License, or
11
+ * (at your option) any later version
12
+ *
13
+ * This file is distributed in the hope that it will be useful,
14
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
15
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
+ * GNU General Public License for more details.
17
+ *
18
+ * You should have received a copy of the GNU General Public License
19
+ * along with this program; if not, write to the Free Software
20
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
21
+ *
22
+ */
23
+
24
+		       
25
+#ifndef _DEBUGGER_API_H_
26
+#define _DEBUGGER_API_H_
27
+
28
+#include "../../route_struct.h"
29
+
30
+int dbg_add_breakpoint(struct action *a, int bpon);
31
+int dbg_init_bp_list(void);
32
+int dbg_init_pid_list(void);
33
+int dbg_init_mypid(void);
34
+int dbg_init_rpc(void);
35
+
36
+int dbg_init_mod_levels(int _dbg_mod_hash_size);
37
+int dbg_destroy_mod_levels();
38
+int dbg_set_mod_debug_level(char *mname, int mnlen, int *mlevel);
39
+int dbg_set_mod_debug_facility(char *mname, int mnlen, int *mfacility);
40
+void dbg_enable_mod_levels(void);
41
+void dbg_enable_mod_facilities(void);
42
+
43
+int dbg_init_pvcache(void);
44
+void dbg_enable_log_assign(void);
45
+
46
+/*!
47
+ * \brief Callback function that checks if reset_msgid is set
48
+ *  and modifies msg->id if necessary.
49
+ * \param msg SIP message
50
+ * \param flags unused
51
+ * \param bar unused
52
+ * \return 1 on success, -1 on failure
53
+ */
54
+int dbg_msgid_filter(struct sip_msg *msg, unsigned int flags, void *bar);
55
+
56
+#define DBG_DP_NULL			1
57
+#define DBG_DP_AVP			2
58
+#define DBG_DP_SCRIPTVAR	4
59
+#define DBG_DP_XAVP			8
60
+#define DBG_DP_OTHER		16
61
+#define DBG_DP_ALL			31
62
+
63
+#endif
64
+