summaryrefslogtreecommitdiff
path: root/src/plugins/plugin-api.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/plugin-api.h')
-rw-r--r--src/plugins/plugin-api.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/plugin-api.h b/src/plugins/plugin-api.h
index 405f1edbe..5223585b2 100644
--- a/src/plugins/plugin-api.h
+++ b/src/plugins/plugin-api.h
@@ -54,6 +54,10 @@ extern const char *plugin_api_prefix (const char *prefix);
extern const char *plugin_api_color (const char *color_name);
/* command */
+extern int plugin_api_command_options (struct t_weechat_plugin *plugin,
+ struct t_gui_buffer *buffer,
+ const char *command,
+ struct t_hashtable *options);
extern int plugin_api_command (struct t_weechat_plugin *plugin,
struct t_gui_buffer *buffer,
const char *command);