51#ifndef PROTOCORE_STOMP_H
52#define PROTOCORE_STOMP_H
56#if PROTOCORE_ENABLE_STOMP
93 const char *
const *header_names;
94 const char *
const *header_values;
135 StompBuildArgs build_args;
136 StompLookupArgs lookup;
145extern StompVars StompV;
150 void (*
const build)(uint8_t *work);
151 void (*
const parse)(uint8_t *work);
152 void (*
const header)(uint8_t *work);
153 void (*
const unescape)(uint8_t *work);
158void protocore_stomp_build(uint8_t *work);
159void protocore_stomp_parse(uint8_t *work);
160void protocore_stomp_header(uint8_t *work);
161void protocore_stomp_unescape(uint8_t *work);
167static const StompNs Stomp __attribute__((unused)) = {
168 .build = protocore_stomp_build,
169 .parse = protocore_stomp_parse,
170 .header = protocore_stomp_header,
171 .unescape = protocore_stomp_unescape,
#define PROTOCORE_STOMP_MAX_HEADERS
Max header lines parsed per STOMP frame (extras beyond this are ignored).
#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