diff options
author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-30 05:50:15 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-30 05:50:15 +0200 |
commit | f3a3214e83be2905c57eff5d9035d169cae4644e (patch) | |
tree | d883e338e32ba1b07e31df7b2b9da44157d23210 /pkt-line.h | |
parent | Start of "git-send-pack", the local part of sending off a pack (diff) | |
download | git-f3a3214e83be2905c57eff5d9035d169cae4644e.tar.xz git-f3a3214e83be2905c57eff5d9035d169cae4644e.zip |
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 |