Staging
v0.5.1
https://github.com/git/git
Revision bab39ed371145b83340750101e7ec85167845857 authored by Junio C Hamano on 03 May 2009, 22:20:03 UTC, committed by Junio C Hamano on 03 May 2009, 22:29:31 UTC
With a handful of fixes backmerged from 1.6.2.X series

Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent e89c6ea
Raw File
Tip revision: bab39ed371145b83340750101e7ec85167845857 authored by Junio C Hamano on 03 May 2009, 22:20:03 UTC
GIT 1.6.1.4
Tip revision: bab39ed
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
back to top