X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fshared%2Futil.h;h=89e9a00afcc34b0d3571c3a651a54be10d1b0b6e;hp=47497b578c36001b5314b6c07d25947a0587b528;hb=f56d5db919902851535ac1591d5c95ebcd3a0b17;hpb=825c6fe5eb362437aa46faa52b683a62eede9a13 diff --git a/src/shared/util.h b/src/shared/util.h index 47497b578..89e9a00af 100644 --- a/src/shared/util.h +++ b/src/shared/util.h @@ -358,7 +358,9 @@ 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, struct stat *root_dev); +int rm_rf_children_dangerous(int fd, bool only_dirs, bool honour_sticky, struct stat *root_dev); int rm_rf(const char *path, bool only_dirs, bool delete_root, bool honour_sticky); +int rm_rf_dangerous(const char *path, bool only_dirs, bool delete_root, bool honour_sticky); int pipe_eof(int fd);