diff options
author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-29 20:50:15 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-29 20:50:15 -0700 |
commit | f3a3214e83be2905c57eff5d9035d169cae4644e (patch) | |
tree | d883e338e32ba1b07e31df7b2b9da44157d23210 /pkt-line.h | |
parent | 61221472a5f8591f2d06d5e5c5aafb03271b8066 (diff) | |
download | git-f3a3214e83be2905c57eff5d9035d169cae4644e.tar.gz |
Make send/receive-pack be closer to doing something interesting
Diffstat (limited to 'pkt-line.h')
-rw-r--r-- | pkt-line.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/pkt-line.h b/pkt-line.h new file mode 100644 index 0000000000..b0b4f6d495 --- /dev/null +++ b/pkt-line.h @@ -0,0 +1,12 @@ +#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 |