summaryrefslogtreecommitdiff
path: root/src/rexmpp.rs
diff options
context:
space:
mode:
authordefanor <defanor@uberspace.net>2023-09-23 11:35:39 +0300
committerdefanor <defanor@uberspace.net>2023-09-24 13:14:42 +0300
commit7a63d327772dc64978e9159d49885a9ae7dd9b4e (patch)
treee3201f3fd56236a223ffc0f8be70f1b9950d6ad0 /src/rexmpp.rs
parent4ea2ee3870d95b6d95c8e9c7c08277bc9d34d5e0 (diff)
Move GnuTLS operations from Jingle module into TLS module
Diffstat (limited to 'src/rexmpp.rs')
-rw-r--r--src/rexmpp.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/rexmpp.rs b/src/rexmpp.rs
index 2959ec3..1e1082a 100644
--- a/src/rexmpp.rs
+++ b/src/rexmpp.rs
@@ -157,6 +157,11 @@ pub struct Rexmpp {
pub iq_cache_size: u32,
pub max_jingle_sessions: u32,
+ // X.509 settings (for TLS and DTLS)
+ pub x509_key_file: *const c_char,
+ pub x509_cert_file: *const c_char,
+ pub x509_trust_file: *const c_char,
+
// Callbacks
// c_variadic is experimental and cannot be used on the stable