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,39 +0,0 @@
1
-/*
2
- * Copyright (C) 2001-2003 FhG Fokus
3
- *
4
- * This file is part of Kamailio, a free SIP server.
5
- *
6
- * Kamailio is free software; you can redistribute it and/or modify
7
- * it under the terms of the GNU General Public License as published by
8
- * the Free Software Foundation; either version 2 of the License, or
9
- * (at your option) any later version
10
- *
11
- * Kamailio is distributed in the hope that it will be useful,
12
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
- * GNU General Public License for more details.
15
- *
16
- * You should have received a copy of the GNU General Public License 
17
- * along with this program; if not, write to the Free Software 
18
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
19
- */
20
-/*!
21
- * \file
22
- * \brief Kamailio core :: compatibility defs for emergency roll-back if things do not work 
23
- *      
24
- * \ingroup core 
25
- * Module: \ref core                    
26
- *  
27
- * if that happens:
28
- * 	- a) define PRESERVE_ZT (affects most of parser)
29
- * 	- b) define DONT_REMOVE_ZT (affects first line)
30
- * 	- c) define SCRATCH
31
- * 	- d) undefine REMOVE_ALL_ZT (affects via)
32
- */
33
-
34
-
35
-#ifndef _COMP_DEFS_H
36
-#define _COMP_DEFS_H
37
-
38
-
39
-#endif
Browse code

core : Update include files - delete IDs, update doxygen, delete history

Olle E. Johansson authored on 03/01/2015 10:55:48
Showing 1 changed files
... ...
@@ -1,16 +1,14 @@
1 1
 /*
2
- * $Id$
3
- *
4 2
  * Copyright (C) 2001-2003 FhG Fokus
5 3
  *
6
- * This file is part of ser, a free SIP server.
4
+ * This file is part of Kamailio, a free SIP server.
7 5
  *
8
- * ser is free software; you can redistribute it and/or modify
6
+ * Kamailio is free software; you can redistribute it and/or modify
9 7
  * it under the terms of the GNU General Public License as published by
10 8
  * the Free Software Foundation; either version 2 of the License, or
11 9
  * (at your option) any later version
12 10
  *
13
- * ser is distributed in the hope that it will be useful,
11
+ * Kamailio is distributed in the hope that it will be useful,
14 12
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 13
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 14
  * GNU General Public License for more details.
... ...
@@ -19,8 +17,13 @@
19 17
  * along with this program; if not, write to the Free Software 
20 18
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
21 19
  */
22
-
23
-/*! \brief compatibility defs for emergency roll-back if things do not work ;
20
+/*!
21
+ * \file
22
+ * \brief Kamailio core :: compatibility defs for emergency roll-back if things do not work 
23
+ *      
24
+ * \ingroup core 
25
+ * Module: \ref core                    
26
+ *  
24 27
  * if that happens:
25 28
  * 	- a) define PRESERVE_ZT (affects most of parser)
26 29
  * 	- b) define DONT_REMOVE_ZT (affects first line)
Browse code

all: updated FSF address in GPL text

Anthony Messina authored on 04/07/2014 09:36:37 • Daniel-Constantin Mierla committed on 04/07/2014 09:37:36
Showing 1 changed files
... ...
@@ -17,7 +17,7 @@
17 17
  *
18 18
  * You should have received a copy of the GNU General Public License 
19 19
  * along with this program; if not, write to the Free Software 
20
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
20
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
21 21
  */
22 22
 
23 23
 /*! \brief compatibility defs for emergency roll-back if things do not work ;
Browse code

Doxygen updates

oej authored on 25/10/2009 19:11:28
Showing 1 changed files
... ...
@@ -10,11 +10,6 @@
10 10
  * the Free Software Foundation; either version 2 of the License, or
11 11
  * (at your option) any later version
12 12
  *
13
- * For a license to use the ser software under conditions
14
- * other than those described here, or to purchase support for this
15
- * software, please contact iptel.org by e-mail at the following addresses:
16
- *    info@iptel.org
17
- *
18 13
  * ser is distributed in the hope that it will be useful,
19 14
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 15
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
... ...
@@ -25,12 +20,12 @@
25 20
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
26 21
  */
27 22
 
28
-/* compatibility defs for emergency roll-back if things do not work ;
23
+/*! \brief compatibility defs for emergency roll-back if things do not work ;
29 24
  * if that happens:
30
- * a) define PRESERVE_ZT (affects most of parser)
31
- * b) define DONT_REMOVE_ZT (affects first line)
32
- * c) define SCRATCH
33
- * d) undefine REMOVE_ALL_ZT (affects via)
25
+ * 	- a) define PRESERVE_ZT (affects most of parser)
26
+ * 	- b) define DONT_REMOVE_ZT (affects first line)
27
+ * 	- c) define SCRATCH
28
+ * 	- d) undefine REMOVE_ALL_ZT (affects via)
34 29
  */
35 30
 
36 31
 
Browse code

- Spelling checked - READMEs updated

