Revision efe9d6ce33ed817150f4ff63ebfc14a3f7667eb4 authored by Junio C Hamano on 05 October 2017, 04:48:19 UTC, committed by Junio C Hamano on 05 October 2017, 04:48:19 UTC
Code clean-up.

* rs/resolve-ref-optional-result:
  refs: pass NULL to resolve_refdup() if hash is not needed
  refs: pass NULL to refs_resolve_refdup() if hash is not needed
2 parent s 29a67cc + efbd4fd
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);
void send_sideband(int fd, int band, const char *data, ssize_t sz, int packet_max);

#endif
back to top