Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-09-10 12:06:33 +0400
committerJunio C Hamano <junkio@cox.net>2006-09-11 00:36:35 +0400
commit49a52b1d1fb120f52de3a67f1e4e5ae81512ab81 (patch)
tree47a0c3903f39026b2a907616177fde61adf79f65 /sideband.h
parenta41fae9c46a4cb5e59cc1a17d19f6a3a6cbfbb2f (diff)
Move sideband client side support into reusable form.
This moves the receiver side of the sideband support from fetch-clone.c to sideband.c and its header file, so that archiver protocol can use it. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'sideband.h')
-rw-r--r--sideband.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/sideband.h b/sideband.h
new file mode 100644
index 0000000000..90b385580e
--- /dev/null
+++ b/sideband.h
@@ -0,0 +1,11 @@
+#ifndef SIDEBAND_H
+#define SIDEBAND_H
+
+#define SIDEBAND_PROTOCOL_ERROR -2
+#define SIDEBAND_REMOTE_ERROR -1
+
+#define DEFAULT_PACKET_MAX 1000
+
+int recv_sideband(const char *me, int in_stream, int out, int err, char *, int);
+
+#endif