diff options
Diffstat (limited to 'src/rexmpp.h')
-rw-r--r-- | src/rexmpp.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/rexmpp.h b/src/rexmpp.h index 8b5632a..53f2cba 100644 --- a/src/rexmpp.h +++ b/src/rexmpp.h @@ -241,6 +241,8 @@ struct rexmpp int manage_roster; const char *roster_cache_file; int track_roster_presence; + int track_roster_events; + int nick_notifications; /* Resource limits. */ uint32_t stanza_queue_size; @@ -260,6 +262,7 @@ struct rexmpp xmlNodePtr roster_items; char *roster_ver; xmlNodePtr roster_presence; + xmlNodePtr roster_events; /* Other dynamic data. */ xmlNodePtr disco_info; @@ -445,6 +448,15 @@ xmlNodePtr rexmpp_xml_add_id (rexmpp_t *s, xmlNodePtr node); void rexmpp_log (rexmpp_t *s, int priority, const char *format, ...); /** + @brief Gets an appropriate display name for a JID. + @param[in] s ::rexmpp + @param[in] jid_str A JID string. + @returns A newly allocated null-terminated string, or NULL on + error. +*/ +char *rexmpp_get_name (rexmpp_t *s, const char *jid_str); + +/** @brief Matches an XML node against a namespace and an element name. @param[in] node An XML node to match. @param[in] namespace An XML namespace. Can be NULL (matches |