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
- * Copyright (C) 2010 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
-/** version strings.
18
- * @file ver.h
19
- * @ingroup: core
20
- */
21
-
22
-#ifndef __ver_h
23
-#define __ver_h
24
-
25
-extern const char full_version[];
26
-extern const char ver_name[];
27
-extern const char ver_version[];
28
-extern const char ver_arch[];
29
-extern const char ver_os[];
30
-extern const char ver_id[];
31
-extern const char ver_compiled_time[];
32
-extern const char ver_compiler[];
33
-extern const char ver_flags[];
34
-extern const char repo_ver[];
35
-extern const char repo_hash[];
36
-extern const char repo_state[];
37
-
38
-
39
-#endif /*__ver_h*/
40
-
41
-/* 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) 2010 iptelorg GmbH
5 3
  *
6 4
  * Permission to use, copy, modify, and distribute this software for any
... ...
@@ -15,15 +13,11 @@
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
  */
16
+
18 17
 /** version strings.
19 18
  * @file ver.h
20 19
  * @ingroup: core
21 20
  */
22
-/*
23
- * History:
24
- * --------
25
- *  2010-07-13  initial version (andrei)
26
-*/
27 21
 
28 22
 #ifndef __ver_h
29 23
 #define __ver_h
Browse code

core: more version related rpcs

core.flags - prints the compile flags.

core.info - verbose version info, including the version, git hash,
compiler, compile date and compile flags.

Andrei Pelinescu-Onciul authored on 13/07/2010 18:38:08
Showing 1 changed files
... ...
@@ -29,6 +29,10 @@
29 29
 #define __ver_h
30 30
 
31 31
 extern const char full_version[];
32
+extern const char ver_name[];
33
+extern const char ver_version[];
34
+extern const char ver_arch[];
35
+extern const char ver_os[];
32 36
 extern const char ver_id[];
33 37
 extern const char ver_compiled_time[];
34 38
 extern const char ver_compiler[];
Browse code

core: move version strings to a separate file

- moved version strings to variables (instead of macros) and in a
separate file (ver.c). This will require re-compiling only one
small file and re-linking on version or repository changes (e.g.
new commit or local uncommitted changes), instead of recompiling
main.c and core_cmd.c.
- more detailed info about the repository state is now available via
repo_hash (hash of the top commit) and repo_state (dirty or "").
- the core.version rpc reports now directly the version number
(complete with repository hash and state), without prefixing it
with "Server:", e.g.:
ser 3.0.99-dev1 (i386/linux) dd9681-dirty
instead of
Server: ser (3.0.99-dev1 (i386/freebsd)) d89437-dirty

Andrei Pelinescu-Onciul authored on 13/07/2010 17:59:26
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,43 @@
1
+/* 
2
+ * $Id$
3
+ * 
4
+ * Copyright (C) 2010 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
+/** version strings.
19
+ * @file ver.h
20
+ * @ingroup: core
21
+ */
22
+/*
23
+ * History:
24
+ * --------
25
+ *  2010-07-13  initial version (andrei)
26
+*/
27
+
28
+#ifndef __ver_h
29
+#define __ver_h
30
+
31
+extern const char full_version[];
32
+extern const char ver_id[];
33
+extern const char ver_compiled_time[];
34
+extern const char ver_compiler[];
35
+extern const char ver_flags[];
36
+extern const char repo_ver[];
37
+extern const char repo_hash[];
38
+extern const char repo_state[];
39
+
40
+
41
+#endif /*__ver_h*/
42
+
43
+/* vi: set ts=4 sw=4 tw=79:ai:cindent: */