aboutsummaryrefslogtreecommitdiff
path: root/strbuf.h
blob: 74cc012c2c62d05cb773c6dd4776af0fdc237dfb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef STRBUF_H
#define STRBUF_H
struct strbuf {
	int alloc;
	int len;
	int eof;
	char *buf;
};

extern void strbuf_init(struct strbuf *);
extern void read_line(struct strbuf *, FILE *, int);

#endif /* STRBUF_H */