1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
/**
@file rexmpp_pubsub.h
@brief XEP-0060 helper functions
@author defanor <defanor@uberspace.net>
@date 2021
@copyright MIT license.
*/
void
rexmpp_pubsub_iq (rexmpp_t *s,
const char *iq_type,
const char *pubsub_namespace,
const char *service_jid,
xmlNodePtr payload,
rexmpp_iq_callback_t callback,
void *cb_data);
void
rexmpp_pubsub_item_publish (rexmpp_t *s,
const char *service_jid,
const char *node,
const char *item_id,
xmlNodePtr payload,
rexmpp_iq_callback_t callback,
void *cb_data);
void
rexmpp_pubsub_item_retract (rexmpp_t *s,
const char *service_jid,
const char *node,
const char *item_id,
rexmpp_iq_callback_t callback,
void *cb_data);
void
rexmpp_pubsub_node_delete (rexmpp_t *s,
const char *service_jid,
const char *node,
rexmpp_iq_callback_t callback,
void *cb_data);
|