From 31f0e4b4067901e35ba3c3c66a77e84f35e74992 Mon Sep 17 00:00:00 2001 From: Ludovic Pouzenc Date: Sat, 22 Jan 2011 23:06:52 +0000 Subject: Avancement sur le serveur web en C. Le fichier myhttpd.c conteint à présent un serveur TCP/IP complet qui accepte des connexions et appelle requestProcess() et process.c qui lui doit décider de passer la main à un thread ou faire la mise en attente.. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: file:///var/svn/2011-usi/trunk@14 db941bf7-0cb3-4dda-9634-87faf64f93a7 --- app/v3_c/src/include/process.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 app/v3_c/src/include/process.h (limited to 'app/v3_c/src/include') diff --git a/app/v3_c/src/include/process.h b/app/v3_c/src/include/process.h new file mode 100644 index 0000000..c88b235 --- /dev/null +++ b/app/v3_c/src/include/process.h @@ -0,0 +1,13 @@ +#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