summaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h
index f1cd080e42..e4b1f81c06 100644
--- a/src/util.h
+++ b/src/util.h
@@ -212,6 +212,8 @@ int safe_mkdir(const char *path, mode_t mode, uid_t uid, gid_t gid);
int mkdir_parents(const char *path, mode_t mode);
int mkdir_p(const char *path, mode_t mode);
+int parent_of_path(const char *path, char **parent);
+
int rmdir_parents(const char *path, const char *stop);
int get_process_name(pid_t pid, char **name);