Merge branch 'lt/diffgen' into next
[git/dscho.git] / strbuf.h
blob74cc012c2c62d05cb773c6dd4776af0fdc237dfb
1 #ifndef STRBUF_H
2 #define STRBUF_H
3 struct strbuf {
4 int alloc;
5 int len;
6 int eof;
7 char *buf;
8 };
10 extern void strbuf_init(struct strbuf *);
11 extern void read_line(struct strbuf *, FILE *, int);
13 #endif /* STRBUF_H */