#[unsafe(no_mangle)]pub unsafe extern "C" fn ipfrs_has(
client: *mut IpfrsClient,
cid: *const c_char,
out_exists: *mut c_int,
) -> c_intExpand description
Check if a block exists by CID
§Arguments
client- Pointer to IpfrsClientcid- Null-terminated CID stringout_exists- Output pointer to receive existence flag (1 = exists, 0 = not found)
§Returns
Error code (0 for success)
§Safety
clientmust be a valid pointer fromipfrs_client_new()cidmust be a valid null-terminated UTF-8 stringout_existsmust be a valid pointer