Revision 8165952517bf82b6a632cefc047ad14f36a74b25 authored by Junio C Hamano on 19 April 2010, 08:28:27 UTC, committed by Junio C Hamano on 19 April 2010, 08:28:27 UTC
* maint-1.6.6:
  MSVC: Fix build by adding missing termios.h dummy
2 parent s 03aa87e + b756864
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