diff options
author | Iwan Timmer <irtimmer@gmail.com> | 2019-06-15 22:54:41 +0200 |
---|---|---|
committer | Iwan Timmer <irtimmer@gmail.com> | 2019-06-18 19:16:36 +0200 |
commit | e22c5b20641e3ce6cd029cb40e3f4ed1330493bf (patch) | |
tree | 839b5da65aa36eb55a9d8921c91c276db072c907 /src/resolve/resolved-dnstls.h | |
parent | fix(journal-gatewayd): use relative urls (not starting with '/') (diff) | |
download | systemd-e22c5b20641e3ce6cd029cb40e3f4ed1330493bf.tar.xz systemd-e22c5b20641e3ce6cd029cb40e3f4ed1330493bf.zip |
resolved: move TLS data shared by all servers to manager
Instead of having a context and/or trusted CA list per server this is now moved to the server. Ensures future TLS configuration options are global instead of per server.
Diffstat (limited to 'src/resolve/resolved-dnstls.h')
-rw-r--r-- | src/resolve/resolved-dnstls.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/resolve/resolved-dnstls.h b/src/resolve/resolved-dnstls.h index fdd85eece6..b01de2d9d2 100644 --- a/src/resolve/resolved-dnstls.h +++ b/src/resolve/resolved-dnstls.h @@ -5,6 +5,7 @@ #error This source file requires DNS-over-TLS to be enabled #endif +typedef struct DnsTlsManagerData DnsTlsManagerData; typedef struct DnsTlsServerData DnsTlsServerData; typedef struct DnsTlsStreamData DnsTlsStreamData; @@ -28,5 +29,7 @@ int dnstls_stream_shutdown(DnsStream *stream, int error); ssize_t dnstls_stream_write(DnsStream *stream, const char *buf, size_t count); ssize_t dnstls_stream_read(DnsStream *stream, void *buf, size_t count); -void dnstls_server_init(DnsServer *server); void dnstls_server_free(DnsServer *server); + +void dnstls_manager_init(Manager *manager); +void dnstls_manager_free(Manager *manager); |