aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/jabber/jabber.h
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2006-10-15 22:24:01 +0200
committerWilmer van der Gaast <wilmer@gaast.net>2006-10-15 22:24:01 +0200
commit788a1afa9628aeaf9d69fc53f49131a4330253cf (patch)
treecaecf2ba1287434d3d94be165c12fb24a56a404a /protocols/jabber/jabber.h
parente617b35a6771362164aff194cb6e0b757552c0bd (diff)
Proper cleanup of jabber buddy structures when removing a buddy from the
list, proper checking (and handling) of events related to buddies that aren't "hashed" yet, limit checks on priorityto setting, renamed JEP85 to XEP85, support for more XEP85 states.
Diffstat (limited to 'protocols/jabber/jabber.h')
-rw-r--r--protocols/jabber/jabber.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/protocols/jabber/jabber.h b/protocols/jabber/jabber.h
index e5b85f39..d1d452b4 100644
--- a/protocols/jabber/jabber.h
+++ b/protocols/jabber/jabber.h
@@ -40,15 +40,15 @@ typedef enum
before we continue. */
JFLAG_WAIT_BIND = 16, /* ... for <bind> tag. */
JFLAG_WANT_TYPING = 32, /* Set if we ever sent a typing notification, this
- activates all JEP-85 related code. */
+ activates all XEP-85 related code. */
} jabber_flags_t;
typedef enum
{
- JBFLAG_PROBED_JEP85 = 1, /* Set this when we sent our probe packet to make
+ JBFLAG_PROBED_XEP85 = 1, /* Set this when we sent our probe packet to make
sure it gets sent only once. */
- JBFLAG_DOES_JEP85 = 2, /* Set this when the resource seems to support
- JEP85 (typing notification shite). */
+ JBFLAG_DOES_XEP85 = 2, /* Set this when the resource seems to support
+ XEP85 (typing notification shite). */
} jabber_buddy_flag_t;
struct jabber_data
@@ -137,6 +137,7 @@ void jabber_buddy_ask( struct gaim_connection *gc, char *handle );
struct jabber_buddy *jabber_buddy_add( struct gaim_connection *gc, char *full_jid );
struct jabber_buddy *jabber_buddy_by_jid( struct gaim_connection *gc, char *jid );
int jabber_buddy_remove( struct gaim_connection *gc, char *full_jid );
+int jabber_buddy_remove_bare( struct gaim_connection *gc, char *bare_jid );
extern const struct jabber_away_state jabber_away_state_list[];