diff options
author | Michael Pavone <pavone@retrodev.com> | 2015-07-26 13:25:31 -0700 |
---|---|---|
committer | Michael Pavone <pavone@retrodev.com> | 2015-07-26 13:25:31 -0700 |
commit | 3372e57c62e3ff5f93c5541ef5b969229d132463 (patch) | |
tree | df1a91e13ebef01d2ad636bd940c7e514a6919ff /util.h | |
parent | 4755aa94deb0a8fb90bf74033d370e9370d69ca2 (diff) | |
parent | bee8b42029900ca034675c54d98813a61ca4407a (diff) |
Merge
Diffstat (limited to 'util.h')
-rw-r--r-- | util.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -25,5 +25,11 @@ char * get_exe_dir(); char * get_home_dir(); //Returns the contents of a symlink in a newly allocated string char * readlink_alloc(char * path); +//Prints an error message to stderr and to a message box if not in headless mode and then exits +void fatal_error(char *format, ...); +//Prints an information message to stdout and to a message box if not in headless mode and not attached to a console +void info_message(char *format, ...); +//Prints an information message to stderr and to a message box if not in headless mode and not attached to a console +void warning(char *format, ...); #endif //UTIL_H_ |