projects
/
git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
trivial: use git-repo-config to detect if the test can be run on the repository
[git]
/
pkt-line.h
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, ...) __attribute__((format (printf, 2, 3)));
9
10
int packet_read_line(int fd, char *buffer, unsigned size);
11
12
#endif