https://github.com/git/git
Raw File
Tip revision: 92e802c6ccb96d1b5e8561b0a136d43d82253293 authored by Junio C Hamano on 06 January 2006, 04:52:50 UTC
GIT 1.0.7
Tip revision: 92e802c
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