2005-06-30 05:50:15 +02:00
|
|
|
#ifndef PKTLINE_H
|
|
|
|
#define PKTLINE_H
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Silly packetized line writing interface
|
|
|
|
*/
|
|
|
|
void packet_flush(int fd);
|
2005-08-09 17:30:22 +02:00
|
|
|
void packet_write(int fd, const char *fmt, ...) __attribute__((format (printf, 2, 3)));
|
2005-06-30 05:50:15 +02:00
|
|
|
|
|
|
|
int packet_read_line(int fd, char *buffer, unsigned size);
|
|
|
|
|
|
|
|
#endif
|