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,41 +0,0 @@
1
-/* 
2
- * Fast 32-bit Header Field Name Parser
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 :: Fast 32-bit Header Field Name Parser
25
- *
26
- * \ingroup parser
27
- */
28
-
29
-#ifndef PARSE_HNAME2_H
30
-#define PARSE_HNAME2_H
31
-
32
-#include "hf.h"
33
-
34
-
35
-/** Fast 32-bit header field name parser.
36
- * @file
37
- */
38
-char* parse_hname2(char* const begin, const char* const end, struct hdr_field* const hdr);
39
-char* parse_hname2_short(char* const begin, const char* const end, struct hdr_field* const hdr);
40
-
41
-#endif /* PARSE_HNAME2_H */
Browse code

parser: fixed the name for the new parse_hname2_short() function

Daniel-Constantin Mierla authored on 02/09/2015 11:29:09
Showing 1 changed files
... ...
@@ -36,6 +36,6 @@
36 36
  * @file
37 37
  */
38 38
 char* parse_hname2(char* const begin, const char* const end, struct hdr_field* const hdr);
39
-char* parse_hname2_safe(char* const begin, const char* const end, struct hdr_field* const hdr);
39
+char* parse_hname2_short(char* const begin, const char* const end, struct hdr_field* const hdr);
40 40
 
41 41
 #endif /* PARSE_HNAME2_H */
Browse code

parser: safer function to parse header name stored in short buffer

Daniel-Constantin Mierla authored on 02/09/2015 11:07:45
Showing 1 changed files
... ...
@@ -36,5 +36,6 @@
36 36
  * @file
37 37
  */
38 38
 char* parse_hname2(char* const begin, const char* const end, struct hdr_field* const hdr);
39
+char* parse_hname2_safe(char* const begin, const char* const end, struct hdr_field* const hdr);
39 40
 
40 41
 #endif /* PARSE_HNAME2_H */
Browse code

core parser - remove svn ID, remove history, change "ser" => "Kamailio"

Olle E. Johansson authored on 18/01/2015 19:36:18
Showing 1 changed files
... ...
@@ -3,14 +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
- * ser is distributed in the hope that it will be useful,
13
+ * Kamailio is distributed in the hope that it will be useful,
14 14
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 15
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 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
... ...
@@ -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
 /*! \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
  * Fast 32-bit Header Field Name Parser
5 3
  *
6 4
  * Copyright (C) 2001-2003 FhG Fokus
Browse code

parser: make get_hdr_field(..) and necessary called functions const-correct

Henning Westerholt authored on 05/07/2012 20:35:22
Showing 1 changed files
... ...
@@ -37,6 +37,6 @@
37 37
 /** Fast 32-bit header field name parser.
38 38
  * @file
39 39
  */
40
-char* parse_hname2(char* begin, char* end, struct hdr_field* hdr);
40
+char* parse_hname2(char* const begin, const char* const end, struct hdr_field* const hdr);
41 41
 
42 42
 #endif /* PARSE_HNAME2_H */
Browse code

core: support for parsing the Reason header

Andrei Pelinescu-Onciul authored on 18/02/2010 20:20:07
Showing 1 changed files
... ...
@@ -34,8 +34,8 @@
34 34
 #include "hf.h"
35 35
 
36 36
 
37
-/*! \brief
38
- * Fast 32-bit header field name parser
37
+/** Fast 32-bit header field name parser.
38
+ * @file
39 39
  */
40 40
 char* parse_hname2(char* begin, char* end, struct hdr_field* hdr);
41 41
 
Browse code

Doxygen changes

oej authored on 25/10/2009 18:30:31
Showing 1 changed files
... ...
@@ -12,11 +12,6 @@
12 12
  * the Free Software Foundation; either version 2 of the License, or
13 13
  * (at your option) any later version
14 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 15
  * ser is distributed in the hope that it will be useful,
21 16
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
22 17
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
... ...
@@ -27,6 +22,11 @@
27 22
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
28 23
  */
29 24
 
25
+/*! \file
26
+ * \brief Parser :: Fast 32-bit Header Field Name Parser
27
+ *
28
+ * \ingroup parser
29
+ */
30 30
 
