22#ifndef PROTOCORE_GOOSE_H
23#define PROTOCORE_GOOSE_H
27#if PROTOCORE_ENABLE_GOOSE
35 uint32_t time_allowed_to_live;
45 const uint8_t *all_data;
52size_t protocore_goose_pdu(
const protocore_goose *g, uint8_t *out,
size_t cap);
59size_t protocore_goose_frame(
const uint8_t *dst,
const uint8_t *src, uint16_t appid,
const protocore_goose *g,
60 uint8_t *out,
size_t cap);
69 uint32_t time_allowed_to_live;
81 const uint8_t *all_data;
90proto_bool protocore_goose_parse_frame(
const uint8_t *buf,
size_t len, protocore_goose_rx *out);
#define PROTOCORE_BEGIN_DECLS
Give a header's declarations C linkage, so their symbol names carry no parameter types.
_Bool proto_bool
The truth value.
#define PROTOCORE_END_DECLS