swh:1:snp:6df5a50b8107b6bbe1e51d0239d816a7503c536a
Raw File
Tip revision: 5a2282de13c4da13f979185e652c8a08e2481fd1 authored by Junio C Hamano on 08 January 2006, 22:22:19 UTC
GIT 1.1.0
Tip revision: 5a2282d
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