Staging
v0.5.1
Revision b86bec6c4ff7909246e68a4495dcaaeede3907e9 authored by Junio C Hamano on 08 June 2006, 03:16:30 UTC, committed by Junio C Hamano on 08 June 2006, 03:19:00 UTC
Signed-off-by: Junio C Hamano <junkio@cox.net>
1 parent 99b41c8
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