Revision d0b34f241dc59fe2352cb1a724d0c5e8f0d2ff82 authored by Eric Wong on 19 October 2014, 04:08:31 UTC, committed by Eric Wong on 24 October 2014, 22:55:35 UTC
We do not need to store entire lists of commits, only the
number of incomplete and the first commit for reference.
This reduces the amount of data we need to store in memory
and on disk stores.

Signed-off-by: Eric Wong <normalperson@yhbt.net>
1 parent 9ee13a9
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