31 31
 #ifndef PARSE_HNAME2_H
32 32
 #define PARSE_HNAME2_H
... ...
@@ -34,7 +34,7 @@
34 34
 #include "hf.h"
35 35
 
36 36
 
37
-/*
37
+/*! \brief
38 38
  * Fast 32-bit header field name parser
39 39
  */
40 40
 char* parse_hname2(char* begin, char* end, struct hdr_field* hdr);
Browse code

- Spelling checked

Jan Janak authored on 24/08/2004 09:01:24
Showing 1 changed files
... ...
@@ -3,7 +3,7 @@
3 3
  *
4 4
  * Fast 32-bit Header Field Name Parser
5 5
  *
6
- * Copyright (C) 2001-2003 Fhg Fokus
6
+ * Copyright (C) 2001-2003 FhG Fokus
7 7
  *
8 8
  * This file is part of ser, a free SIP server.
9 9
  *
Browse code

Faster parse_hname function, hash table removed, several minor optimizations

Jan Janak authored on 18/11/2002 19:08:16
Showing 1 changed files
... ...
@@ -1,5 +1,7 @@
1
-/*
2
- * $Id$
1
+/* 
2
+ * $Id$ 
3
+ *
4
+ * Fast 32-bit Header Field Name Parser
3 5
  *
4 6
  * Copyright (C) 2001-2003 Fhg Fokus
5 7
  *
... ...
@@ -37,11 +39,4 @@
37 39
  */
38 40
 char* parse_hname2(char* begin, char* end, struct hdr_field* hdr);
39 41
 
40
-
41
-/*
42
- * Initialize hash table
43
- */
44
-void init_hfname_parser(void);
45
-
46
-
47 42
 #endif /* PARSE_HNAME2_H */
Browse code

GPLization banner introduced to *.[hc] files

Jiri Kuthan authored on 19/09/2002 12:23:52
Showing 1 changed files
... ...
@@ -1,7 +1,31 @@
1 1
 /*
2 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
3 26
  */
4 27
 
28
+
5 29
 #ifndef PARSE_HNAME2_H
6 30
 #define PARSE_HNAME2_H
7 31
 
Browse code

*** empty log message ***

Jan Janak authored on 12/08/2002 12:16:46
Showing 1 changed files
... ...
@@ -20,4 +20,4 @@ char* parse_hname2(char* begin, char* end, struct hdr_field* hdr);
20 20
 void init_hfname_parser(void);
21 21
 
22 22
 
23
-#endif
23
+#endif /* PARSE_HNAME2_H */
Browse code

init_htable changed to more descriptive init_hfname_parser

Jan Janak authored on 30/07/2002 16:31:33
Showing 1 changed files
... ...
@@ -17,7 +17,7 @@ char* parse_hname2(char* begin, char* end, struct hdr_field* hdr);
17 17
 /*
18 18
  * Initialize hash table
19 19
  */
20
-void init_htable(void);
20
+void init_hfname_parser(void);
21 21
 
22 22
 
23 23
 #endif
Browse code

New header field name parser

Jan Janak authored on 25/07/2002 12:13:42
Showing 1 changed files
... ...
@@ -9,7 +9,7 @@
9 9
 
10 10
 
11 11
 /*
12
- * Yet another parse_hname - Ultra Fast version :-)
12
+ * Fast 32-bit header field name parser
13 13
  */
14 14
 char* parse_hname2(char* begin, char* end, struct hdr_field* hdr);
15 15
 
Browse code

parser directory cleanup

Jan Janak authored on 08/07/2002 17:14:39
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,23 @@
1
+/*
2
+ * $Id$
3
+ */
4
+
5
+#ifndef PARSE_HNAME2_H
6
+#define PARSE_HNAME2_H
7
+
8
+#include "hf.h"
9
+
10
+
11
+/*
12
+ * Yet another parse_hname - Ultra Fast version :-)
13
+ */
14
+char* parse_hname2(char* begin, char* end, struct hdr_field* hdr);
15
+
16
+
17
+/*
18
+ * Initialize hash table
19
+ */
20
+void init_htable(void);
21
+
22
+
23
+#endif