Top | ![]() |
![]() |
![]() |
![]() |
gchar *
wocky_caps_hash_compute_from_node (WockyNode *node
);
Compute the hash as defined by the XEP-0115 from a received WockyNode.
node
should be the top-level node from a disco response such as
the example given in XEP-0115 §5.3 "Complex Generation Example".
gchar * wocky_caps_hash_compute_from_lists (GPtrArray *features
,GPtrArray *identities
,GPtrArray *dataforms
);
Compute the hash as defined by the XEP-0115 from a list of features, identities and dataforms.
features |
a GPtrArray of strings of features |
|
identities |
a GPtrArray of WockyDiscoIdentity structures |
|
dataforms |
a GPtrArray of WockyDataForm objects, or |