summaryrefslogtreecommitdiff
path: root/src/tls/s6tls-internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tls/s6tls-internal.h')
-rw-r--r--src/tls/s6tls-internal.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/tls/s6tls-internal.h b/src/tls/s6tls-internal.h
index cd96e87..2870744 100644
--- a/src/tls/s6tls-internal.h
+++ b/src/tls/s6tls-internal.h
@@ -3,7 +3,7 @@
#ifndef S6TLS_INTERNAL_H
#define S6TLS_INTERNAL_H
-#include <stddef.h>
+#include <sys/types.h>
#include <stdint.h>
#include <skalibs/gccattributes.h>
@@ -12,8 +12,9 @@
#define S6TLS_PREP_IO_ARGC 15
#define S6TLS_PREP_IO_BUFLEN (5 * UINT_FMT)
-extern void s6tls_prep_tlscio (char const **, char *, int, int, int, uint32_t, unsigned int, unsigned int, char const *) ;
-extern void s6tls_prep_tlsdio (char const **, char *, int, int, int, uint32_t, unsigned int, unsigned int, unsigned int) ;
+extern pid_t s6tls_io_spawn (char const *const *argv, int const [4][2]) ;
+extern void s6tls_prep_tlscio (char const **, char *, int const [4][2], uint32_t, unsigned int, unsigned int, char const *) ;
+extern void s6tls_prep_tlsdio (char const **, char *, int const [4][2], uint32_t, unsigned int, unsigned int, unsigned int) ;
extern void s6tls_sync_and_exec_app (char const *const *, int const [4][2], pid_t, uint32_t) gccattr_noreturn ;
extern void s6tls_ucspi_exec_app (char const *const *, int const [4][2], uint32_t) gccattr_noreturn ;
extern void s6tls_clean_and_exec (char const *const *, uint32_t, char const *, size_t) gccattr_noreturn ;