1 /* 2 * Generated using zcbor version 0.3.99 3 * https://github.com/NordicSemiconductor/zcbor 4 * Generated with a --default-max-qty of 3 5 */ 6 7 #ifndef EDHOC_ENCODE_TH2_H__ 8 #define EDHOC_ENCODE_TH2_H__ 9 10 #include <stdint.h> 11 #include <stdbool.h> 12 #include <stddef.h> 13 #include <string.h> 14 #include "zcbor_encode.h" 15 #include "cbor/edhoc_encode_th2_types.h" 16 17 #if DEFAULT_MAX_QTY != 3 18 #error "The type file was generated with a different default_max_qty than this file" 19 #endif 20 21 22 bool cbor_encode_th2( 23 uint8_t *payload, size_t payload_len, 24 const struct th2 *input, 25 size_t *payload_len_out); 26 27 28 #endif /* EDHOC_ENCODE_TH2_H__ */ 29