[−][src]Function libcoap_sys::coap_dtls_context_check_keys_enabled
pub unsafe extern "C" fn coap_dtls_context_check_keys_enabled(
coap_context: *mut coap_context_t
) -> c_int
Check whether one of the coap_dtls_context_set_{psk|pki}() functions have been called.
Internal function.
@param coap_context The current coap_context_t object.
@return @c 1 if coap_dtls_context_set_{psk|pki}() called, else @c 0.