summaryrefslogtreecommitdiff
path: root/src/plugins/scripts/script-api.h
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2009-02-01 13:31:20 +0100
committerSebastien Helleu <flashcode@flashtux.org>2009-02-01 13:31:20 +0100
commit5205be4b875c7fbc5d82818367e51ad49b667f72 (patch)
treeca4d107431f558e46a36a4b382ac89bf30585893 /src/plugins/scripts/script-api.h
parent33e733cb0adad382fde58764a2de29031c2df767 (diff)
downloadweechat-5205be4b875c7fbc5d82818367e51ad49b667f72.zip
Add function config_unset_plugin in API, fix return code of config_set_plugin
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 871481305..f6f04caad 100644
--- a/src/plugins/scripts/script-api.h
+++ b/src/plugins/scripts/script-api.h
@@ -236,5 +236,8 @@ extern const char *script_api_config_get_plugin (struct t_weechat_plugin *weecha
extern int script_api_config_set_plugin (struct t_weechat_plugin *weechat_plugin,
struct t_plugin_script *script,
const char *option, const char *value);
+extern int script_api_config_unset_plugin (struct t_weechat_plugin *weechat_plugin,
+ struct t_plugin_script *script,
+ const char *option);
#endif /* script-api.h */