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
deleted file mode 100644
... ...
@@ -1,42 +0,0 @@
1
-/* 
2
- * Copyright (C) 2008 iptelorg GmbH
3
- *
4
- * Permission to use, copy, modify, and distribute this software for any
5
- * purpose with or without fee is hereby granted, provided that the above
6
- * copyright notice and this permission notice appear in all copies.
7
- *
8
- * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9
- * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10
- * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
11
- * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12
- * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
13
- * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
14
- * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
15
- */
16
-/**
17
- * @file 
18
- * @brief  ser/kamailio/openser compatibility macros & vars.
19
- */
20
-/* 
21
- * History:
22
- * --------
23
- *  2008-11-29  initial version (andrei)
24
- */
25
-
26
-
27
-#ifndef _sr_compat_h
28
-#define _sr_compat_h
29
-
30
-/** max compat mode: support as many features as possible from all xSERs */
31
-#define SR_COMPAT_MAX 0
32
-/** maximum compatibility mode with ser */
33
-#define SR_COMPAT_SER 1
34
-/** maximum compatibility mode with kamailio/openser */
35
-#define SR_COMPAT_KAMAILIO 2
36
-#define SR_COMPAT_OPENSER 2
37
-
38
-
39
-extern int sr_compat;
40
-extern int sr_cfg_compat;
41
-
42
-#endif /* _sr_compat_h */
Browse code

core: Modify doxygen, remove history, remove SVN IDs, change "ser" and "sip-router" to "KAMAILIO"

Olle E. Johansson authored on 16/01/2015 16:38:46
Showing 1 changed files
... ...
@@ -1,6 +1,4 @@
1 1
 /* 
2
- * $Id$
3
- * 
4 2
  * Copyright (C) 2008 iptelorg GmbH
5 3
  *
6 4
  * Permission to use, copy, modify, and distribute this software for any
Browse code

script: ser, kamailio and max compat mode support

- script mode can be switched between ser compatible, kamailio
compatible and max compatibility (compatible with both as much as
possible), using #!SER, #!KAMAILIO or #!ALL on the first line
(#!OPENSER and #!MAXCOMPAT are also allowed)

Andrei Pelinescu-Onciul authored on 29/11/2008 16:12:16
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,44 @@
1
+/* 
2
+ * $Id$
3
+ * 
4
+ * Copyright (C) 2008 iptelorg GmbH
5
+ *
6
+ * Permission to use, copy, modify, and distribute this software for any
7
+ * purpose with or without fee is hereby granted, provided that the above
8
+ * copyright notice and this permission notice appear in all copies.
9
+ *
10
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
11
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
12
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
13
+ * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
14
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
15
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
16
+ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17
+ */
18
+/**
19
+ * @file 
20
+ * @brief  ser/kamailio/openser compatibility macros & vars.
21
+ */
22
+/* 
23
+ * History:
24
+ * --------
25
+ *  2008-11-29  initial version (andrei)
26
+ */
27
+
28
+
29
+#ifndef _sr_compat_h
30
+#define _sr_compat_h
31
+
32
+/** max compat mode: support as many features as possible from all xSERs */
33
+#define SR_COMPAT_MAX 0
34
+/** maximum compatibility mode with ser */
35
+#define SR_COMPAT_SER 1
36
+/** maximum compatibility mode with kamailio/openser */
37
+#define SR_COMPAT_KAMAILIO 2
38
+#define SR_COMPAT_OPENSER 2
39
+
40
+
41
+extern int sr_compat;
42
+extern int sr_cfg_compat;
43
+
44
+#endif /* _sr_compat_h */