pub unsafe fn gcoap_response(
    pdu: *mut coap_pkt_t,
    buf: *mut uint8_t,
    len: size_t,
    code: c_uint
) -> ssize_t