diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2010-05-08 01:25:15 +0100 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2010-05-08 01:25:15 +0100 |
commit | 27e2c66f28bc196d766ac179aa5eae0d190565d5 (patch) | |
tree | a47343b0b79a120a8a5e9d8af98d0c8e7bf19ef3 /protocols/bee.h | |
parent | f1a089067fcc4fcae05cdbfa0f51a8a3cc8f6783 (diff) |
Support for receiving messages in chatrooms.
Diffstat (limited to 'protocols/bee.h')
-rw-r--r-- | protocols/bee.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/bee.h b/protocols/bee.h index f69d29d4..27e31d05 100644 --- a/protocols/bee.h +++ b/protocols/bee.h @@ -80,8 +80,8 @@ typedef struct bee_ui_funcs gboolean (*chat_new)( bee_t *bee, struct groupchat *c ); gboolean (*chat_free)( bee_t *bee, struct groupchat *c ); - gboolean (*chat_log)( bee_t *bee, struct groupchat *c, const char *format, ... ); - gboolean (*chat_msg)( bee_t *bee, struct groupchat *c, const char *who, const char *msg, time_t sent_at ); + gboolean (*chat_log)( bee_t *bee, struct groupchat *c, const char *text ); + gboolean (*chat_msg)( bee_t *bee, struct groupchat *c, bee_user_t *bu, const char *msg, time_t sent_at ); gboolean (*chat_add_user)( bee_t *bee, struct groupchat *c, bee_user_t *bu ); gboolean (*chat_remove_user)( bee_t *bee, struct groupchat *c, bee_user_t *bu ); |