mirror of
https://github.com/git/git
synced 2024-10-28 19:25:47 +00:00
047ec60205
Having the packet sizes defined near the packet read/write functions makes more sense. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
10 lines
262 B
C
10 lines
262 B
C
#ifndef SIDEBAND_H
|
|
#define SIDEBAND_H
|
|
|
|
#define SIDEBAND_PROTOCOL_ERROR -2
|
|
#define SIDEBAND_REMOTE_ERROR -1
|
|
|
|
int recv_sideband(const char *me, int in_stream, int out);
|
|
ssize_t send_sideband(int fd, int band, const char *data, ssize_t sz, int packet_max);
|
|
|
|
#endif
|