--- embedaddon/lighttpd/src/stream.h 2013/10/14 10:32:48 1.1.1.1 +++ embedaddon/lighttpd/src/stream.h 2016/11/02 10:35:00 1.1.1.2 @@ -1,14 +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, buffer *fn); +int stream_open(stream *f, const buffer *fn); int stream_close(stream *f); #endif