+
+void
+hc_xmpp_sent_message (hc_xmpp_t *xmpp, iks *stanza)
+{
+ if (xmpp->sentmsghook)
+ xmpp->sentmsghook (xmpp, stanza);
+}
+
+void
+hc_xmpp_recv_presence (hc_xmpp_t *xmpp, iks *stanza)
+{
+ if (xmpp->preshook)
+ xmpp->preshook (xmpp, stanza);
+}
+
+void
+hc_xmpp_sent_presence (hc_xmpp_t *xmpp, iks *stanza)
+{
+ if (xmpp->sentpreshook)
+ xmpp->sentpreshook (xmpp, stanza);
+}