#[unsafe(no_mangle)]pub unsafe extern "C" fn ipfrs_get(
client: *mut IpfrsClient,
cid: *const c_char,
out_data: *mut *mut u8,
out_len: *mut usize,
) -> c_intExpand description
Get data from IPFRS by CID
§Arguments
client- Pointer to IpfrsClientcid- Null-terminated CID stringout_data- Output pointer to receive data buffer (must be freed with ipfrs_data_free)out_len- Output pointer to receive data length
§Returns
Error code (0 for success)
§Safety
clientmust be a valid pointer fromipfrs_client_new()cidmust be a valid null-terminated UTF-8 stringout_datamust be a valid pointerout_lenmust be a valid pointer