1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 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