mirror of
https://github.com/git/git.git
synced 2024-11-30 21:44:02 +08: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>
11 lines
262 B
C
11 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
|