Main Page   Data Structures   File List   Data Fields   Globals   Related Pages  

http.h

Go to the documentation of this file.
00001 /***************************************************************************
00002                                    http.h
00003                              -------------------
00004     begin                : Fri Nov 23 2001
00005     copyright            : (C) 2001-2002 by Christian Hoenig & Gunter Ohrner
00006     email                : pdepp@CustomCDROM.de
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
00015  *                                                                         *
00016  ***************************************************************************/
00017 
00025 #ifndef HTTP_H_FLAG
00026 #define HTTP_H_FLAG
00027 
00028 #include "common.h"
00029 
00030 #include <time.h>
00031 
00032 #include "buffer.h"
00033 #include "conn_handler.h"
00034 
00035 struct HttpProtHandler;                           
00036 typedef struct HttpProtHandler* HttpProtHandler;  
00037 
00038 
00040 int htModulePreInit();
00041 
00043 int htModuleTerminate();
00044 
00045 
00054 HttpProtHandler htInit(ConnHandler parent);
00055 
00068 int htReceive(HttpProtHandler this, struct Buffer buf);
00069 
00081 int htSend(HttpProtHandler this, struct Buffer** buf);
00082 
00092 int htProcess(HttpProtHandler this);
00093 
00100 int htIsDataPending(HttpProtHandler this);
00101 
00111 int htTerminate(HttpProtHandler this);
00112 
00119 int htGetError(HttpProtHandler this);
00120 
00121 #endif

Generated on Fri Jan 25 22:40:31 2002 for PDepp Webserver by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001