summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2008-11-29 19:04:19 +0100
committerSebastien Helleu <flashcode@flashtux.org>2008-11-29 19:04:19 +0100
commitd8fc604eeda8fd1142da59a2cdcb96a8b6273ca6 (patch)
tree337f0347b55cbac14bae94891e1dc7fd32acac1e
parentbf0b5f5644abbf0a79674af7e75f6e24981babfc (diff)
downloadweechat-d8fc604eeda8fd1142da59a2cdcb96a8b6273ca6.zip
Update doc for hook_print API function
-rw-r--r--doc/en/dev/plugin_c_api.en.xml15
1 files changed, 15 insertions, 0 deletions
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);
@@ -5208,6 +5210,18 @@ struct t_hook *weechat_hook_print (
<entry>tags for line</entry>
</row>
<row>
+ <entry>int</entry>
+ <entry>displayed</entry>
+ <entry>
+ 1 if line is displayed, 0 if it is filtered
+ </entry>
+ </row>
+ <row>
+ <entry>int</entry>
+ <entry>highlight</entry>
+ <entry>1 if line has highlight, otherwise 0</entry>
+ </row>
+ <row>
<entry>const char *</entry>
<entry>prefix</entry>
<entry>prefix</entry>
@@ -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)
{
/* ... */