repo.or.cz
/
lighttpd.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[core] use buffer_eq_icase* funcs
[lighttpd.git]
/
src
/
stream.h
blob
75b91209373137f16d9422bacb8632234772ea7c
1
#ifndef _STREAM_H_
2
#define _STREAM_H_
3
#include
"first.h"
4
5
#include
"buffer.h"
6
7
typedef
struct
{
8
char
*
start
;
9
off_t size
;
10
int
mapped
;
11
}
stream
;
12
13
int
stream_open
(
stream
*
f
,
const
buffer
*
fn
);
14
int
stream_close
(
stream
*
f
);
15
16
#endif