#[unsafe(no_mangle)]pub unsafe extern "C" fn pamoja_ros2_dds_topic(
fqn: *const c_char,
kind: PamojaEntityKind,
) -> *mut PamojaStringExpand description
Returns the DDS topic a fully qualified ROS 2 name maps onto.
§Arguments
fqn- the fully qualified name, as null-terminated UTF-8.kind- which subsystem the name belongs to, which fixes the prefix.
§Returns
A string the caller must release with
pamoja_string_free, or null if the name is not
fully qualified or fqn is null.
§Safety
fqn must be a valid null-terminated UTF-8 string for the duration of the
call, or null.