pub type xmpp_timed_handler = Option<unsafe extern "C" fn(conn: *mut xmpp_conn_t, userdata: *mut c_void) -> c_int>;