]> git.ipfire.org Git - thirdparty/git.git/blame - pkt-line.h
Solaris needs inclusion of signal.h for signal()
[thirdparty/git.git] / pkt-line.h
CommitLineData
f3a3214e
LT
1#ifndef PKTLINE_H
2#define PKTLINE_H
3
4/*
5 * Silly packetized line writing interface
6 */
7void packet_flush(int fd);
4ec99bf0 8void packet_write(int fd, const char *fmt, ...) __attribute__((format (printf, 2, 3)));
f3a3214e
LT
9
10int packet_read_line(int fd, char *buffer, unsigned size);
583b7ea3 11ssize_t safe_write(int, const void *, ssize_t);
f3a3214e
LT
12
13#endif