#ifndef FILELIB_H #define FILELIB_H #include #include #include #include #include #include "util.h" #define GZIP_EXT ".gz" typedef struct { char* name; // relative bool gz; } hFile; hFile* makef(char* fname, const char* mode); bool writeln(const char* s, hFile* f); #endif