aboutsummaryrefslogtreecommitdiffstats
path: root/android/utils/path.h
diff options
context:
space:
mode:
Diffstat (limited to 'android/utils/path.h')
-rw-r--r--android/utils/path.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/android/utils/path.h b/android/utils/path.h
index 419e6bf..2926e5e 100644
--- a/android/utils/path.h
+++ b/android/utils/path.h
@@ -118,6 +118,12 @@ extern char* path_basename( const char* path );
*/
extern char* path_search_exec( const char* filename );
+/* Return the absolute version of a path. If 'path' is already absolute,
+ * this will be a simple copy. Otherwise, this function will prepend the
+ * current working directory to the result.
+ */
+extern char* path_get_absolute( const char* path );
+
/** OTHER FILE UTILITIES
**
** path_empty_file() creates an empty file at a given path location.