summaryrefslogtreecommitdiff
path: root/strbuf.h
blob: da678e506fcb6219f73d07982b057192cb30beb3 (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;
	unsigned char *buf;
};

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

#endif /* STRBUF_H */