From f8403c76db457b89c36865d1cb3771df5626ff6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sun, 4 Oct 2020 08:45:03 +0200 Subject: api: add optional list of colors in infos "nick_color" and "nick_color_name" (closes #1565) --- src/gui/gui-nick.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/gui/gui-nick.h') diff --git a/src/gui/gui-nick.h b/src/gui/gui-nick.h index 560c03549..ff8bb6a29 100644 --- a/src/gui/gui-nick.h +++ b/src/gui/gui-nick.h @@ -20,7 +20,9 @@ #ifndef WEECHAT_GUI_NICK_H #define WEECHAT_GUI_NICK_H -extern const char *gui_nick_find_color (const char *nickname); -extern const char *gui_nick_find_color_name (const char *nickname); +extern char *gui_nick_find_color_name (const char *nickname, + const char *colors); +extern char *gui_nick_find_color (const char *nickname, + const char *colors); #endif /* WEECHAT_GUI_NICK_H */ -- cgit v1.2.3