diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2014-02-07 09:05:01 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2014-02-09 12:55:41 +0100 |
commit | d9bd1986adfc64168c23c84f4b19b5abb1b312c4 (patch) | |
tree | 75014fa1b924cc359ba7cb5b49c9d2ce7c5949f9 /src/plugins/trigger/trigger-buffer.h | |
parent | 53921acc381e51a1ff8dcfe27543e5a24f9d74bd (diff) | |
download | weechat-d9bd1986adfc64168c23c84f4b19b5abb1b312c4.zip |
trigger: refactor some code in hook callbacks (debug, conditions, regex, command)
Diffstat (limited to 'src/plugins/trigger/trigger-buffer.h')
-rw-r--r-- | src/plugins/trigger/trigger-buffer.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/plugins/trigger/trigger-buffer.h b/src/plugins/trigger/trigger-buffer.h index a4bc02fd4..1c480191b 100644 --- a/src/plugins/trigger/trigger-buffer.h +++ b/src/plugins/trigger/trigger-buffer.h @@ -24,8 +24,10 @@ struct t_gui_buffer *trigger_buffer; -extern void trigger_buffer_display_hashtable (const char *name, - struct t_hashtable *hashtable); +extern void trigger_buffer_display_trigger (struct t_trigger *trigger, + struct t_gui_buffer *buffer, + struct t_hashtable *pointers, + struct t_hashtable *extra_vars); extern void trigger_buffer_set_callbacks (); extern void trigger_buffer_open (int switch_to_buffer); |