[mod_cgi] skip local-redir handling if to self (fixes #2779, #2108)
[lighttpd.git] / src / stream.h
blob75b91209373137f16d9422bacb8632234772ea7c
1 #ifndef _STREAM_H_
2 #define _STREAM_H_
3 #include "first.h"
5 #include "buffer.h"
7 typedef struct {
8 char *start;
9 off_t size;
10 int mapped;
11 } stream;
13 int stream_open(stream *f, const buffer *fn);
14 int stream_close(stream *f);
16 #endif