mirror of
https://github.com/git/git
synced 2024-08-25 10:45:59 +00:00
![Jeff King](/assets/img/avatar_default.png)
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
|