summaryrefslogtreecommitdiff
path: root/app/v3_c/src/main.c
diff options
context:
space:
mode:
authorLudovic Pouzenc <ludovic@pouzenc.fr>2011-01-23 14:36:05 +0000
committerLudovic Pouzenc <ludovic@pouzenc.fr>2011-01-23 14:36:05 +0000
commitdcda721939bc81c58f66850aa21f6b6f0c64cab3 (patch)
tree4788908cfc11c7526c1e8d1491146438b10c1c3f /app/v3_c/src/main.c
parent31f0e4b4067901e35ba3c3c66a77e84f35e74992 (diff)
download2011-usi-dcda721939bc81c58f66850aa21f6b6f0c64cab3.tar.gz
2011-usi-dcda721939bc81c58f66850aa21f6b6f0c64cab3.tar.bz2
2011-usi-dcda721939bc81c58f66850aa21f6b6f0c64cab3.zip
Refactoring : myhttpd -> tcpserver et process -> dispatcher. Faisaons de belles briques bien claires d'entrée de jeu !
git-svn-id: file:///var/svn/2011-usi/trunk@15 db941bf7-0cb3-4dda-9634-87faf64f93a7
Diffstat (limited to 'app/v3_c/src/main.c')
-rw-r--r--app/v3_c/src/main.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/v3_c/src/main.c b/app/v3_c/src/main.c
new file mode 100644
index 0000000..c88485e
--- /dev/null
+++ b/app/v3_c/src/main.c
@@ -0,0 +1,9 @@
+#include "tcpserver.h"
+
+#define USI2011JJL_VERSION_MAJOR @USI2011JJL_VERSION_MAJOR@
+#define USI2011JJL_VERSION_MINOR @USI2011JJL_VERSION_MINOR@
+
+
+int main() {
+ return tcpserver();
+}