diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2010-06-03 01:20:53 +0100 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2010-06-03 01:20:53 +0100 |
commit | ad404ab26aa3cfdfc3c76f6926e556e333d02753 (patch) | |
tree | 162f7b2a63e79c6b0580fa3de63b8274d17e0c99 /protocols/bee.h | |
parent | 704dd38a1440dc9d614df9222d6196048226622c (diff) |
Restore add_* handle_unknown settings.
Diffstat (limited to 'protocols/bee.h')
-rw-r--r-- | protocols/bee.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/protocols/bee.h b/protocols/bee.h index 100593f9..e421db57 100644 --- a/protocols/bee.h +++ b/protocols/bee.h @@ -53,6 +53,7 @@ typedef enum { BEE_USER_ONLINE = 1, /* Compatibility with old OPT_LOGGED_IN flag */ BEE_USER_AWAY = 4, /* Compatibility with old OPT_AWAY flag */ + BEE_USER_LOCAL = 256, /* Locally-added contacts (not in real contact list) */ } bee_user_flags_t; typedef struct bee_user @@ -106,7 +107,7 @@ bee_t *bee_new(); void bee_free( bee_t *b ); /* bee_user.c */ -bee_user_t *bee_user_new( bee_t *bee, struct im_connection *ic, const char *handle ); +bee_user_t *bee_user_new( bee_t *bee, struct im_connection *ic, const char *handle, bee_user_flags_t flags ); int bee_user_free( bee_t *bee, bee_user_t *bu ); bee_user_t *bee_user_by_handle( bee_t *bee, struct im_connection *ic, const char *handle ); int bee_user_msg( bee_t *bee, bee_user_t *bu, const char *msg, int flags ); |