Revision f5fcb59034ed820ba43b914c3c6038786753d298 authored by Junio C Hamano on 16 October 2011, 03:46:39 UTC, committed by Junio C Hamano on 16 October 2011, 03:46:39 UTC
* ms/patch-id-with-overlong-line:
  patch-id.c: use strbuf instead of a fixed buffer
2 parent s 6323a14 + b9ab810
Raw File
sideband.h
#ifndef SIDEBAND_H
#define SIDEBAND_H

#define SIDEBAND_PROTOCOL_ERROR -2
#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);
ssize_t send_sideband(int fd, int band, const char *data, ssize_t sz, int packet_max);

#endif
back to top