strophe
type xmpp_conn_handler = Option<extern fn(*const xmpp_conn_t, c_int, c_int, *const xmpp_stream_error_t, *const c_void)>;