wocky Reference Manual | ||||
---|---|---|---|---|
Top | Description |
void (*WockyPubsubNodeEventHandler) (WockyPubsubNode *self
,WockyStanza *event_stanza
,WockyNode *event_node
,WockyNode *action_node
); WockyPubsubNodeEventMapping; WockyPorter * wocky_pubsub_node_get_porter (WockyPubsubNode *self
); WockyStanza * wocky_pubsub_node_make_subscribe_stanza (WockyPubsubNode *self
,const gchar *jid
,WockyNode **pubsub_node
,WockyNode **subscribe_node
); WockyStanza * wocky_pubsub_node_make_unsubscribe_stanza (WockyPubsubNode *self
,const gchar *jid
,const gchar *subid
,WockyNode **pubsub_node
,WockyNode **unsubscribe_node
); WockyStanza * wocky_pubsub_node_make_delete_stanza (WockyPubsubNode *self
,WockyNode **pubsub_node
,WockyNode **delete_node
); WockyStanza * wocky_pubsub_node_make_list_subscribers_stanza (WockyPubsubNode *self
,WockyNode **pubsub_node
,WockyNode **subscriptions_node
); WockyStanza * wocky_pubsub_node_make_list_affiliates_stanza (WockyPubsubNode *self
,WockyNode **pubsub_node
,WockyNode **affiliations_node
); GList * wocky_pubsub_node_parse_affiliations (WockyPubsubNode *self
,WockyNode *affiliations_node
); WockyStanza * wocky_pubsub_node_make_modify_affiliates_stanza (WockyPubsubNode *self
,const GList *affiliates
,WockyNode **pubsub_node
,WockyNode **affiliations_node
); WockyStanza * wocky_pubsub_node_make_get_configuration_stanza (WockyPubsubNode *self
,WockyNode **pubsub_node
,WockyNode **configure_node
);
void (*WockyPubsubNodeEventHandler) (WockyPubsubNode *self
,WockyStanza *event_stanza
,WockyNode *event_node
,WockyNode *action_node
);
|
|
|
|
|
|
|
typedef struct { const gchar *action; WockyPubsubNodeEventHandler method; } WockyPubsubNodeEventMapping;
WockyPorter * wocky_pubsub_node_get_porter (WockyPubsubNode *self
);
|
|
Returns : |
WockyStanza * wocky_pubsub_node_make_subscribe_stanza (WockyPubsubNode *self
,const gchar *jid
,WockyNode **pubsub_node
,WockyNode **subscribe_node
);
|
|
|
|
|
|
|
|
Returns : |
WockyStanza * wocky_pubsub_node_make_unsubscribe_stanza (WockyPubsubNode *self
,const gchar *jid
,const gchar *subid
,WockyNode **pubsub_node
,WockyNode **unsubscribe_node
);
|
|
|
|
|
|
|
|
|
|
Returns : |
WockyStanza * wocky_pubsub_node_make_delete_stanza (WockyPubsubNode *self
,WockyNode **pubsub_node
,WockyNode **delete_node
);
|
|
|
|
|
|
Returns : |
WockyStanza * wocky_pubsub_node_make_list_subscribers_stanza (WockyPubsubNode *self
,WockyNode **pubsub_node
,WockyNode **subscriptions_node
);
|
|
|
|
|
|
Returns : |
WockyStanza * wocky_pubsub_node_make_list_affiliates_stanza (WockyPubsubNode *self
,WockyNode **pubsub_node
,WockyNode **affiliations_node
);
|
|
|
|
|
|
Returns : |
GList * wocky_pubsub_node_parse_affiliations (WockyPubsubNode *self
,WockyNode *affiliations_node
);
|
|
|
|
Returns : |
WockyStanza * wocky_pubsub_node_make_modify_affiliates_stanza (WockyPubsubNode *self
,const GList *affiliates
,WockyNode **pubsub_node
,WockyNode **affiliations_node
);
|
a pubsub node |
|
a list of WockyPubsubAffiliation structures, describing only the affiliations which should be changed. |
|
location at which to store a pointer to the <pubsub/>
node, or NULL
|
|
location at which to store a pointer to the
<affiliations/> node, or NULL
|
Returns : |
an IQ stanza to modify the entities affiliated to a node that you own. |
WockyStanza * wocky_pubsub_node_make_get_configuration_stanza (WockyPubsubNode *self
,WockyNode **pubsub_node
,WockyNode **configure_node
);