add get_my_user_directory() to centralize HOME processing

This commit is contained in:
Philippe Teuwen 2019-09-12 20:13:01 +02:00
commit 46574ae0f5
5 changed files with 22 additions and 10 deletions

View file

@ -30,6 +30,7 @@ extern "C" {
int push_cmdscriptfile(char *path, bool stayafter);
const char *get_my_executable_path(void);
const char *get_my_executable_directory(void);
const char *get_my_user_directory(void);
void main_loop(char *script_cmds_file, char *script_cmd, bool stayInCommandLoop);
#ifdef __cplusplus