diff options
Diffstat (limited to 'src/plugins/scripts/script.h')
-rw-r--r-- | src/plugins/scripts/script.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/plugins/scripts/script.h b/src/plugins/scripts/script.h index 94f9c318c..715b9cc48 100644 --- a/src/plugins/scripts/script.h +++ b/src/plugins/scripts/script.h @@ -57,6 +57,9 @@ struct t_plugin_script }; extern void script_init (struct t_weechat_plugin *weechat_plugin, + int argc, + char *argv[], + struct t_plugin_script **scripts, int (*callback_command)(void *data, struct t_gui_buffer *buffer, int argc, char **argv, @@ -81,7 +84,12 @@ extern void script_init (struct t_weechat_plugin *weechat_plugin, const char *signal, const char *type_data, void *signal_data), - void (*callback_load_file)(void *data, const char *filename)); + void (*callback_load_file)(void *data, const char *filename), + int (*callback_buffer_input) (void *data, + struct t_gui_buffer *buffer, + const char *input_data), + int (*callback_buffer_close) (void *data, + struct t_gui_buffer *buffer)); extern int script_valid (struct t_plugin_script *scripts, struct t_plugin_script *script); extern char *script_ptr2str (void *pointer); |