pub type ConnectionSession = *mut c_void;