#include "common.h"
#include "buffer.h"
#include "http.h"
Include dependency graph for reqhandler_file.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Typedefs | |
typedef ReqHandlerFile * | ReqHandlerFile |
the struct containing all necessary information (on file-level) for a file transfer. | |
Functions | |
int | rhfModulePreInit () |
initialize / calculate static values. More... | |
int | rhfModuleTerminate () |
free all static ressourcesallocated. More... | |
ReqHandlerFile | rhfInit (HttpProtHandler parent, const char *path_buf, int change_path) |
creates, initializes and returns a file-request Handler. More... | |
int | rhfReceive (ReqHandlerFile this, struct Buffer *buf) |
orders a ProtHandler to Recieve data. More... | |
int | rhfSend (ReqHandlerFile this, struct Buffer **buf) |
orders a ProtHandler to send buffered data. More... | |
int | rhfProcess (ReqHandlerFile this) |
gives the chance to do some internal job. More... | |
int | rhfIsDataPending (ReqHandlerFile this) |
checks if data is pending. More... | |
int | rhfTerminate (ReqHandlerFile this) |
terminates this . More... | |
int | rhfGetError (ReqHandlerFile this) |
returns the error of this . More... | |
size_t | rhfGetSourceSize (ReqHandlerFile this) |
returns the file size of the requested file. More... | |
time_t | rhfGetModTime (ReqHandlerFile this) |
returns the files modification date. More... | |
const char * | rhfGetAllow (ReqHandlerFile this) |
returns the allows connected to the file. More... | |
const char * | rhfGetContentType (ReqHandlerFile this) |
returns the files extension. More... |
Definition in file reqhandler_file.h.
|
returns the allows connected to the file.
Referenced by buildEntityHeader().
|
|
returns the files extension.
Referenced by buildEntityHeader().
|
|
returns the error of
Referenced by htRecvLine().
|
|
returns the files modification date.
Referenced by buildEntityHeader().
|
|
returns the file size of the requested file.
|
|
creates, initializes and returns a file-request Handler.
error is set to the errorcode.
Referenced by htRecvLine().
|
|
checks if data is pending.
Referenced by htIsDataPending(), and htSend().
|
|
initialize / calculate static values.
|
|
free all static ressourcesallocated.
|
|
gives the chance to do some internal job.
Referenced by htProcess().
|
|
orders a ProtHandler to Recieve data.
|
|
orders a ProtHandler to send buffered data.
Referenced by htSend().
|
|
terminates
this and frees all allocated memory used by this .
Referenced by htRecvLine(), and htTerminate().
|