xmpp->msghook = hook;
}
+void
+hc_xmpp_set_sent_msg_hook (hc_xmpp_t *xmpp, hc_xmpp_hook_t hook)
+{
+ xmpp->sentmsghook = hook;
+}
+
void
hc_xmpp_recv_message (hc_xmpp_t *xmpp, iks *stanza)
{
if (xmpp->msghook)
xmpp->msghook (xmpp, stanza);
}
+
+void
+hc_xmpp_sent_message (hc_xmpp_t *xmpp, iks *stanza)
+{
+ if (xmpp->sentmsghook)
+ xmpp->sentmsghook (xmpp, stanza);
+}