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,76 +0,0 @@
1
-/* 
2
- * Subject Header Field Name Parsing Macros
3
- *
4
- * Copyright (C) 2001-2003 FhG Fokus
5
- *
6
- * This file is part of Kamailio, a free SIP server.
7
- *
8
- * Kamailio 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
- * Kamailio 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
-/*! \file 
24
- * \brief Parser :: Subject Header Field Name Parsing Macros
25
- *
26
- * \ingroup parser
27
- */
28
-
29
-
30
-#ifndef CASE_SUBS_H
31
-#define CASE_SUBS_H
32
-
33
-#define te_CASE                         \
34
-        if (LOWER_BYTE(*p) == 't') { \
35
-			p++;                   \
36
-            if (LOWER_BYTE(*p) == 'e') { \
37
-				p++;               \
38
-				hdr->type = HDR_SUBSCRIPTION_STATE_T;    \
39
-		        goto dc_end;       \
40
-			}                      \
41
-        }
42
-
43
-#define _sta_CASE                         \
44
-        switch(LOWER_DWORD(val)) { \
45
-        case __sta_:               \
46
-	        p += 4;            \
47
-			te_CASE;         \
48
-	        goto other;        \
49
-        }
50
-
51
-#define cription_CASE                         \
52
-        switch(LOWER_DWORD(val)) { \
53
-        case _tion_:               \
54
-	        p += 4;            \
55
-	        val = READ(p);     \
56
-			_sta_CASE;         \
57
-	        goto other;        \
58
-        }
59
-
60
-#define crip_CASE                         \
61
-        switch(LOWER_DWORD(val)) { \
62
-        case _crip_:               \
63
-	        p += 4;            \
64
-	        val = READ(p);     \
65
-			cription_CASE;     \
66
-	        goto other;        \
67
-        }
68
-
69
-#define subs_CASE        \
70
-        p += 4;          \
71
-        val = READ(p);   \
72
-        crip_CASE;        \
73
-        goto other;
74
-
75
-
76
-#endif /* CASE_SUBS_H */
Browse code

parser Updates to header files, remove history etc

Olle E. Johansson authored on 16/01/2015 16:51:51
Showing 1 changed files
... ...
@@ -3,19 +3,14 @@
3 3
  *
4 4
  * Copyright (C) 2001-2003 FhG Fokus
5 5
  *
6
- * This file is part of ser, a free SIP server.
6
+ * This file is part of Kamailio, a free SIP server.
7 7
  *
8
- * ser is free software; you can redistribute it and/or modify
8
+ * Kamailio is free software; you can redistribute it and/or modify
9 9
  * it under the terms of the GNU General Public License as published by
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
- * ser is distributed in the hope that it will be useful,
13
+ * Kamailio 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
21 16
  * GNU General Public License for more details.
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
... ...
@@ -22,7 +22,7 @@
22 22
  *
23 23
  * You should have received a copy of the GNU General Public License 
24 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
25
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
26 26
  */
27 27
 
28 28
 /*! \file 
Browse code

parser: remove old $Id$ docs header from subversion times, not usable anymore

Henning Westerholt authored on 05/07/2012 21:39:51
Showing 1 changed files
... ...
@@ -1,6 +1,4 @@
1 1
 /* 
2
- * $Id$ 
3
- *
4 2
  * Subject Header Field Name Parsing Macros
5 3
  *
6 4
  * Copyright (C) 2001-2003 FhG Fokus
Browse code

Doxygen for the parser directory

There's still a lot of files untouched. Feel free to jump in and help!

oej authored on 25/10/2009 15:58:41
Showing 1 changed files
... ...
@@ -27,6 +27,12 @@
27 27
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
28 28
  */
29 29
 
30
+/*! \file 
31
+ * \brief Parser :: Subject Header Field Name Parsing Macros
32
+ *
33
+ * \ingroup parser
34
+ */
35
+
30 36
 
31 37
 #ifndef CASE_SUBS_H
32 38
 #define CASE_SUBS_H
Browse code

added Subscription-State header field parsing (only needed parts)

Vaclav Kubart authored on 21/06/2006 13:33:01
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,77 @@
1
+/* 
2
+ * $Id$ 
3
+ *
4
+ * Subject Header Field Name Parsing Macros
5
+ *
6
+ * Copyright (C) 2001-2003 FhG Fokus
7
+ *
8
+ * This file is part of ser, a free SIP server.
9
+ *
10
+ * ser is free software; you can redistribute it and/or modify
11
+ * it under the terms of the GNU General Public License as published by
12
+ * the Free Software Foundation; either version 2 of the License, or
13
+ * (at your option) any later version
14
+ *
15
+ * For a license to use the ser software under conditions
16
+ * other than those described here, or to purchase support for this
17
+ * software, please contact iptel.org by e-mail at the following addresses:
18
+ *    info@iptel.org
19
+ *
20
+ * ser is distributed in the hope that it will be useful,
21
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
22
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
23
+ * GNU General Public License for more details.
24
+ *
25
+ * You should have received a copy of the GNU General Public License 
26
+ * along with this program; if not, write to the Free Software 
27
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
28
+ */
29
+
30
+
31
+#ifndef CASE_SUBS_H
32
+#define CASE_SUBS_H
33
+
34
+#define te_CASE                         \
35
+        if (LOWER_BYTE(*p) == 't') { \
36
+			p++;                   \
37
+            if (LOWER_BYTE(*p) == 'e') { \
38
+				p++;               \
39
+				hdr->type = HDR_SUBSCRIPTION_STATE_T;    \
40
+		        goto dc_end;       \
41
+			}                      \
42
+        }
43
+
44
+#define _sta_CASE                         \
45
+        switch(LOWER_DWORD(val)) { \
46
+        case __sta_:               \
47
+	        p += 4;            \
48
+			te_CASE;         \
49
+	        goto other;        \
50
+        }
51
+
52
+#define cription_CASE                         \
53
+        switch(LOWER_DWORD(val)) { \
54
+        case _tion_:               \
55
+	        p += 4;            \
56
+	        val = READ(p);     \
57
+			_sta_CASE;         \
58
+	        goto other;        \
59
+        }
60
+
61
+#define crip_CASE                         \
62
+        switch(LOWER_DWORD(val)) { \
63
+        case _crip_:               \
64
+	        p += 4;            \
65
+	        val = READ(p);     \
66
+			cription_CASE;     \
67
+	        goto other;        \
68
+        }
69
+
70
+#define subs_CASE        \
71
+        p += 4;          \
72
+        val = READ(p);   \
73
+        crip_CASE;        \
74
+        goto other;
75
+
76
+
77
+#endif /* CASE_SUBS_H */