Sign in
googlers
/
jrn
/
git
/
75bfc6c232689ae06aba6a7d4aa15ac2791d9a11
/
.
/
pkt-line.h
blob: b0b4f6d495e06cfe797a9c8dfba38d61804e6c81 [
file
] [
log
] [
blame
]
#ifndef
PKTLINE_H
#define
PKTLINE_H
/*
* Silly packetized line writing interface
*/
void
packet_flush
(
int
fd
);
void
packet_write
(
int
fd
,
const
char
*
fmt
,
...);
int
packet_read_line
(
int
fd
,
char
*
buffer
,
unsigned
size
);
#endif