diff options
author | dequis <dx@dxzone.com.ar> | 2015-12-01 01:38:30 -0300 |
---|---|---|
committer | dequis <dx@dxzone.com.ar> | 2015-12-01 01:45:20 -0300 |
commit | 03df717bf8e01754c730c3ab5e08ed6a920dcb40 (patch) | |
tree | 9d036cb7788ba3a697f707c7ef34a2d6f59f6d85 /protocols/bee.h | |
parent | 398a139663c93b8c020e667d169b8898ba53ad9b (diff) |
Add 'log' UI function, to avoid direct calls to irc_rootmsg from nogaim
Just a trivial wrapper over irc_rootmsg(), but will help me to slightly
reduce the ugliness of an unavoidably ugly hack for libpurple.
Diffstat (limited to 'protocols/bee.h')
-rw-r--r-- | protocols/bee.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/bee.h b/protocols/bee.h index a9678a6e..4a053845 100644 --- a/protocols/bee.h +++ b/protocols/bee.h @@ -128,6 +128,8 @@ typedef struct bee_ui_funcs { gboolean (*ft_out_start)(struct im_connection *ic, struct file_transfer *ft); void (*ft_close)(struct im_connection *ic, struct file_transfer *ft); void (*ft_finished)(struct im_connection *ic, struct file_transfer *ft); + + void (*log)(bee_t *bee, const char *tag, const char *msg); } bee_ui_funcs_t; |