From 03df717bf8e01754c730c3ab5e08ed6a920dcb40 Mon Sep 17 00:00:00 2001 From: dequis Date: Tue, 1 Dec 2015 01:38:30 -0300 Subject: 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. --- protocols/bee.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'protocols/bee.h') 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; -- cgit v1.2.3