summaryrefslogtreecommitdiff
path: root/src/stream.h
blob: d4c9049be91645d5c61f2d572b6e356c7518b499 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef _STREAM_H_
#define _STREAM_H_

#include "buffer.h"

typedef struct {
	char *start;
	off_t size;
} stream;

int stream_open(stream *f, buffer *fn);
int stream_close(stream *f);

#endif