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,13 +0,0 @@
1
-/* 
2
- * example library 
3
- */
4
-
5
-
6
-
7
-#include <stdio.h>
8
-
9
-int stderr_println(char* text)
10
-{
11
-	fprintf(stderr, "%s\n", text);
12
-	return 0;
13
-}
Browse code

- added new example library that uses the new Makefile.libs (it doesn't do anything usefull, is just an example)

Andrei Pelinescu-Onciul authored on 16/03/2007 21:56:39
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,13 @@
1
+/* 
2
+ * example library 
3
+ */
4
+
5
+
6
+
7
+#include <stdio.h>
8
+
9
+int stderr_println(char* text)
10
+{
11
+	fprintf(stderr, "%s\n", text);
12
+	return 0;
13
+}