X-Git-Url: http://git.cascardo.info/?p=cascardo%2Fchat.git;a=blobdiff_plain;f=xmpp_internal.h;fp=xmpp_internal.h;h=2a120e006de59fc646f7bc44750754624b75f2c7;hp=d46fcf98368e7b880edf5702261cfedc5a7a174e;hb=d70ec81b50760c6a78bec8c13b52c0d345374667;hpb=282bba49cf4dcad9e844e61d70d0ab7ea1c7cb22 diff --git a/xmpp_internal.h b/xmpp_internal.h index d46fcf9..2a120e0 100644 --- a/xmpp_internal.h +++ b/xmpp_internal.h @@ -20,6 +20,7 @@ #ifndef HC_XMPP_INTERNAL_H #define HC_XMPP_INTERNAL_H +#include #include #include #include "xmpp.h" @@ -41,6 +42,7 @@ struct _hc_xmpp_t iksparser *parser; Gsasl *sasl_ctx; Gsasl_session *sasl_session; + GHashTable *nshooks; int fd; int tls; int sasl; @@ -49,4 +51,8 @@ struct _hc_xmpp_t int status; }; +void hc_xmpp_hook_bind (hc_xmpp_t *, iks *); +void hc_xmpp_hook_session (hc_xmpp_t *, iks *); +void hc_xmpp_hook_disco (hc_xmpp_t *, iks *); + #endif