Skip to main content

SzConfigTool_addDistinctCall

Function SzConfigTool_addDistinctCall 

Source
#[unsafe(no_mangle)]
pub extern "C" fn SzConfigTool_addDistinctCall( config_json: *const c_char, ftype_code: *const c_char, dfunc_code: *const c_char, element_list_json: *const c_char, ) -> SzConfigTool_result
Expand description

Add a distinct call with JSON element list

Creates a distinct call linking a function to a feature with element list. Note: Only one distinct call is allowed per feature.

§Parameters

  • config_json: Configuration JSON string
  • ftype_code: Feature type code
  • dfunc_code: Distinct function code
  • element_list_json: JSON array of element codes, e.g. [“NAME_LAST”, “NAME_FIRST”]

§Returns

SzConfigTool_result with modified config or error

§Memory

Caller must free result.response with SzConfigTool_free()