mirror of
https://github.com/git/git.git
synced 2026-01-11 13:23:12 +09:00
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>
12 lines
230 B
C
12 lines
230 B
C
#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
|