repo.or.cz
/
alt-git.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[PATCH] Add --info-only option to git-update-cache.
[alt-git.git]
/
pkt-line.h
blob
b0b4f6d495e06cfe797a9c8dfba38d61804e6c81
1
#ifndef PKTLINE_H
2
#define PKTLINE_H
3
4
/*
5
* Silly packetized line writing interface
6
*/
7
void
packet_flush
(
int
fd
);
8
void
packet_write
(
int
fd
,
const char
*
fmt
, ...);
9
10
int
packet_read_line
(
int
fd
,
char
*
buffer
,
unsigned
size
);
11
12
#endif