diff options
Diffstat (limited to 'src/tls/s6tls-internal.h')
-rw-r--r-- | src/tls/s6tls-internal.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/tls/s6tls-internal.h b/src/tls/s6tls-internal.h index d232266..cd96e87 100644 --- a/src/tls/s6tls-internal.h +++ b/src/tls/s6tls-internal.h @@ -7,9 +7,13 @@ #include <stdint.h> #include <skalibs/gccattributes.h> +#include <skalibs/types.h> -extern void s6tls_exec_tlscio (int const *, uint32_t, unsigned int, unsigned int, char const *) gccattr_noreturn ; -extern void s6tls_exec_tlsdio (int const *, uint32_t, unsigned int, unsigned int, unsigned int) gccattr_noreturn ; +#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 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 ; |