Add documentation for show-branch --topics
[alt-git.git] / pkt-line.h
blob9df653f6f5afe720870658d7093bddbf3e66beaf
1 #ifndef PKTLINE_H
2 #define PKTLINE_H
4 #include "git-compat-util.h"
6 /*
7 * Silly packetized line writing interface
8 */
9 void packet_flush(int fd);
10 void packet_write(int fd, const char *fmt, ...) __attribute__((format (printf, 2, 3)));
12 int packet_read_line(int fd, char *buffer, unsigned size);
13 ssize_t safe_write(int, const void *, ssize_t);
15 #endif