![]() |
![]() |
![]() |
Wocky Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
WockyStanza * wocky_pubsub_service_create_retrieve_subscriptions_stanza (WockyPubsubService *self
,WockyPubsubNode *node
,WockyNode **pubsub_node
,WockyNode **subscriptions_node
); WockyPubsubSubscription * wocky_pubsub_service_parse_subscription (WockyPubsubService *self
,WockyNode *subscription_node
,const gchar *parent_node_attr
,GError **error
); GList * wocky_pubsub_service_parse_subscriptions (WockyPubsubService *self
,WockyNode *subscriptions_node
,GList **subscription_nodes
); WockyStanza * wocky_pubsub_service_create_create_node_stanza (WockyPubsubService *self
,const gchar *name
,WockyDataForm *config
,WockyNode **pubsub_node
,WockyNode **create_node
); WockyPubsubNode * wocky_pubsub_service_handle_create_node_reply (WockyPubsubService *self
,WockyNodeTree *create_tree
,const gchar *requested_name
,GError **error
); WockyPorter * wocky_pubsub_service_get_porter (WockyPubsubService *self
);
WockyStanza * wocky_pubsub_service_create_retrieve_subscriptions_stanza (WockyPubsubService *self
,WockyPubsubNode *node
,WockyNode **pubsub_node
,WockyNode **subscriptions_node
);
WockyPubsubSubscription * wocky_pubsub_service_parse_subscription (WockyPubsubService *self
,WockyNode *subscription_node
,const gchar *parent_node_attr
,GError **error
);
GList * wocky_pubsub_service_parse_subscriptions (WockyPubsubService *self
,WockyNode *subscriptions_node
,GList **subscription_nodes
);
WockyStanza * wocky_pubsub_service_create_create_node_stanza (WockyPubsubService *self
,const gchar *name
,WockyDataForm *config
,WockyNode **pubsub_node
,WockyNode **create_node
);
WockyPubsubNode * wocky_pubsub_service_handle_create_node_reply (WockyPubsubService *self
,WockyNodeTree *create_tree
,const gchar *requested_name
,GError **error
);
Handles the body of a reply to a create node request. This is ever-so-slightly involved, because the server is allowed to omit the body of the reply if you specified a node name and it created a node with that name, but it may also tell you "hey, you asked for 'ringo', but I gave you 'george'". Good times.
|
a pubsub service |
|
the <create/> tree from the reply to an attempt to
create a node, or NULL if none was present in the reply. |
|
the name we asked the server to use for the node, or NULL
if we requested an instant node |
|
location at which to store an error |
Returns : |
a pubsub node if the reply made sense, or NULL with error set if
not. |