riot_sys::bindgen

Function nanocoap_cache_key_compare

Source
pub unsafe extern "C" fn nanocoap_cache_key_compare(
    cache_key1: *mut u8,
    cache_key2: *mut u8,
) -> ssize_t
Expand description

@brief Compares two cache keys.

@param[in] cache_key1 The first cache key in the comparison @param[in] cache_key2 The second cache key in the comparison

@return 0 if cache keys are equal @return <0 or 0> (see memcmp()) for unequal cache keys