diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2020-10-04 08:45:03 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2020-10-04 08:46:36 +0200 |
commit | f8403c76db457b89c36865d1cb3771df5626ff6e (patch) | |
tree | 7192930dce0a7ebfffdea468c4f7c9e38495c1ad /src/gui/gui-nick.h | |
parent | 657e659c424a7278563cf0c773a38c491eeb4f5b (diff) | |
download | weechat-f8403c76db457b89c36865d1cb3771df5626ff6e.zip |
api: add optional list of colors in infos "nick_color" and "nick_color_name" (closes #1565)
Diffstat (limited to 'src/gui/gui-nick.h')
-rw-r--r-- | src/gui/gui-nick.h | 6 |
1 files changed, 4 insertions, 2 deletions
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 */ |