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,34 +0,0 @@
1
-/* 
2
- * Copyright (C) 2009 iptelorg GmbH
3
- *
4
- * Permission to use, copy, modify, and distribute this software for any
5
- * purpose with or without fee is hereby granted, provided that the above
6
- * copyright notice and this permission notice appear in all copies.
7
- *
8
- * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9
- * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10
- * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
11
- * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12
- * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
13
- * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
14
- * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
15
- */
16
-
17
-#ifndef __sip_msg_clone_h
18
-#define __sip_msg_clone_h
19
-
20
-#include "parser/msg_parser.h"
21
-
22
-struct sip_msg*  sip_msg_shm_clone(	struct sip_msg *org_msg,
23
-									int *sip_msg_len,
24
-									int clone_lumps);
25
-
26
-int msg_lump_cloner(struct sip_msg *pkg_msg,
27
-					struct lump** add_rm,
28
-					struct lump** body_lumps,
29
-					struct lump_rpl** reply_lump);
30
-
31
-
32
-#endif /*__sip_msg_clone_h*/
33
-
34
-/* vi: set ts=4 sw=4 tw=79:ai:cindent: */
Browse code

core: Modify doxygen, remove history, remove SVN IDs, change "ser" and "sip-router" to "KAMAILIO"

Olle E. Johansson authored on 16/01/2015 16:38:46
Showing 1 changed files
... ...
@@ -1,6 +1,4 @@
1 1
 /* 
2
- * $Id$
3
- * 
4 2
  * Copyright (C) 2009 iptelorg GmbH
5 3
  *
6 4
  * Permission to use, copy, modify, and distribute this software for any
... ...
@@ -15,14 +13,6 @@
15 13
  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
16 14
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17 15
  */
18
-/*
19
- * /home/andrei/sr.git/sip_msg_clone.h
20
- */
21
-/*
22
- * History:
23
- * --------
24
- *  2009-07-22  initial version (andrei)
25
-*/
26 16
 
27 17
 #ifndef __sip_msg_clone_h
28 18
 #define __sip_msg_clone_h
Browse code

core+tm: moved sip msg clone functions to the core

- moved all sip msg clone related functions to the core, since the
xmlrpc modules will need them too.
- renamed sip_msg_cloner() to sip_msg_shm_clone().
- msg_lump_cloner() is no longer static and returns 1 for no
change, 0 for successful cloning and -1 on error.

Andrei Pelinescu-Onciul authored on 30/07/2009 13:35:37
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,44 @@
1
+/* 
2
+ * $Id$
3
+ * 
4
+ * Copyright (C) 2009 iptelorg GmbH
5
+ *
6
+ * Permission to use, copy, modify, and distribute this software for any
7
+ * purpose with or without fee is hereby granted, provided that the above
8
+ * copyright notice and this permission notice appear in all copies.
9
+ *
10
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
11
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
12
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
13
+ * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
14
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
15
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
16
+ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17
+ */
18
+/*
19
+ * /home/andrei/sr.git/sip_msg_clone.h
20
+ */
21
+/*
22
+ * History:
23
+ * --------
24
+ *  2009-07-22  initial version (andrei)
25
+*/
26
+
27
+#ifndef __sip_msg_clone_h
28
+#define __sip_msg_clone_h
29
+
30
+#include "parser/msg_parser.h"
31
+
32
+struct sip_msg*  sip_msg_shm_clone(	struct sip_msg *org_msg,
33
+									int *sip_msg_len,
34
+									int clone_lumps);
35
+
36
+int msg_lump_cloner(struct sip_msg *pkg_msg,
37
+					struct lump** add_rm,
38
+					struct lump** body_lumps,
39
+					struct lump_rpl** reply_lump);
40
+
41
+
42
+#endif /*__sip_msg_clone_h*/
43
+
44
+/* vi: set ts=4 sw=4 tw=79:ai:cindent: */