|
|
1.1 misho 1: #ifndef _STREAM_H_
2: #define _STREAM_H_
1.1.1.2 ! misho 3: #include "first.h"
1.1 misho 4:
5: #include "buffer.h"
6:
7: typedef struct {
8: char *start;
9: off_t size;
1.1.1.2 ! misho 10: int mapped;
1.1 misho 11: } stream;
12:
1.1.1.2 ! misho 13: int stream_open(stream *f, const buffer *fn);
1.1 misho 14: int stream_close(stream *f);
15:
16: #endif