diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2020-11-21 11:58:44 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2020-11-21 11:58:44 +0000 |
commit | fb76faf56aca9b79648d776896a4a4fae7c978cf (patch) | |
tree | 77aed5d588534a742b7795fa9f8406469e067414 /src/tls/s6tls-internal.h | |
parent | 7f2cd05720e721c7e8131d4a4762d97a29fbf7b4 (diff) | |
download | s6-networking-fb76faf56aca9b79648d776896a4a4fae7c978cf.tar.xz |
Move all tls stuff into its own subdir
Diffstat (limited to 'src/tls/s6tls-internal.h')
-rw-r--r-- | src/tls/s6tls-internal.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/tls/s6tls-internal.h b/src/tls/s6tls-internal.h new file mode 100644 index 0000000..09be544 --- /dev/null +++ b/src/tls/s6tls-internal.h @@ -0,0 +1,18 @@ +/* ISC license */ + +#ifndef S6TLS_INTERNAL_H +#define S6TLS_INTERNAL_H + +#include <stdint.h> +#include <unistd.h> + +#include <skalibs/gccattributes.h> + +#define s6tls_envvars "CADIR\0CAFILE\0KEYFILE\0CERTFILE\0TLS_UID\0TLS_GID" + +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) gccattr_noreturn ; +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 ; + +#endif |