42#ifndef PROTOCORE_XMPP_H
43#define PROTOCORE_XMPP_H
47#if PROTOCORE_ENABLE_XMPP
85 const char *extension;
129 XmppStreamArgs stream;
130 XmppCommonArgs common;
132 XmppStanzaArgs stanza;
138extern XmppVars XmppV;
143 void (*
const escape)(uint8_t *work);
144 void (*
const stream_open)(uint8_t *work);
145 void (*
const message)(uint8_t *work);
146 void (*
const presence)(uint8_t *work);
147 void (*
const iq)(uint8_t *work);
148 void (*
const stanza_name)(uint8_t *work);
149 void (*
const attr)(uint8_t *work);
154void protocore_xmpp_escape(uint8_t *work);
155void protocore_xmpp_stream_open(uint8_t *work);
156void protocore_xmpp_message(uint8_t *work);
157void protocore_xmpp_presence(uint8_t *work);
158void protocore_xmpp_iq(uint8_t *work);
159void protocore_xmpp_stanza_name(uint8_t *work);
160void protocore_xmpp_attr(uint8_t *work);
166static const XmppNs Xmpp __attribute__((unused)) = {
167 .escape = protocore_xmpp_escape,
168 .stream_open = protocore_xmpp_stream_open,
169 .message = protocore_xmpp_message,
170 .presence = protocore_xmpp_presence,
171 .iq = protocore_xmpp_iq,
172 .stanza_name = protocore_xmpp_stanza_name,
173 .attr = protocore_xmpp_attr,
#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