projects
/
cascardo
/
chat.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Created extensible hooks
[cascardo/chat.git]
/
xmpp_internal.h
diff --git
a/xmpp_internal.h
b/xmpp_internal.h
index
d46fcf9
..
2a120e0
100644
(file)
--- a/
xmpp_internal.h
+++ b/
xmpp_internal.h
@@
-20,6
+20,7
@@
#ifndef HC_XMPP_INTERNAL_H
#define HC_XMPP_INTERNAL_H
#ifndef HC_XMPP_INTERNAL_H
#define HC_XMPP_INTERNAL_H
+#include <glib.h>
#include <gsasl.h>
#include <iksemel.h>
#include "xmpp.h"
#include <gsasl.h>
#include <iksemel.h>
#include "xmpp.h"
@@
-41,6
+42,7
@@
struct _hc_xmpp_t
iksparser *parser;
Gsasl *sasl_ctx;
Gsasl_session *sasl_session;
iksparser *parser;
Gsasl *sasl_ctx;
Gsasl_session *sasl_session;
+ GHashTable *nshooks;
int fd;
int tls;
int sasl;
int fd;
int tls;
int sasl;
@@
-49,4
+51,8
@@
struct _hc_xmpp_t
int status;
};
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
#endif