From 958c24b1b8f463bca857f45c41a2f8198e345c2f Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Sun, 10 Sep 2006 03:20:24 -0700 Subject: 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 (cherry picked from b786552b67878c7780c50def4c069d46dc54efbe commit) --- sideband.h | 1 + 1 file changed, 1 insertion(+) (limited to 'sideband.h') diff --git a/sideband.h b/sideband.h index 90b385580..c645cf2c5 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 -- cgit v1.2.1