pub unsafe fn coap_hdr_set_type(hdr: *mut coap_hdr_t, type_0: c_uint)