HCoop
/
hcoop
/
zz_old
/
debian
/
djbdns.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
release
[hcoop/zz_old/debian/djbdns.git]
/
buffer.c
1
#include
"buffer.h"
2
3
void
buffer_init
(
buffer
*
s
,
int
(*
op
)(),
int
fd
,
char
*
buf
,
unsigned int
len
)
4
{
5
s
->
x
=
buf
;
6
s
->
fd
=
fd
;
7
s
->
op
=
op
;
8
s
->
p
=
0
;
9
s
->
n
=
len
;
10
}