diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2015-08-13 12:02:12 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2015-08-13 12:02:12 +0000 |
commit | 65d71ab4b780a5d18a8146eb4567eb8a9105f4fe (patch) | |
tree | 93dae694b1fd6917176711e467f4f3efab16d1e9 /src/include | |
parent | 01dc2086a7b722133ce6d1582e4226942d590cb0 (diff) | |
download | skalibs-65d71ab4b780a5d18a8146eb4567eb8a9105f4fe.tar.xz |
Add atomic_rm_rf and atomic_rm_rf_tmp
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/skalibs/unix-transactional.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 |