Staging
v0.5.1
Revision 349cb5096397d9d1da33f2d046fa7e192e6214e7 authored by Junio C Hamano on 19 September 2014, 21:21:31 UTC, committed by Junio C Hamano on 19 September 2014, 21:21:31 UTC
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent b8f7239
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