summaryrefslogtreecommitdiffstats
path: root/src/core/chown-recursive.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/chown-recursive.h')
-rw-r--r--src/core/chown-recursive.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/chown-recursive.h b/src/core/chown-recursive.h
new file mode 100644
index 0000000..f3fa40a
--- /dev/null
+++ b/src/core/chown-recursive.h
@@ -0,0 +1,6 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
+#pragma once
+
+#include <sys/types.h>
+
+int path_chown_recursive(const char *path, uid_t uid, gid_t gid);