1#ifndef FILE_HANDLING_TEST_H 2#define FILE_HANDLING_TEST_H 3 4#include "config.h" 5#include "stdlib.h" 6#include "sntptest.h" 7 8#include <string.h> 9#include <unistd.h> 10 11 12enum DirectoryType { 13 INPUT_DIR = 0, 14 OUTPUT_DIR = 1 15}; 16 17#define SRCDIR_DEF "@abs_srcdir@/data/"; 18//const char srcdir[] = "@abs_srcdir@/data/"; 19 20const char * 21CreatePath(const char* filename, enum DirectoryType argument); 22 23 24int 25GetFileSize(FILE *file); 26 27 28bool 29CompareFileContent(FILE* expected, FILE* actual); 30 31void 32ClearFile(const char * filename) ; 33 34 35#endif // FILE_HANDLING_TEST_H 36