20#ifndef PROTOCORE_EXC_DECODER_H
21#define PROTOCORE_EXC_DECODER_H
25#if PROTOCORE_ENABLE_EXC_DECODER
30#ifndef PROTOCORE_EXC_MAX_FRAMES
31#define PROTOCORE_EXC_MAX_FRAMES 32
49 ExcFrame frames[PROTOCORE_EXC_MAX_FRAMES];
108 ExcParseArgs parse_args;
113#if PROTOCORE_HAS_VENDOR_COREDUMP
123 void (*
const parse)(uint8_t *work);
124 void (*
const json)(uint8_t *work);
125 void (*
const present)(uint8_t *work);
126 void (*
const summary)(uint8_t *work);
127 void (*
const read)(uint8_t *work);
128 void (*
const save)(uint8_t *work);
129 void (*
const erase)(uint8_t *work);
134void protocore_exc_parse(uint8_t *work);
135void protocore_exc_json(uint8_t *work);
136#if PROTOCORE_HAS_VENDOR_COREDUMP
137void protocore_exc_present(uint8_t *work);
138void protocore_exc_summary(uint8_t *work);
139void protocore_exc_read(uint8_t *work);
140void protocore_exc_save(uint8_t *work);
141void protocore_exc_erase(uint8_t *work);
148static const ExcDecoderNs Exc __attribute__((unused)) = {
149 .parse = protocore_exc_parse,
150 .json = protocore_exc_json,
151#if PROTOCORE_HAS_VENDOR_COREDUMP
152 .present = protocore_exc_present,
153 .summary = protocore_exc_summary,
154 .read = protocore_exc_read,
155 .save = protocore_exc_save,
156 .erase = protocore_exc_erase,
The mount: which store is behind the filesystem, and the vtable it answers through.
A storage backend. Each open call returns a small handle (>= 0) or -1.
#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