2011-05-25 20:40:47 +01:00
|
|
|
/* See LICENSE file for copyright and license details. */
|
|
|
|
|
2012-05-21 21:09:38 +00:00
|
|
|
struct linebuf {
|
|
|
|
char **lines;
|
|
|
|
long nlines;
|
|
|
|
long capacity;
|
|
|
|
};
|
|
|
|
#define EMPTY_LINEBUF {NULL, 0, 0,}
|
|
|
|
void getlines(FILE *, struct linebuf *);
|
|
|
|
|
2014-06-01 13:57:22 +02:00
|
|
|
ssize_t agetline(char **, size_t *, FILE *);
|
2011-05-26 16:18:42 -01:00
|
|
|
void concat(FILE *, const char *, FILE *, const char *);
|