summaryrefslogtreecommitdiff
path: root/data/lighttpd/lighttpd-1.4.53/src/stream.h
blob: 75b91209373137f16d9422bacb8632234772ea7c (plain)
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