ipfrs_client_new

Function ipfrs_client_new 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn ipfrs_client_new( config_path: *const c_char, ) -> *mut IpfrsClient
Expand description

Initialize a new IPFRS client

§Arguments

  • config_path - Path to configuration file (optional, can be NULL)

§Returns

Pointer to IpfrsClient on success, NULL on failure. Use ipfrs_get_last_error() to retrieve error message.

§Safety

  • config_path must be NULL or a valid null-terminated UTF-8 string
  • Returned pointer must be freed with ipfrs_client_free()