X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;ds=sidebyside;f=sideband.h;h=d72db35d1e0dc109f75b292762013c11b86426aa;hb=89a56bfbd3fd855cb0c2a381520e6255de41a55e;hp=c645cf2c521f3153d353ab0466607adeaa1d4498;hpb=958c24b1b8f463bca857f45c41a2f8198e345c2f;p=git.git diff --git a/sideband.h b/sideband.h index c645cf2c5..d72db35d1 100644 --- a/sideband.h +++ b/sideband.h @@ -5,8 +5,9 @@ #define SIDEBAND_REMOTE_ERROR -1 #define DEFAULT_PACKET_MAX 1000 +#define LARGE_PACKET_MAX 65520 -int recv_sideband(const char *me, int in_stream, int out, int err, char *, int); +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