+int
+hc_xmpp_is_bind_supported (hc_xmpp_t *xmpp)
+{
+ return xmpp->bind & SUPPORTED;
+}
+
+int
+hc_xmpp_is_session_supported (hc_xmpp_t *xmpp)
+{
+ return xmpp->session & SUPPORTED;
+}
+
+int
+hc_xmpp_is_session_required (hc_xmpp_t *xmpp)
+{
+ return xmpp->session & REQUIRED;
+}
+