diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2019-02-28 00:14:38 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2019-02-28 20:19:18 +0100 |
commit | 80b980b2af71faa9a2d825c61a5d41d7ace0dc60 (patch) | |
tree | 64056a5a5fb428869b62c6c0309155c67acbc432 /src/plugins/plugin-api.h | |
parent | 64043d5a6c4ca258c40a8c39d0f58fc4a16c86b9 (diff) | |
download | weechat-80b980b2af71faa9a2d825c61a5d41d7ace0dc60.zip |
api: add function command_options (issue #928)
Diffstat (limited to 'src/plugins/plugin-api.h')
-rw-r--r-- | src/plugins/plugin-api.h | 4 |
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); |