Return to stream.h CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / lighttpd / src |
version 1.1, 2013/10/14 10:32:48 | version 1.1.1.2, 2016/11/02 10:35:00 |
---|---|
Line 1 | Line 1 |
#ifndef _STREAM_H_ | #ifndef _STREAM_H_ |
#define _STREAM_H_ | #define _STREAM_H_ |
#include "first.h" | |
#include "buffer.h" | #include "buffer.h" |
typedef struct { | typedef struct { |
char *start; | char *start; |
off_t size; | off_t size; |
int mapped; | |
} stream; | } stream; |
int stream_open(stream *f, buffer *fn); | int stream_open(stream *f, const buffer *fn); |
int stream_close(stream *f); | int stream_close(stream *f); |
#endif | #endif |