Revision cd0887327544ecdc8778e16219aec3f43b0dd682 authored by Junio C Hamano on 05 May 2017, 04:08:54 UTC, committed by Junio C Hamano on 05 May 2017, 04:08:54 UTC
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent a8d93d1
Raw File
sideband.h
#ifndef SIDEBAND_H
#define SIDEBAND_H

#define SIDEBAND_PROTOCOL_ERROR -2
#define SIDEBAND_REMOTE_ERROR -1

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