From dcda721939bc81c58f66850aa21f6b6f0c64cab3 Mon Sep 17 00:00:00 2001 From: Ludovic Pouzenc Date: Sun, 23 Jan 2011 14:36:05 +0000 Subject: Refactoring : myhttpd -> tcpserver et process -> dispatcher. Faisaons de belles briques bien claires d'entrée de jeu ! MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: file:///var/svn/2011-usi/trunk@15 db941bf7-0cb3-4dda-9634-87faf64f93a7 --- app/v3_c/src/include/dispatcher.h | 13 +++++++++++++ app/v3_c/src/include/process.h | 13 ------------- 2 files changed, 13 insertions(+), 13 deletions(-) create mode 100644 app/v3_c/src/include/dispatcher.h delete mode 100644 app/v3_c/src/include/process.h (limited to 'app/v3_c/src/include') diff --git a/app/v3_c/src/include/dispatcher.h b/app/v3_c/src/include/dispatcher.h new file mode 100644 index 0000000..a3e779a --- /dev/null +++ b/app/v3_c/src/include/dispatcher.h @@ -0,0 +1,13 @@ +#ifndef DISPATCHER_H +#define DISPATCHER_H + +#include +#include +#include +#include + +int initDispatcher(); +int requestDispatcher(int sockfd, struct sockaddr_in *addr, socklen_t *addrlen ); +void freeDispatcher(); + +#endif diff --git a/app/v3_c/src/include/process.h b/app/v3_c/src/include/process.h deleted file mode 100644 index c88b235..0000000 --- a/app/v3_c/src/include/process.h +++ /dev/null @@ -1,13 +0,0 @@ -#ifndef PROCESS_H -#define PROCESS_H - -#include -#include -#include -#include - -int initProcess(); -int requestProcess(int sockfd, struct sockaddr_in *addr, socklen_t *addrlen ); -void freeProcess(); - -#endif -- cgit v1.2.3