Revision f89ad67fb054bead054bc92b4d0d4d007248b611 authored by Junio C Hamano on 26 October 2005, 06:43:59 UTC, committed by Junio C Hamano on 26 October 2005, 06:43:59 UTC
Signed-off-by: Junio C Hamano <junkio@cox.net>
1 parent 271440e
Raw File
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