19#ifndef PROTOCORE_CONFIG_IO_H
20#define PROTOCORE_CONFIG_IO_H
24#if PROTOCORE_ENABLE_CONFIG_IO
35 PROTOCORE_CFG_STR = 0,
36 PROTOCORE_CFG_U32 = 1,
43 protocore_cfg_type type;
50 const protocore_cfg_field *fields;
60 const protocore_cfg_field *fields;
93 ConfigIoExportArgs export_args;
94 ConfigIoImportArgs import_args;
100extern ConfigIoVars ConfigIoV;
105 void (*
const export)(uint8_t *work);
106 void (*
const import)(uint8_t *work);
111void protocore_config_io_export(uint8_t *work);
112void protocore_config_io_import(uint8_t *work);
118static const ConfigIoNs ConfigIo __attribute__((unused)) = {
119 .export = protocore_config_io_export,
120 .import = protocore_config_io_import,
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