summaryrefslogtreecommitdiffstats
path: root/src/filesystem.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/filesystem.h')
-rw-r--r--src/filesystem.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/filesystem.h b/src/filesystem.h
index 319dd49..f888f5f 100644
--- a/src/filesystem.h
+++ b/src/filesystem.h
@@ -43,6 +43,15 @@ char*
lilv_path_absolute(const char* path);
/**
+ Return `path` as an absolute path relative to `parent`.
+
+ If `path` is absolute, an identical copy of it is returned. Otherwise, the
+ returned path is relative to `parent`.
+*/
+char*
+lilv_path_absolute_child(const char* path, const char* parent);
+
+/**
Return `path` relative to `base` if possible.
If `path` is not within `base`, a copy is returned. Otherwise, an