Skip to main content

pamoja_lora_plan_rules

Function pamoja_lora_plan_rules 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_lora_plan_rules( plan: *const PamojaLoraPlan, out_rules: *mut PamojaLoraPlanRules, ) -> PamojaStatus
Expand 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.