Staging
v0.8.1
v0.8.1
Revision 4774780ab196ff4ace780445c06c8e5bfffffc49 authored by Junio C Hamano on 13 May 2009, 05:28:22 UTC, committed by Junio C Hamano on 13 May 2009, 05:30:29 UTC
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 235236c
pkt-line.h
#ifndef PKTLINE_H
#define PKTLINE_H
#include "git-compat-util.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);
ssize_t safe_write(int, const void *, ssize_t);
#endif
Computing file changes ...