X-Git-Url: https://jasonwoof.com/gitweb/?p=vor.git;a=blobdiff_plain;f=file.h;h=51045cc57cee906a1d82d363984323993e24d496;hp=806772c719449905d6eb54f8d055816393eb902a;hb=HEAD;hpb=a2af96e68b210b7c3db90b7ec474498c5611a3a7 diff --git a/file.h b/file.h index 806772c..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 *load_file(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