diff options
Diffstat (limited to 'src/rexmpp.rs')
-rw-r--r-- | src/rexmpp.rs | 4 |
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, |