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,58 +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
-
22
-/*! \file
23
- * \brief Parser :: Parse name-addr part
24
- *
25
- * \ingroup parser
26
- */
27
-
28
-#ifndef PARSE_NAMEADDR_H
29
-#define PARSE_NAMEADDR_H
30
-
31
-#include <stdio.h>
32
-#include "../str.h"
33
-
34
-/*! \brief
35
- * Name-addr structure, see RFC3261 for more details
36
- */
37
-typedef struct name_addr {
38
-	str name;   /*!< Display name part */
39
-	str uri;    /*!< Uri part without surrounding <> */
40
-	int len;    /*!< Total length of the field (including all
41
-		    * whitechars present in the parsed message */
42
-} name_addr_t;
43
-
44
-
45
-/*! \brief
46
- * Parse name-addr part, the given string can be longer,
47
- * parsing will stop when closing > is found
48
- */
49
-int parse_nameaddr(str* _s, name_addr_t* _a);
50
-
51
-
52
-/*! \brief
53
- * Print a name-addr structure, just for debugging
54
- */
55
-void print_nameaddr(FILE* _o, name_addr_t* _a);
56
-
57
-
58
-#endif /* PARSE_NAMEADDR_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
... ...
@@ -1,14 +1,14 @@
1 1
 /* 
2 2
  * Copyright (C) 2001-2003 FhG Fokus
3 3
  *
4
- * This file is part of ser, a free SIP server.
4
+ * This file is part of Kamailio, a free SIP server.
5 5
  *
6
- * ser is free software; you can redistribute it and/or modify
6
+ * Kamailio is free software; you can redistribute it and/or modify
7 7
  * it under the terms of the GNU General Public License as published by
8 8
  * the Free Software Foundation; either version 2 of the License, or
9 9
  * (at your option) any later version
10 10
  *
11
- * ser is distributed in the hope that it will be useful,
11
+ * Kamailio is distributed in the hope that it will be useful,
12 12
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 13
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 14
  * GNU General Public License for more details.
... ...
@@ -17,9 +17,6 @@
17 17
  * along with this program; if not, write to the Free Software 
18 18
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
19 19
  *
20
- * History
21
- * --------
22
- * 2003-03-24 Created by janakj
23 20
  */
24 21
 
25 22
 /*! \file
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
... ...
@@ -15,7 +15,7 @@
15 15
  *
16 16
  * You should have received a copy of the GNU General Public License 
17 17
  * along with this program; if not, write to the Free Software 
18
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
18
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
19 19
  *
20 20
  * History
21 21
  * --------
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
  * Copyright (C) 2001-2003 FhG Fokus
5 3
  *
6 4
  * This file is part of ser, a free SIP server.
Browse code

Doxygen changes

oej authored on 25/10/2009 18:30:31
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
... ...
@@ -29,31 +24,37 @@
29 24
  * 2003-03-24 Created by janakj
30 25
  */
31 26
 
27
+/*! \file
28
+ * \brief Parser :: Parse name-addr part
29
+ *
30
+ * \ingroup parser
31
+ */
32
+
32 33
 #ifndef PARSE_NAMEADDR_H
33 34
 #define PARSE_NAMEADDR_H
34 35
 
35 36
 #include <stdio.h>
36 37
 #include "../str.h"
37 38
 
38
-/*
39
+/*! \brief
39 40
  * Name-addr structure, see RFC3261 for more details
40 41
  */
41 42
 typedef struct name_addr {
42
-	str name;   /* Display name part */
43
-	str uri;    /* Uri part without surrounding <> */
44
-	int len;    /* Total length of the field (including all
43
+	str name;   /*!< Display name part */
44
+	str uri;    /*!< Uri part without surrounding <> */
45
+	int len;    /*!< Total length of the field (including all
45 46
 		    * whitechars present in the parsed message */
46 47
 } name_addr_t;
47 48
 
48 49
 
49
-/*
50
+/*! \brief
50 51
  * Parse name-addr part, the given string can be longer,
51 52
  * parsing will stop when closing > is found
52 53
  */
