summaryrefslogtreecommitdiff
path: root/src/plugins/scripts/script-api.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/scripts/script-api.h')
-rw-r--r--src/plugins/scripts/script-api.h3
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);