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.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/include/skalibs/allreadwrite.h b/src/include/skalibs/allreadwrite.h
index 3df1ed1..c0a97fb 100644
--- a/src/include/skalibs/allreadwrite.h
+++ b/src/include/skalibs/allreadwrite.h
@@ -1,16 +1,17 @@
/* ISC license. */
-#ifndef ALLREADWRITE_H
-#define ALLREADWRITE_H
+#ifndef SKALIBS_ALLREADWRITE_H
+#define SKALIBS_ALLREADWRITE_H
#include <sys/uio.h>
+
#include <skalibs/functypes.h>
extern ssize_t sanitize_read (ssize_t) ;
extern ssize_t unsanitize_read (ssize_t) ;
-extern size_t allreadwrite (iofunc_t_ref, int, char *, size_t) ;
-extern size_t allreadwritev (iovfunc_t_ref, int, struct iovec const *, unsigned int) ;
+extern size_t allreadwrite (io_func_ref, int, char *, size_t) ;
+extern size_t allreadwritev (iov_func_ref, int, struct iovec const *, unsigned int) ;
extern ssize_t fd_read (int, char *, size_t) ;
extern ssize_t fd_write (int, char const *, size_t) ;