diff options
author | defanor <defanor@uberspace.net> | 2023-06-14 08:26:57 +0300 |
---|---|---|
committer | defanor <defanor@uberspace.net> | 2023-06-14 08:26:57 +0300 |
commit | 931847c9c0d170410ec210ab558f3bbf6902355b (patch) | |
tree | 4d7bf90b30dc985edfbc09a5d0007b4aac8da533 /src/rexmpp_tls.h | |
parent | 2d4110996bea53a9568b750d00d4dcdcc3907bc6 (diff) |
Use more pointers to other structures from struct rexmpp
Instead of including them. Those structures can vary depending on
configuration options, while for bindings it is easier if they stay
the same, and are mere pointers. Besides, some of them may refer to
opaque Rust-only structures in the future.
Diffstat (limited to 'src/rexmpp_tls.h')
-rw-r--r-- | src/rexmpp_tls.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rexmpp_tls.h b/src/rexmpp_tls.h index 24ba042..4406ca7 100644 --- a/src/rexmpp_tls.h +++ b/src/rexmpp_tls.h @@ -43,6 +43,7 @@ struct rexmpp_tls { size_t tls_session_data_size; gnutls_session_t gnutls_session; gnutls_certificate_credentials_t gnutls_cred; + gnutls_certificate_credentials_t dtls_cred; }; #elif defined(USE_OPENSSL) #include <openssl/ssl.h> |