diff options
Diffstat (limited to 'src/rexmpp_jid.rs')
-rw-r--r-- | src/rexmpp_jid.rs | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/rexmpp_jid.rs b/src/rexmpp_jid.rs new file mode 100644 index 0000000..7730b2f --- /dev/null +++ b/src/rexmpp_jid.rs @@ -0,0 +1,17 @@ +use std::os::raw::{c_char}; + +#[repr(C)] +pub struct RexmppJID { + local: [c_char; 1024], + domain: [c_char; 1024], + resource: [c_char; 1024], + bare: [c_char; 2048], + full: [c_char; 3072] +} + +// #[no_mangle] +// extern "C" +// fn rexmpp_jid_parse (str: *const c_char, jid : &mut RexmppJID) -> c_int +// { + +// } |