2014-06-05 07:48:45 -04:00
|
|
|
/* See LICENSE file for copyright and license details. */
|
|
|
|
|
|
|
|
struct linebuf {
|
|
|
|
char **lines;
|
|
|
|
long nlines;
|
|
|
|
long capacity;
|
|
|
|
};
|
|
|
|
#define EMPTY_LINEBUF {NULL, 0, 0,}
|
|
|
|
void getlines(FILE *, struct linebuf *);
|
|
|
|
|
|
|
|
ssize_t agetline(char **, size_t *, FILE *);
|
2014-07-10 13:51:51 -04:00
|
|
|
|
|
|
|
void concat(FILE *, const char *, FILE *, const char *);
|