Skip to main content

pamoja_profile_controller

Function pamoja_profile_controller 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_profile_controller( profile: *const PamojaProfile, ) -> *mut PamojaController
Expand description

Builds the decision logic a profile describes.

§Arguments

  • profile - the profile.

§Returns

A handle the caller must release with pamoja_controller_free, or null if profile is null.

§Safety

profile must be a live handle from a call that produced one, or null.