summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2023-06-01 03:46:48 +0000
committerLaurent Bercot <ska@appnovation.com>2023-06-01 03:46:48 +0000
commitd0b38944c50dab81755fca50a983a1bddefbfadf (patch)
tree8bab9da952d45c28e3f6dbed705c0f4c9aa78325 /src/include
parent96078d63fcd4acd96983a42abac5ab8604bc80ca (diff)
downloadskalibs-d0b38944c50dab81755fca50a983a1bddefbfadf.tar.xz
Refactor to add hiercopy_loose (for s6-l-i)
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/skalibs/djbunix.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/include/skalibs/djbunix.h b/src/include/skalibs/djbunix.h
index 5401515..0f654c7 100644
--- a/src/include/skalibs/djbunix.h
+++ b/src/include/skalibs/djbunix.h
@@ -155,7 +155,9 @@ extern int filecopy_unsafe (char const *, char const *, unsigned int) ;
extern int filecopy_suffix (char const *, char const *, unsigned int, char const *) ;
extern int sals (char const *, stralloc *, size_t *) ;
extern int hiercopy (char const *, char const *) ;
-extern int hiercopy_tmp (char const *, char const *, stralloc *) ;
+extern int hiercopy_loose (char const *, char const *) ;
+extern int hiercopy_loose_tmp (char const *, char const *, stralloc *) ;
+extern int hiercopy_internal (char const *, char const *, stralloc *, unsigned int) ;
/* Simple spawn functions with 0 or 1 communicating fds. */