|
|
|
// This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
// License, version 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
|
|
|
|
#ifndef _WEECHAT_XMPP_STANZA_H_
|
|
|
|
#define _WEECHAT_XMPP_STANZA_H_
|
|
|
|
|
|
|
|
xmpp_stanza_t *stanza__presence(xmpp_ctx_t *context, xmpp_stanza_t *base,
|
|
|
|
xmpp_stanza_t **children, const char *ns,
|
|
|
|
char *from, char *to, const char *type);
|
|
|
|
|
|
|
|
xmpp_stanza_t *stanza__iq(xmpp_ctx_t *context, xmpp_stanza_t *base,
|
|
|
|
xmpp_stanza_t **children, char *ns, char *id,
|
|
|
|
char *from, char *to, char *type);
|
|
|
|
|
|
|
|
xmpp_stanza_t *stanza__iq_pubsub(xmpp_ctx_t *context, xmpp_stanza_t *base,
|
|
|
|
xmpp_stanza_t **children, char *ns);
|
|
|
|
|
|
|
|
xmpp_stanza_t *stanza__iq_pubsub_items(xmpp_ctx_t *context, xmpp_stanza_t *base, char *node);
|
|
|
|
|
|
|
|
#endif /*WEECHAT_XMPP_STANZA_H*/
|