From 7d6031ae997cfd08b51e687cc68d11d572b23bf7 Mon Sep 17 00:00:00 2001 From: Michael Pavone Date: Sun, 8 Nov 2015 22:03:34 -0800 Subject: Make menu stuff work on Android (theoretically) --- util.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'util.h') diff --git a/util.h b/util.h index 24750e9..f299906 100644 --- a/util.h +++ b/util.h @@ -28,6 +28,10 @@ void set_exe_str(char * str); char * get_exe_dir(); //Returns the user's home directory char * get_home_dir(); +//Returns an appropriate path for storing config files +char *get_config_dir(); +//Reads a file bundled with the executable +char *read_bundled_file(char *name, long *sizeret); //Retunrs an array of normal files and directories residing in a directory dir_entry *get_dir_list(char *path, size_t *numret); //Frees a dir list returned by get_dir_list -- cgit v1.2.3