diff options
Diffstat (limited to 'file.h')
-rw-r--r-- | file.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -70,6 +70,12 @@ char * file_get_basename(const struct file *); /* + * Get the parent file of the given file. Returns NULLL in case of error. + */ +struct file * +file_get_parent(const struct file *); + +/* * Build the data path (on the filesystem) for a file and optionally append * another component to the path. If no additional component is needed, it * should be NULL. |