pub type ServiceDocument = *mut c_void;