https://github.com/git/git
Raw File
Tip revision: 16cee38ae2bff93a4e4c512550fb4ccac035a3a1 authored by Junio C Hamano on 06 June 2006, 05:36:21 UTC
rev-parse: tighten constness properly.
Tip revision: 16cee38
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