Revision b893e88191c61bf44ae83588d3a01e543bcb85c9 authored by Junio C Hamano on 28 November 2012, 21:42:30 UTC, committed by Junio C Hamano on 28 November 2012, 21:42:30 UTC
* mm/status-push-pull-advise:
  status: add advice on how to push/pull to tracking branch
2 parent s 682098b + c190ced
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