projects
/
cascardo
/
hcxmpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Created extensible hooks
[cascardo/hcxmpp.git]
/
xmpp.h
diff --git
a/xmpp.h
b/xmpp.h
index
b33ad25
..
c0780b7
100644
(file)
--- a/
xmpp.h
+++ b/
xmpp.h
@@
-31,6
+31,7
@@
enum
};
typedef struct _hc_xmpp_t hc_xmpp_t;
+typedef void (*hc_xmpp_hook_t) (hc_xmpp_t *, iks *);
#define HC_XMPP_NS_TLS "urn:ietf:params:xml:ns:xmpp-tls"
#define HC_XMPP_NS_SASL "urn:ietf:params:xml:ns:xmpp-sasl"