swh:1:snp:6df5a50b8107b6bbe1e51d0239d816a7503c536a
Raw File
Tip revision: 8fedb83c05d4b3d877a220d614e8b9d40f02709d authored by Junio C Hamano on 30 January 2006, 01:55:20 UTC
GIT 1.1.6
Tip revision: 8fedb83
pkt-line.h
#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);

#endif
back to top