diff options
Diffstat (limited to 'data/lighttpd/lighttpd-1.4.53/src/stream.h')
-rw-r--r-- | data/lighttpd/lighttpd-1.4.53/src/stream.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/data/lighttpd/lighttpd-1.4.53/src/stream.h b/data/lighttpd/lighttpd-1.4.53/src/stream.h new file mode 100644 index 000000000..75b912093 --- /dev/null +++ b/data/lighttpd/lighttpd-1.4.53/src/stream.h @@ -0,0 +1,16 @@ +#ifndef _STREAM_H_ +#define _STREAM_H_ +#include "first.h" + +#include "buffer.h" + +typedef struct { + char *start; + off_t size; + int mapped; +} stream; + +int stream_open(stream *f, const buffer *fn); +int stream_close(stream *f); + +#endif |