Skip to main content

pamoja_profile_topic

Function pamoja_profile_topic 

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

Returns the topic a profile publishes each reading to.

§Arguments

  • profile - the profile.

§Returns

A null-terminated UTF-8 string, which the caller must release with pamoja_string_free, or null if profile is null.

§Safety

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