summaryrefslogtreecommitdiff
path: root/src/rexmpp.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/rexmpp.rs')
-rw-r--r--src/rexmpp.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/rexmpp.rs b/src/rexmpp.rs
index b8057ba..2959ec3 100644
--- a/src/rexmpp.rs
+++ b/src/rexmpp.rs
@@ -89,6 +89,10 @@ pub enum TLSPolicy {
Avoid
}
+extern {
+ pub fn rexmpp_gen_id (s: *mut Rexmpp) -> *mut c_char;
+}
+
type IQCallback = unsafe extern "C"
fn (s: *mut Rexmpp, cb_data: *mut c_void,
request: *mut rexmpp_xml::RexmppXML, response: *mut rexmpp_xml::RexmppXML,