From d8fc604eeda8fd1142da59a2cdcb96a8b6273ca6 Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Sat, 29 Nov 2008 19:04:19 +0100 Subject: [PATCH] Update doc for hook_print API function --- doc/en/dev/plugin_c_api.en.xml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/doc/en/dev/plugin_c_api.en.xml b/doc/en/dev/plugin_c_api.en.xml index 62fba096d..c553d4959 100644 --- a/doc/en/dev/plugin_c_api.en.xml +++ b/doc/en/dev/plugin_c_api.en.xml @@ -5133,6 +5133,8 @@ struct t_hook *weechat_hook_print ( time_t date, int tags_count, const char **tags, + int displayed, + int highlight, const char *prefix, const char *message), void *callback_data); @@ -5207,6 +5209,18 @@ struct t_hook *weechat_hook_print ( tags tags for line + + int + displayed + + 1 if line is displayed, 0 if it is filtered + + + + int + highlight + 1 if line has highlight, otherwise 0 + const char * prefix @@ -5239,6 +5253,7 @@ struct t_hook *weechat_hook_print ( int my_print_cb (void *data, struct t_gui_buffer *buffer, time_t date, int tags_count, const char **tags, + int displayed, int highlight, const char *prefix, const char *message) { /* ... */