#include <unistd.h>
#include <dirent.h>
#include <inttypes.h>
+#include <fnmatch.h>
#include <pcre.h>
int dbfile_scanf(const char *fmt, ...) SCANFMT(1,2);
int dbfile_vscanf(const char *fmt, va_list al) SCANFMT(1,0);
+int gzopen(const char *zpath, int oflags, FILE **f_r, pid_t *pid_r,
+ const char *gziplevel /* 0 for read; may be 0, or "-1" etc. */);
+ /* returns errno value from open */
+void gzclose(FILE **f, pid_t *p, const char *what);
+ /* also OK with f==0, or p==-1 */
char *masprintf(const char *fmt, ...) FMT(1,2);