pub type CastingConnection = *mut c_void;