Jan Janak authored on 24/08/2004 08:45:09
Showing 1 changed files
... ...
@@ -1,7 +1,7 @@
1 1
 /*
2 2
  * $Id$
3 3
  *
4
- * Copyright (C) 2001-2003 Fhg Fokus
4
+ * Copyright (C) 2001-2003 FhG Fokus
5 5
  *
6 6
  * This file is part of ser, a free SIP server.
7 7
  *
Browse code

elderly (un)defs junked (hopefuly the right ones)

Jiri Kuthan authored on 28/02/2003 14:12:25
Showing 1 changed files
... ...
@@ -37,35 +37,5 @@
37 37
 #ifndef _COMP_DEFS_H
38 38
 #define _COMP_DEFS_H
39 39
 
40
-/* preserve "old" parser which delimited header fields by zeros,
41
- * and included deliminitors in body (which was the only way to
42
- * learn length of the whole header field 
43
- */
44
-#undef PRESERVE_ZT
45
-
46
-/* go one step further and remove ZT from first line too */
47
-#undef DONT_REMOVE_ZT
48
-
49
-/* make it all -- move ZT away (Via) */
50
-#define REMOVE_ALL_ZT
51
-
52
-/* don't use scratchpad  anymore */
53
-#undef SCRATCH
54
-
55
-
56
-/* ------------------------------------------------------ */
57
-/* don't touch this -- that's helper macros depending on
58
- * the backwards compatibility macros above */
59
-#ifdef PRESERVE_ZT
60
-#	define SET_ZT(_ch) (_ch)='\0'
61
-#else
62
-#	define SET_ZT(_ch)
63
-#endif
64
-
65
-#ifdef REMOVE_ALL_ZT
66
-#	define VIA_ZT(_ch)
67
-#else
68
-#	define VIA_ZT(ch) (_ch)='\0'
69
-#endif
70 40
 
71 41
 #endif
Browse code

scratchpad removed, textops changed to skip the first line

Jiri Kuthan authored on 29/01/2003 19:24:10
Showing 1 changed files
... ...
@@ -25,7 +25,13 @@
25 25
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
26 26
  */
27 27
 
28
-/* compatibility defs for emergency roll-back if things do not work */
28
+/* compatibility defs for emergency roll-back if things do not work ;
29
+ * if that happens:
30
+ * a) define PRESERVE_ZT (affects most of parser)
31
+ * b) define DONT_REMOVE_ZT (affects first line)
32
+ * c) define SCRATCH
33
+ * d) undefine REMOVE_ALL_ZT (affects via)
34
+ */
29 35
 
30 36
 
31 37
 #ifndef _COMP_DEFS_H
... ...
@@ -37,6 +43,15 @@
37 43
  */
38 44
 #undef PRESERVE_ZT
39 45
 
46
+/* go one step further and remove ZT from first line too */
47
+#undef DONT_REMOVE_ZT
48
+
49
+/* make it all -- move ZT away (Via) */
50
+#define REMOVE_ALL_ZT
51
+
52
+/* don't use scratchpad  anymore */
53
+#undef SCRATCH
54
+
40 55
 
41 56
 /* ------------------------------------------------------ */
42 57
 /* don't touch this -- that's helper macros depending on
... ...
@@ -47,4 +62,10 @@
47 62
 #	define SET_ZT(_ch)
48 63
 #endif
49 64
 
65
+#ifdef REMOVE_ALL_ZT
66
+#	define VIA_ZT(_ch)
67
+#else
68
+#	define VIA_ZT(ch) (_ch)='\0'
69
+#endif
70
+
50 71
 #endif
Browse code

backwards-compatibility defs file introduced

Jiri Kuthan authored on 27/01/2003 21:17:41
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,50 @@
1
+/*
2
+ * $Id$
3
+ *
4
+ * Copyright (C) 2001-2003 Fhg Fokus
5
+ *
6
+ * This file is part of ser, a free SIP server.
7
+ *
8
+ * ser 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
+ * For a license to use the ser software under conditions
14
+ * other than those described here, or to purchase support for this
15
+ * software, please contact iptel.org by e-mail at the following addresses:
16
+ *    info@iptel.org
17
+ *
18
+ * ser is distributed in the hope that it will be useful,
19
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
20
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21
+ * GNU General Public License for more details.
22
+ *
23
+ * You should have received a copy of the GNU General Public License 
24
+ * along with this program; if not, write to the Free Software 
25
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
26
+ */
27
+
28
+/* compatibility defs for emergency roll-back if things do not work */
29
+
30
+
31
+#ifndef _COMP_DEFS_H
32
+#define _COMP_DEFS_H
33
+
34
+/* preserve "old" parser which delimited header fields by zeros,
35
+ * and included deliminitors in body (which was the only way to
36
+ * learn length of the whole header field 
37
+ */
38
+#undef PRESERVE_ZT
39
+
40
+
41
+/* ------------------------------------------------------ */
42
+/* don't touch this -- that's helper macros depending on
43
+ * the backwards compatibility macros above */
44
+#ifdef PRESERVE_ZT
45
+#	define SET_ZT(_ch) (_ch)='\0'
46
+#else
47
+#	define SET_ZT(_ch)
48
+#endif
49
+
50
+#endif