X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;f=xmpp_internal.h;h=2a120e006de59fc646f7bc44750754624b75f2c7;hb=def38cbbaffe0bd4504580384af2bbbde0b62762;hp=a1431e9ca3a1ff7966650550ff453130000c4e02;hpb=ded734abecf69e281222c987dc201586a46199e1;p=cascardo%2Fchat.git diff --git a/xmpp_internal.h b/xmpp_internal.h index a1431e9..2a120e0 100644 --- a/xmpp_internal.h +++ b/xmpp_internal.h @@ -20,6 +20,9 @@ #ifndef HC_XMPP_INTERNAL_H #define HC_XMPP_INTERNAL_H +#include +#include +#include #include "xmpp.h" enum @@ -33,8 +36,23 @@ enum struct _hc_xmpp_t { + char *server; + char *user; + char *password; + iksparser *parser; + Gsasl *sasl_ctx; + Gsasl_session *sasl_session; + GHashTable *nshooks; + int fd; int tls; int sasl; + int bind; + int session; + 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