diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2009-05-17 15:49:58 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2009-05-17 15:49:58 +0200 |
commit | 353538e3d80a1f90c2f3149b82d4be680ede0cdb (patch) | |
tree | f0d64a8cadd1ea1e8bdf5e044f759c8c31e358c2 /src/plugins/scripts/script-api.h | |
parent | 1076183317b7e4f7e9bf3bd9bac139cd620136cb (diff) | |
download | weechat-353538e3d80a1f90c2f3149b82d4be680ede0cdb.zip |
Add function "config_is_set_plugin" in plugin/script API
Diffstat (limited to 'src/plugins/scripts/script-api.h')
-rw-r--r-- | src/plugins/scripts/script-api.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/scripts/script-api.h b/src/plugins/scripts/script-api.h index bfedeab4a..8d4622c56 100644 --- a/src/plugins/scripts/script-api.h +++ b/src/plugins/scripts/script-api.h @@ -286,6 +286,9 @@ extern void script_api_command (struct t_weechat_plugin *weechat_plugin, extern const char *script_api_config_get_plugin (struct t_weechat_plugin *weechat_plugin, struct t_plugin_script *script, const char *option); +extern int script_api_config_is_set_plugin (struct t_weechat_plugin *weechat_plugin, + struct t_plugin_script *script, + const char *option); extern int script_api_config_set_plugin (struct t_weechat_plugin *weechat_plugin, struct t_plugin_script *script, const char *option, const char *value); |