From 65d71ab4b780a5d18a8146eb4567eb8a9105f4fe Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Thu, 13 Aug 2015 12:02:12 +0000 Subject: Add atomic_rm_rf and atomic_rm_rf_tmp --- src/include/skalibs/unix-transactional.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/include') diff --git a/src/include/skalibs/unix-transactional.h b/src/include/skalibs/unix-transactional.h index e1c8955..beb27b4 100644 --- a/src/include/skalibs/unix-transactional.h +++ b/src/include/skalibs/unix-transactional.h @@ -40,6 +40,9 @@ extern unsigned int openwritenclose_at (int, char const *, char const *, unsigne extern unsigned int openwritevnclose_at (int, char const *, siovec_t const *, unsigned int) ; extern int mkdir_unique (stralloc *, char const *, unsigned int) ; +extern int atomic_rm_rf (char const *) ; +extern int atomic_rm_rf_tmp (char const *, stralloc *) ; + typedef struct dirdescriptor_s dirdescriptor_t, *dirdescriptor_t_ref ; struct dirdescriptor_s -- cgit v1.2.3