X-Git-Url: https://jasonwoof.com/gitweb/?p=vor.git;a=blobdiff_plain;f=file.h;h=51045cc57cee906a1d82d363984323993e24d496;hp=14092ce16c77ef59d6ef9d47869cbbc992b19824;hb=96d01a50f7d3949ea598c404f1a26a8b909207f2;hpb=e10d6c0b95e2f4fe7acd75733370dae71bb3b73f diff --git a/file.h b/file.h index 14092ce..51045cc 100644 --- a/file.h +++ b/file.h @@ -19,19 +19,11 @@ #ifndef VOR_FILE_H #define VOR_FILE_H +#include #include -#include -extern char *g_data_dir; -extern char *g_score_file; -extern mode_t g_score_mode; - -char *add_path(char *filename); -int is_dir(char *dirname); -int is_file(char *filename); -int find_data_dir(void); -int find_score_file(void); -int find_files(void); +char *add_data_path(char *filename); +bool find_files(void); FILE *open_score_file(char *mode); #endif // VOR_FILE_H