Fix some bugs feeding the textview
[cascardo/chat.git] / xmpp.h
diff --git a/xmpp.h b/xmpp.h
index 66c64d2..8c358b1 100644 (file)
--- a/xmpp.h
+++ b/xmpp.h
@@ -61,6 +61,14 @@ void hc_xmpp_features (hc_xmpp_t *, iks *);
 int hc_xmpp_status (hc_xmpp_t *);
 int hc_xmpp_hook (void *, int, iks *);
 void hc_xmpp_send_stream (hc_xmpp_t *);
+void hc_xmpp_set_msg_hook (hc_xmpp_t *, hc_xmpp_hook_t);
+void hc_xmpp_set_sent_msg_hook (hc_xmpp_t *, hc_xmpp_hook_t);
+void hc_xmpp_set_pres_hook (hc_xmpp_t *, hc_xmpp_hook_t);
+void hc_xmpp_set_sent_pres_hook (hc_xmpp_t *, hc_xmpp_hook_t);
 void hc_xmpp_register_ns_hook (hc_xmpp_t *, char *, hc_xmpp_hook_t);
+void hc_xmpp_recv_message (hc_xmpp_t *, iks *);
+void hc_xmpp_sent_message (hc_xmpp_t *, iks *);
+void hc_xmpp_recv_presence (hc_xmpp_t *, iks *);
+void hc_xmpp_sent_presence (hc_xmpp_t *, iks *);
 
 #endif