[−][src]Function eosio_cdt_sys::check_permission_authorization
pub unsafe extern "C" fn check_permission_authorization(
account: capi_name,
permission: capi_name,
pubkeys_data: *const c_char,
pubkeys_size: u32,
perms_data: *const c_char,
perms_size: u32,
delay_us: u64
) -> i32
Checks if a permission is authorized by a provided delay and a provided set of keys and permissions
@param account - the account owner of the permission @param permission - the name of the permission to check for authorization @param pubkeys_data - pointer to the start of the serialized vector of provided public keys @param pubkeys_size - size (in bytes) of serialized vector of provided public keys (can be 0 if no public keys are to be provided) @param perms_data - pointer to the start of the serialized vector of provided permissions (empty permission name acts as wildcard) @param perms_size - size (in bytes) of the serialized vector of provided permissions @param delay_us - the provided delay in microseconds (cannot exceed INT64_MAX)
@return 1 if the permission is authorized, 0 otherwise