pub type ReservoirState = *mut ReservoirStateData;