48#ifndef PROTOCORE_CLOUDEVENTS_H
49#define PROTOCORE_CLOUDEVENTS_H
53#if PROTOCORE_ENABLE_CLOUDEVENTS
60#define PROTOCORE_CLOUDEVENTS_SPECVERSION "1.0"
67#define PROTOCORE_CLOUDEVENTS_MEDIA_TYPE "application/cloudevents+json"
81 const char *datacontenttype;
101} CloudEventEnvelopeArgs;
107} CloudEventMessageArgs;
144 CloudEventAttrArgs attr;
145 CloudEventDataArgs data;
146 CloudEventEnvelopeArgs envelope;
147 CloudEventMessageArgs msg;
153extern CloudEventsVars CloudEventsV;
158 void (*
const build_structured)(uint8_t *work);
159 void (*
const read_binary)(uint8_t *work);
164void protocore_cloud_events_build_structured(uint8_t *work);
165void protocore_cloud_events_read_binary(uint8_t *work);
171static const CloudEventsNs CloudEvents __attribute__((unused)) = {
172 .build_structured = protocore_cloud_events_build_structured,
173 .read_binary = protocore_cloud_events_read_binary,
#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