diff options
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/skalibs/bitarray.h | 1 | ||||
-rw-r--r-- | src/include/skalibs/unix-transactional.h | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/include/skalibs/bitarray.h b/src/include/skalibs/bitarray.h index 7cf79b3..ed44fed 100644 --- a/src/include/skalibs/bitarray.h +++ b/src/include/skalibs/bitarray.h @@ -24,6 +24,7 @@ extern int bitarray_testandpoke (unsigned char *, unsigned int, int) ; extern unsigned int bitarray_firstclear (unsigned char const *, unsigned int) gccattr_pure ; extern unsigned int bitarray_firstset (unsigned char const *, unsigned int) gccattr_pure ; #define bitarray_first(s, n, h) ((h) ? bitarray_firstset(s, n) : bitarray_firstclear(s, n)) +extern unsigned int bitarray_countones (unsigned char const *, unsigned int) gccattr_pure ; extern void bitarray_not (unsigned char *, unsigned int, unsigned int) ; extern void bitarray_and (unsigned char *, unsigned char const *, unsigned char const *, unsigned int) ; diff --git a/src/include/skalibs/unix-transactional.h b/src/include/skalibs/unix-transactional.h index 13129f1..e1c8955 100644 --- a/src/include/skalibs/unix-transactional.h +++ b/src/include/skalibs/unix-transactional.h @@ -6,6 +6,7 @@ #include <sys/types.h> #include <sys/stat.h> #include <skalibs/uint64.h> +#include <skalibs/siovec.h> #include <skalibs/stralloc.h> /* Transactional/reliable filesystem operations */ @@ -36,6 +37,7 @@ extern int openwritenclose_devino (char const *, char const *, unsigned int, uin extern int openwritenclose_tmp (char const *, char const *, unsigned int, stralloc *) ; extern int openwritenclose_devino_tmp (char const *, char const *, unsigned int, uint64 *, uint64 *, stralloc *) ; extern unsigned int openwritenclose_at (int, char const *, char const *, unsigned int) ; +extern unsigned int openwritevnclose_at (int, char const *, siovec_t const *, unsigned int) ; extern int mkdir_unique (stralloc *, char const *, unsigned int) ; |