summaryrefslogtreecommitdiff
path: root/sideband.h
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-09-10 10:20:24 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-09-10 20:36:50 (GMT)
commit958c24b1b8f463bca857f45c41a2f8198e345c2f (patch)
tree8db09dbe9df18068f063c42d19de06b12d0a2625 /sideband.h
parent49a52b1d1fb120f52de3a67f1e4e5ae81512ab81 (diff)
downloadgit-958c24b1b8f463bca857f45c41a2f8198e345c2f.zip
git-958c24b1b8f463bca857f45c41a2f8198e345c2f.tar.gz
git-958c24b1b8f463bca857f45c41a2f8198e345c2f.tar.bz2
Move sideband server side support into reusable form.
The server side support; this is just the very low level, and the caller needs to know which band it wants to send things out. Signed-off-by: Junio C Hamano <junkio@cox.net> (cherry picked from b786552b67878c7780c50def4c069d46dc54efbe commit)
Diffstat (limited to 'sideband.h')
-rw-r--r--sideband.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sideband.h b/sideband.h
index 90b3855..c645cf2 100644
--- a/sideband.h
+++ b/sideband.h
@@ -7,5 +7,6 @@
#define DEFAULT_PACKET_MAX 1000
int recv_sideband(const char *me, int in_stream, int out, int err, char *, int);
+ssize_t send_sideband(int fd, int band, const char *data, ssize_t sz, int packet_max);
#endif