27#ifndef PROTOCORE_DF1_H
28#define PROTOCORE_DF1_H
32#if PROTOCORE_ENABLE_DF1
119 Df1BuildFrameArgs build_frame_args;
120 Df1ParseFrameArgs parse_frame_args;
133 void (*
const bcc)(uint8_t *work);
134 void (*
const crc)(uint8_t *work);
135 void (*
const build_frame)(uint8_t *work);
136 void (*
const parse_frame)(uint8_t *work);
141void protocore_df1_bcc(uint8_t *work);
142void protocore_df1_crc(uint8_t *work);
143void protocore_df1_build_frame(uint8_t *work);
144void protocore_df1_parse_frame(uint8_t *work);
150static const Df1Ns Df1 __attribute__((unused)) = {
151 .bcc = protocore_df1_bcc,
152 .crc = protocore_df1_crc,
153 .build_frame = protocore_df1_build_frame,
154 .parse_frame = protocore_df1_parse_frame,
PROTO_ENUM_PACKED
Application protocol spoken on a listener port or connection slot.
#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