rebase: allow --skip to work with --merge
[git/git-svn.git] / pkt-line.h
blob9abef24de36119a56a9bee48e49c2c8fccae32fc
1 #ifndef PKTLINE_H
2 #define PKTLINE_H
4 /*
5 * Silly packetized line writing interface
6 */
7 void packet_flush(int fd);
8 void packet_write(int fd, const char *fmt, ...) __attribute__((format (printf, 2, 3)));
10 int packet_read_line(int fd, char *buffer, unsigned size);
11 ssize_t safe_write(int, const void *, ssize_t);
13 #endif