mirror of
https://github.com/git/git.git
synced 2024-11-19 18:44:08 +01:00
583b7ea31b
This implements a protocol extension between fetch-pack and upload-pack to allow stderr stream from upload-pack (primarily used for the progress bar display) to be passed back. Signed-off-by: Junio C Hamano <junkio@cox.net>
14 lines
318 B
C
14 lines
318 B
C
#ifndef PKTLINE_H
|
|
#define PKTLINE_H
|
|
|
|
/*
|
|
* Silly packetized line writing interface
|
|
*/
|
|
void packet_flush(int fd);
|
|
void packet_write(int fd, const char *fmt, ...) __attribute__((format (printf, 2, 3)));
|
|
|
|
int packet_read_line(int fd, char *buffer, unsigned size);
|
|
ssize_t safe_write(int, const void *, ssize_t);
|
|
|
|
#endif
|