diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2006-10-02 19:46:57 +0200 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2006-10-02 19:46:57 +0200 |
commit | 995913b4be70be6e07b8aa7661ac639e5fc0d6e7 (patch) | |
tree | 6af35350d96cfee47a57790eb9561638fb49ad7b /protocols/jabber/jabber.h | |
parent | 501b4e06244dbd333ee207ceade37592482e0fe7 (diff) |
Added some error handling for the (not very complete yet) privacy list code.
Diffstat (limited to 'protocols/jabber/jabber.h')
-rw-r--r-- | protocols/jabber/jabber.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/jabber/jabber.h b/protocols/jabber/jabber.h index 1ee02d3e..2c7cadd1 100644 --- a/protocols/jabber/jabber.h +++ b/protocols/jabber/jabber.h @@ -36,6 +36,7 @@ typedef enum JFLAG_STREAM_RESTART = 4, /* Set when we want to restart the stream (after SASL or TLS). */ JFLAG_WAIT_SESSION = 8, /* Set if we sent a <session> tag and need a reply before we continue. */ JFLAG_WAIT_BIND = 16, /* ... for <bind> tag. */ + JFLAG_PRIVACY_BROKEN = 32, /* Or just not supported, actually. */ } jabber_flags_t; struct jabber_data @@ -82,6 +83,7 @@ int jabber_add_to_roster( struct gaim_connection *gc, char *handle, char *name ) int jabber_remove_from_roster( struct gaim_connection *gc, char *handle ); int jabber_get_privacy( struct gaim_connection *gc ); int jabber_set_privacy( struct gaim_connection *gc, char *name ); +char *set_eval_privacy_list( set_t *set, char *value ); /* message.c */ xt_status jabber_pkt_message( struct xt_node *node, gpointer data ); |