#[unsafe(no_mangle)]pub unsafe extern "C" fn pamoja_lora_plan_rules(
plan: *const PamojaLoraPlan,
out_rules: *mut PamojaLoraPlanRules,
) -> PamojaStatusExpand description
Reads how a plan defines and uses its channels.
§Arguments
plan- the plan to read.out_rules- set to the rules on success.
§Returns
PamojaStatus::Ok on success.
§Errors
Returns PamojaStatus::InvalidArgument if either pointer is null.
§Safety
plan must be a live plan handle and out_rules must point at writable storage for
one PamojaLoraPlanRules.