pub type ConnectionCost = *mut c_void;