view git-master/sideband.h @ 2765:0e687eac0f29

<ThatOtherPerson> mv DCPUToolBot-master d
author HackBot
date Mon, 22 Apr 2013 15:40:20 +0000
parents e59711901a63
children
line wrap: on
line source

#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