Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 20 lines (15 sloc) 0.589 kb
f3a3214 Make send/receive-pack be closer to doing something interesting
Linus Torvalds authored
1 #ifndef PKTLINE_H
2 #define PKTLINE_H
3
07d6893 @dstosberg Fix pkt-line.h to compile with a non-GCC compiler
dstosberg authored
4 #include "git-compat-util.h"
f5615d2 @spearce pkt-line: Add strbuf based functions
spearce authored
5 #include "strbuf.h"
07d6893 @dstosberg Fix pkt-line.h to compile with a non-GCC compiler
dstosberg authored
6
f3a3214 Make send/receive-pack be closer to doing something interesting
Linus Torvalds authored
7 /*
8 * Silly packetized line writing interface
9 */
10 void packet_flush(int fd);
4ec99bf @sirainen [PATCH] -Werror fixes
sirainen authored
11 void packet_write(int fd, const char *fmt, ...) __attribute__((format (printf, 2, 3)));
f5615d2 @spearce pkt-line: Add strbuf based functions
spearce authored
12 void packet_buf_flush(struct strbuf *buf);
13 void packet_buf_write(struct strbuf *buf, const char *fmt, ...) __attribute__((format (printf, 2, 3)));
f3a3214 Make send/receive-pack be closer to doing something interesting
Linus Torvalds authored
14
15 int packet_read_line(int fd, char *buffer, unsigned size);
f5615d2 @spearce pkt-line: Add strbuf based functions
spearce authored
16 int packet_get_line(struct strbuf *out, char **src_buf, size_t *src_len);
583b7ea upload-pack/fetch-pack: support side-band communication
Junio C Hamano authored
17 ssize_t safe_write(int, const void *, ssize_t);
f3a3214 Make send/receive-pack be closer to doing something interesting
Linus Torvalds authored
18
19 #endif
Something went wrong with that request. Please try again.