Staging
v0.7.0
Revision 97d0c52980f0e64f0feed5b31390a32561df0ecf authored by Junio C Hamano on 27 December 2007, 01:35:38 UTC, committed by Junio C Hamano on 27 December 2007, 01:35:38 UTC
* ar/commit-cleanup:
  Allow selection of different cleanup modes for commit messages
  builtin-commit: avoid double-negation in the code.
  builtin-commit: fix amending of the initial commit
  t7005: do not exit inside test.
2 parent s d562509 + 5f06573
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, int err);
ssize_t send_sideband(int fd, int band, const char *data, ssize_t sz, int packet_max);

#endif
back to top