summaryrefslogtreecommitdiff
path: root/src/rexmpp.h
diff options
context:
space:
mode:
authordefanor <defanor@uberspace.net>2020-07-04 11:48:43 +0300
committerdefanor <defanor@uberspace.net>2020-07-04 11:48:43 +0300
commitc09bb4e4434667debc0e28d25b5a358ef4ffb498 (patch)
tree03fd85ad0986b68288417e7e0a94c4b9193e4238 /src/rexmpp.h
parentf9c2810adb8e19a228535ea7c8b131a5e8b6928e (diff)
Fill weechat nicklists
The server buffer's nicklist is filled with roster items, and MUC buffers' nicklists are filled with active MUC participants. No MUC role indications, groups, or contact presence tracking yet.
Diffstat (limited to 'src/rexmpp.h')
-rw-r--r--src/rexmpp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rexmpp.h b/src/rexmpp.h
index 9f748cf..6157f86 100644
--- a/src/rexmpp.h
+++ b/src/rexmpp.h
@@ -202,6 +202,7 @@ typedef void (*log_function_t) (rexmpp_t *s, int priority, const char *format, v
typedef int (*sasl_property_cb_t) (rexmpp_t *s, Gsasl_property prop);
typedef int (*xml_in_cb_t) (rexmpp_t *s, xmlNodePtr node);
typedef int (*xml_out_cb_t) (rexmpp_t *s, xmlNodePtr node);
+typedef void (*roster_modify_cb_t) (rexmpp_t *s, xmlNodePtr item);
/** @brief Complete connection state */
struct rexmpp
@@ -248,6 +249,7 @@ struct rexmpp
sasl_property_cb_t sasl_property_cb;
xml_in_cb_t xml_in_cb;
xml_out_cb_t xml_out_cb;
+ roster_modify_cb_t roster_modify_cb;
/* Stream-related state. */
char *assigned_jid;