diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2023-09-08 19:38:35 +0000 |
---|---|---|
committer | Laurent Bercot <ska@appnovation.com> | 2023-09-08 19:38:35 +0000 |
commit | fdd1f0c0ec33575a78b589b46d095c3a4a0d8510 (patch) | |
tree | 231894189c8baf3833418afe1e9fc6587c19d091 /src/tls/s6tls-internal.h | |
parent | 7113c4cf792ec44ec04a54e9723fa31a97bee5a7 (diff) | |
download | s6-networking-fdd1f0c0ec33575a78b589b46d095c3a4a0d8510.tar.xz |
Fully defork s6-tlsc and s6-tlsd
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/tls/s6tls-internal.h')
-rw-r--r-- | src/tls/s6tls-internal.h | 7 |
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 ; |