summaryrefslogtreecommitdiff
path: root/src/include/skalibs/allreadwrite.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/skalibs/allreadwrite.h')
-rw-r--r--src/include/skalibs/allreadwrite.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/include/skalibs/allreadwrite.h b/src/include/skalibs/allreadwrite.h
index 6b2a0cf..d2e6bf7 100644
--- a/src/include/skalibs/allreadwrite.h
+++ b/src/include/skalibs/allreadwrite.h
@@ -6,11 +6,13 @@
#include <sys/types.h>
#include <sys/uio.h>
#include <skalibs/functypes.h>
+#include <skalibs/siovec.h>
extern int sanitize_read (int) ;
extern int unsanitize_read (int) ;
extern unsigned int allreadwrite (iofunc_t_ref, int, char *, unsigned int) ;
+extern unsigned int allreadwritev (iovfunc_t_ref, int, siovec_t const *, unsigned int) ;
extern int fd_read (int, char *, unsigned int) ;
extern int fd_write (int, char const *, unsigned int) ;
@@ -20,8 +22,12 @@ extern int fd_send (int, char const *, unsigned int, unsigned int) ;
extern unsigned int allread (int, char *, unsigned int) ;
extern unsigned int allwrite (int, char const *, unsigned int) ;
+extern unsigned int allreadv (int, siovec_t const *, unsigned int) ;
+extern unsigned int allwritev (int, siovec_t const *, unsigned int) ;
extern int fd_readv (int, struct iovec const *, unsigned int) ;
+extern int fd_readsv (int, siovec_t const *, unsigned int) ;
extern int fd_writev (int, struct iovec const *, unsigned int) ;
+extern int fd_writesv (int, siovec_t const *, unsigned int) ;
#endif