pub type crypt_token_validate_func = extern "C" fn(_: *mut crypt_device, _: *const c_char) -> c_int;