chiark / gitweb /
main: corrected do_switch_root()
[elogind.git] / src / shared / util.h
index 49756dc21ff7051b910c7897e91fb703e68cf13d..0af0299dbb502f113806f175458c82564bf5a70e 100644 (file)
@@ -349,6 +349,7 @@ int get_ctty(pid_t, dev_t *_devnr, char **r);
 int chmod_and_chown(const char *path, mode_t mode, uid_t uid, gid_t gid);
 int fchmod_and_fchown(int fd, mode_t mode, uid_t uid, gid_t gid);
 
+int rm_rf_children(int fd, bool only_dirs, bool honour_sticky);
 int rm_rf(const char *path, bool only_dirs, bool delete_root, bool honour_sticky);
 
 int pipe_eof(int fd);