summaryrefslogtreecommitdiff
path: root/src/rexmpp.rs
diff options
context:
space:
mode:
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