Added support for presence hooks
[cascardo/chat.git] / xmpp_internal.h
index 68c60d6..af75a88 100644 (file)
@@ -44,6 +44,8 @@ struct _hc_xmpp_t
   Gsasl_session *sasl_session;
   hc_xmpp_hook_t msghook;
   hc_xmpp_hook_t sentmsghook;
+  hc_xmpp_hook_t preshook;
+  hc_xmpp_hook_t sentpreshook;
   GHashTable *nshooks;
   int fd;
   int tls;