blob: 51d0cbe219f2f45bf3920441f09dfcc2744adb06 [file] [log] [blame]
Linus Torvaldsf3a32142005-06-29 20:50:15 -07001#ifndef PKTLINE_H
2#define PKTLINE_H
3
4/*
5 * Silly packetized line writing interface
6 */
7void packet_flush(int fd);
Timo Sirainen4ec99bf2005-08-09 18:30:22 +03008void packet_write(int fd, const char *fmt, ...) __attribute__((format (printf, 2, 3)));
Linus Torvaldsf3a32142005-06-29 20:50:15 -07009
10int packet_read_line(int fd, char *buffer, unsigned size);
11
12#endif