Revision a2ef9d633f67edc227b00209d5b72ec388388877 authored by J. Bruce Fields on 19 August 2007, 02:16:24 UTC, committed by J. Bruce Fields on 26 August 2007, 14:35:16 UTC
Use the word "commit" as a synonym for "version" from the start.

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
1 parent a5f90f3
Raw File
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