summaryrefslogtreecommitdiff
path: root/pkt-line.h
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-06-21 07:30:21 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-06-21 09:50:32 (GMT)
commit583b7ea31b7c16f872b178d541591ab816d16f85 (patch)
tree988f333096d8eb42e1caf714b98d2f833001cc26 /pkt-line.h
parentefc7fa5355da79326f92716eef37ddd71c7ec034 (diff)
downloadgit-583b7ea31b7c16f872b178d541591ab816d16f85.zip
git-583b7ea31b7c16f872b178d541591ab816d16f85.tar.gz
git-583b7ea31b7c16f872b178d541591ab816d16f85.tar.bz2
upload-pack/fetch-pack: support side-band communication
This implements a protocol extension between fetch-pack and upload-pack to allow stderr stream from upload-pack (primarily used for the progress bar display) to be passed back. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'pkt-line.h')
-rw-r--r--pkt-line.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkt-line.h b/pkt-line.h
index 51d0cbe..9abef24 100644
--- a/pkt-line.h
+++ b/pkt-line.h
@@ -8,5 +8,6 @@ void packet_flush(int fd);
void packet_write(int fd, const char *fmt, ...) __attribute__((format (printf, 2, 3)));
int packet_read_line(int fd, char *buffer, unsigned size);
+ssize_t safe_write(int, const void *, ssize_t);
#endif