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,47 +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 Kamailio core :: MD5 digest support
24
- * \ingroup core
25
- * Module: \ref core
26
- */
27
-
28
-#ifndef _MD5UTILS_H
29
-#define _MD5UTILS_H
30
-
31
-#include "str.h"
32
-
33
-#define MD5_LEN	32
34
-
35
-/*!
36
-  * \brief Calculate a MD5 digests over a string array
37
-  * 
38
-  * Calculate a MD5 digests over a string array and stores the result in the
39
-  * destination char array. This function assumes 32 bytes in the destination
40
-  * buffer.
41
-  * \param dst destination
42
-  * \param src string input array
43
-  * \param size elements in the input array
44
-  */
45
-void MD5StringArray (char *dst, str src[], int size);
46
-
47
-#endif /* _MD5UTILS_H */
Browse code

Core Update of doxygen, removal of history, changing "ser" to "kamailio"

Olle E. Johansson authored on 03/01/2015 14:03:24
Showing 1 changed files
... ...
@@ -1,19 +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
- * For a license to use the ser software under conditions
12
- * other than those described here, or to purchase support for this
13
- * software, please contact iptel.org by e-mail at the following addresses:
14
- *    info@iptel.org
15
- *
16
- * ser is distributed in the hope that it will be useful,
11
+ * Kamailio is distributed in the hope that it will be useful,
17 12
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 13
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19 14
  * GNU General Public License for more details.
... ...
@@ -25,7 +20,7 @@
25 20
 
26 21
 /*!
27 22
  * \file
28
- * \brief SIP-router core :: md5 hash support
23
+ * \brief Kamailio core :: MD5 digest support
29 24
  * \ingroup core
30 25
  * Module: \ref core
31 26
  */
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
... ...
@@ -20,7 +20,7 @@
20 20
  *
21 21
  * You should have received a copy of the GNU General Public License 
22 22
  * along with this program; if not, write to the Free Software 
23
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
23
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
24 24
  */
25 25
 
26 26
 /*!
Browse code

core: fix another bunch of 'no real prototype' warnings, add doxygen docs

* fix another bunch of gcc 4.5 'no real prototype' warnings by making the MD5
functions typesafe (removing this PROTO_LIST stuff)
* refactoring of function definitions to use a proper style, like everybody else
* remove not needed defines for datatypes, delete the then empty header completely
* remove the unneeded include of md5global.h from a few modules
* fix callers of MD5 utility functions which already use a proper type
* adapt format of RSA copyright notices to the common style as well
* add doxygen documentations to all functions and defines
* similar changes have been done in kamailio, but have been not ported to this
repository yet

Henning Westerholt authored on 29/06/2011 20:12:28
Showing 1 changed files
... ...
@@ -1,7 +1,4 @@
1 1
 /* 
2
- * $Id$
3
- *
4
- *
5 2
  * Copyright (C) 2001-2003 FhG Fokus
6 3
  *
7 4
  * This file is part of ser, a free SIP server.
... ...
@@ -26,6 +23,12 @@
26 23
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
27 24
  */
28 25
 
26
+/*!
27
+ * \file
28
+ * \brief SIP-router core :: md5 hash support
29
+ * \ingroup core
30
+ * Module: \ref core
31
+ */
29 32
 
30 33
 #ifndef _MD5UTILS_H
31 34
 #define _MD5UTILS_H
... ...
@@ -34,6 +37,16 @@
34 37
 
35 38
 #define MD5_LEN	32
36 39
 
40
+/*!
41
+  * \brief Calculate a MD5 digests over a string array
42
+  * 
43
+  * Calculate a MD5 digests over a string array and stores the result in the
44
+  * destination char array. This function assumes 32 bytes in the destination
45
+  * buffer.
46
+  * \param dst destination
47
+  * \param src string input array
48
+  * \param size elements in the input array
49
+  */
37 50
 void MD5StringArray (char *dst, str src[], int size);
38 51
 
39 52
 #endif /* _MD5UTILS_H */
Browse code

Kamailio compatibility: Rename MDStringArray to MD5StringArray

Jan Janak authored on 10/03/2009 22:46:05
Showing 1 changed files
... ...
@@ -34,6 +34,6 @@
34 34
 
35 35
 #define MD5_LEN	32
36 36
 
37
-void MDStringArray (char *dst, str src[], int size);
37
+void MD5StringArray (char *dst, str src[], int size);
38 38
 
39 39
 #endif /* _MD5UTILS_H */
Browse code

- Spelling checked - READMEs updated

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

- fixed missing #ifndefs.

Jan Janak authored on 10/04/2003 12:37:50
Showing 1 changed files
... ...
@@ -36,4 +36,4 @@
36 36
 
37 37
 void MDStringArray (char *dst, str src[], int size);
38 38
 
39
-#endif
39
+#endif /* _MD5UTILS_H */
Browse code

GPLization banner introduced to *.[hc] files

Jiri Kuthan authored on 19/09/2002 12:23:52
Showing 1 changed files
... ...
@@ -1,8 +1,32 @@
1 1
 /* 
2 2
  * $Id$
3 3
  *
4
+ *
5
+ * Copyright (C) 2001-2003 Fhg Fokus
6
+ *
7
+ * This file is part of ser, a free SIP server.
8
+ *
9
+ * ser is free software; you can redistribute it and/or modify
10
+ * it under the terms of the GNU General Public License as published by
11
+ * the Free Software Foundation; either version 2 of the License, or
12
+ * (at your option) any later version
13
+ *
14
+ * For a license to use the ser software under conditions
15
+ * other than those described here, or to purchase support for this
16
+ * software, please contact iptel.org by e-mail at the following addresses:
17
+ *    info@iptel.org
18
+ *
19
+ * ser is distributed in the hope that it will be useful,
20
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
21
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22
+ * GNU General Public License for more details.
23
+ *
24
+ * You should have received a copy of the GNU General Public License 
25
+ * along with this program; if not, write to the Free Software 
26
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
4 27
  */
5 28
 
29
+
6 30
 #ifndef _MD5UTILS_H
7 31
 #define _MD5UTILS_H
8 32
 
Browse code

CVS substitutes introduced

Jiri Kuthan authored on 19/09/2002 11:51:26
Showing 1 changed files
... ...
@@ -1,3 +1,8 @@
1
+/* 
2
+ * $Id$
3
+ *
4
+ */
5
+
1 6
 #ifndef _MD5UTILS_H
2 7
 #define _MD5UTILS_H
3 8
 
Browse code

added MD5 support from RFC 1321

Jiri Kuthan authored on 29/11/2001 14:28:03
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,10 @@
1
+#ifndef _MD5UTILS_H
2
+#define _MD5UTILS_H
3
+
4
+#include "str.h"
5
+
6
+#define MD5_LEN	32
7
+
8
+void MDStringArray (char *dst, str src[], int size);
9
+
10
+#endif