53 54
 int parse_nameaddr(str* _s, name_addr_t* _a);
54 55
 
55 56
 
56
-/*
57
+/*! \brief
57 58
  * Print a name-addr structure, just for debugging
58 59
  */
59 60
 void print_nameaddr(FILE* _o, name_addr_t* _a);
Browse code

- Spelling checked

Jan Janak authored on 24/08/2004 09:01:24
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
  *
... ...
@@ -41,7 +41,7 @@
41 41
 typedef struct name_addr {
42 42
 	str name;   /* Display name part */
43 43
 	str uri;    /* Uri part without surrounding <> */
44
-	int len;    /* Total lenght of the field (including all
44
+	int len;    /* Total length of the field (including all
45 45
 		    * whitechars present in the parsed message */
46 46
 } name_addr_t;
47 47
 
Browse code

Missleading comment fixed.

Jan Janak authored on 09/02/2004 14:25:04
Showing 1 changed files
... ...
@@ -41,13 +41,14 @@
41 41
 typedef struct name_addr {
42 42
 	str name;   /* Display name part */
43 43
 	str uri;    /* Uri part without surrounding <> */
44
-	int len;    /* Total lenght of the field */
44
+	int len;    /* Total lenght of the field (including all
45
+		    * whitechars present in the parsed message */
45 46
 } name_addr_t;
46 47
 
47 48
 
48 49
 /*
49 50
  * Parse name-addr part, the given string can be longer,
50
- * it will be updated to point right behind the name-addr part
51
+ * parsing will stop when closing > is found
51 52
  */
52 53
 int parse_nameaddr(str* _s, name_addr_t* _a);
53 54
 
Browse code

- print_* function don't use stdout anymore

Jan Janak authored on 10/04/2003 12:38:18
Showing 1 changed files
... ...
@@ -32,6 +32,7 @@
32 32
 #ifndef PARSE_NAMEADDR_H
33 33
 #define PARSE_NAMEADDR_H
34 34
 
35
+#include <stdio.h>
35 36
 #include "../str.h"
36 37
 
37 38
 /*
... ...
@@ -54,7 +55,7 @@ int parse_nameaddr(str* _s, name_addr_t* _a);
54 55
 /*
55 56
  * Print a name-addr structure, just for debugging
56 57
  */
57
-void print_nameaddr(name_addr_t* _a);
58
+void print_nameaddr(FILE* _o, name_addr_t* _a);
58 59
 
59 60
 
60 61
 #endif /* PARSE_NAMEADDR_H */
Browse code

Totat lenght of the structure added.

Jan Janak authored on 31/03/2003 10:27:36
Showing 1 changed files
... ...
@@ -40,6 +40,7 @@
40 40
 typedef struct name_addr {
41 41
 	str name;   /* Display name part */
42 42
 	str uri;    /* Uri part without surrounding <> */
43
+	int len;    /* Total lenght of the field */
43 44
 } name_addr_t;
44 45
 
45 46
 
Browse code

name-addr (see RFC3261) parser

Jan Janak authored on 24/03/2003 16:42:21
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,59 @@
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
+ * History
28
+ * --------
29
+ * 2003-03-24 Created by janakj
30
+ */
31
+
32
+#ifndef PARSE_NAMEADDR_H
33
+#define PARSE_NAMEADDR_H
34
+
35
+#include "../str.h"
36
+
37
+/*
38
+ * Name-addr structure, see RFC3261 for more details
39
+ */
40
+typedef struct name_addr {
41
+	str name;   /* Display name part */
42
+	str uri;    /* Uri part without surrounding <> */
43
+} name_addr_t;
44
+
45
+
46
+/*
47
+ * Parse name-addr part, the given string can be longer,
48
+ * it will be updated to point right behind the name-addr part
49
+ */
50
+int parse_nameaddr(str* _s, name_addr_t* _a);
51
+
52
+
53
+/*
54
+ * Print a name-addr structure, just for debugging
55
+ */
56
+void print_nameaddr(name_addr_t* _a);
57
+
58
+
59
+#endif /* PARSE_NAMEADDR_H */