summaryrefslogtreecommitdiff
path: root/pkt-line.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-29 20:50:15 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-29 20:50:15 -0700
commitf3a3214e83be2905c57eff5d9035d169cae4644e (patch)
treed883e338e32ba1b07e31df7b2b9da44157d23210 /pkt-line.h
parent61221472a5f8591f2d06d5e5c5aafb03271b8066 (diff)
downloadgit-f3a3214e83be2905c57eff5d9035d169cae4644e.tar.gz
Make send/receive-pack be closer to doing something interesting
Diffstat (limited to 'pkt-line.h')
-rw-r--r--pkt-line.h12
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