Main Page   Data Structures   File List   Data Fields   Globals   Related Pages  

reqhandler_file.h

Go to the documentation of this file.
00001 /***************************************************************************
00002                               reqhandle_file.h
00003                              -------------------
00004     begin                : Sun Nov 25 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 
00023 #ifndef REQHANDLER_FILE_H_FLAG
00024 #define REQHANDLER_FILE_H_FLAG
00025 
00026 #include "common.h"
00027 
00028 #include "buffer.h"
00029 #include "http.h"
00030 
00031 
00032 struct ReqHandlerFile;
00033 
00035 typedef struct ReqHandlerFile* ReqHandlerFile;
00036 
00037 
00043 int rhfModulePreInit();
00044 
00050 int rhfModuleTerminate();
00051 
00052 
00053 
00068 ReqHandlerFile rhfInit(HttpProtHandler parent, const char *path_buf, int change_path);
00069 
00082 int rhfReceive(ReqHandlerFile this, struct Buffer *buf );
00083 
00095 int rhfSend(ReqHandlerFile this, struct Buffer **buf);
00096 
00106 int rhfProcess(ReqHandlerFile this);
00107 
00114 int rhfIsDataPending(ReqHandlerFile this);
00115 
00124 int rhfTerminate(ReqHandlerFile this);
00125 
00132 int rhfGetError(ReqHandlerFile this);
00133 
00140 size_t rhfGetSourceSize(ReqHandlerFile this);
00141 
00148 time_t rhfGetModTime(ReqHandlerFile this);
00149 
00156 const char *rhfGetAllow(ReqHandlerFile this);
00157 
00164 const char* rhfGetContentType(ReqHandlerFile this);
00165 
00166 #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