summaryrefslogtreecommitdiffstats
path: root/options/path.h
diff options
context:
space:
mode:
Diffstat (limited to 'options/path.h')
-rw-r--r--options/path.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/options/path.h b/options/path.h
index c3c3699a0b..19f4fb5909 100644
--- a/options/path.h
+++ b/options/path.h
@@ -77,6 +77,9 @@ void mp_path_strip_trailing_separator(char *path);
char *mp_path_join(void *talloc_ctx, const char *p1, const char *p2);
char *mp_path_join_bstr(void *talloc_ctx, struct bstr p1, struct bstr p2);
+// Return whether the path is absolute.
+bool mp_path_is_absolute(struct bstr path);
+
char *mp_getcwd(void *talloc_ctx);
bool mp_path_exists(const char *path);