diff options
Diffstat (limited to 'doc/en/autogen/plugin_api')
-rw-r--r-- | doc/en/autogen/plugin_api/completions.asciidoc | 2 | ||||
-rw-r--r-- | doc/en/autogen/plugin_api/hdata.asciidoc | 34 | ||||
-rw-r--r-- | doc/en/autogen/plugin_api/infolists.asciidoc | 2 | ||||
-rw-r--r-- | doc/en/autogen/plugin_api/plugins_priority.asciidoc | 2 |
4 files changed, 39 insertions, 1 deletions
diff --git a/doc/en/autogen/plugin_api/completions.asciidoc b/doc/en/autogen/plugin_api/completions.asciidoc index d06f93f47..66da8e0fb 100644 --- a/doc/en/autogen/plugin_api/completions.asciidoc +++ b/doc/en/autogen/plugin_api/completions.asciidoc @@ -46,6 +46,8 @@ | irc | nick | nicks of current IRC channel +| javascript | javascript_script | list of scripts + | lua | lua_script | list of scripts | perl | perl_script | list of scripts diff --git a/doc/en/autogen/plugin_api/hdata.asciidoc b/doc/en/autogen/plugin_api/hdata.asciidoc index 637e5253d..86a48dc3d 100644 --- a/doc/en/autogen/plugin_api/hdata.asciidoc +++ b/doc/en/autogen/plugin_api/hdata.asciidoc @@ -222,6 +222,40 @@ ** lists: *** 'irc_servers' *** 'last_irc_server' +* 'javascript_callback': callback of a script +** plugin: javascript +** variables: +*** 'script' (pointer, hdata: "javascript_script") +*** 'function' (string) +*** 'data' (string) +*** 'config_file' (pointer, hdata: "config_file") +*** 'config_section' (pointer, hdata: "config_section") +*** 'config_option' (pointer, hdata: "config_option") +*** 'hook' (pointer) +*** 'buffer' (pointer, hdata: "buffer") +*** 'bar_item' (pointer, hdata: "bar_item") +*** 'upgrade_file' (pointer) +*** 'prev_callback' (pointer, hdata: "javascript_callback") +*** 'next_callback' (pointer, hdata: "javascript_callback") +* 'javascript_script': list of scripts +** plugin: javascript +** variables: +*** 'filename' (string) +*** 'interpreter' (pointer) +*** 'name' (string) +*** 'author' (string) +*** 'version' (string) +*** 'license' (string) +*** 'description' (string) +*** 'shutdown_func' (string) +*** 'charset' (string) +*** 'callbacks' (pointer, hdata: "javascript_callback") +*** 'unloading' (integer) +*** 'prev_script' (pointer, hdata: "javascript_script") +*** 'next_script' (pointer, hdata: "javascript_script") +** lists: +*** 'last_script' +*** 'scripts' * 'lua_callback': callback of a script ** plugin: lua ** variables: diff --git a/doc/en/autogen/plugin_api/infolists.asciidoc b/doc/en/autogen/plugin_api/infolists.asciidoc index 6f6990f9f..7e8e0119b 100644 --- a/doc/en/autogen/plugin_api/infolists.asciidoc +++ b/doc/en/autogen/plugin_api/infolists.asciidoc @@ -18,6 +18,8 @@ | irc | irc_server | list of IRC servers | server pointer (optional) | server name (wildcard "*" is allowed) (optional) +| javascript | javascript_script | list of scripts | script pointer (optional) | script name (wildcard "*" is allowed) (optional) + | logger | logger_buffer | list of logger buffers | logger pointer (optional) | - | lua | lua_script | list of scripts | script pointer (optional) | script name (wildcard "*" is allowed) (optional) diff --git a/doc/en/autogen/plugin_api/plugins_priority.asciidoc b/doc/en/autogen/plugin_api/plugins_priority.asciidoc index d5a171b0b..8156259db 100644 --- a/doc/en/autogen/plugin_api/plugins_priority.asciidoc +++ b/doc/en/autogen/plugin_api/plugins_priority.asciidoc @@ -8,5 +8,5 @@ . xfer (6000) . irc (5000) . relay (4000) -. guile, lua, perl, python, ruby, tcl (3000) +. guile, javascript, lua, perl, python, ruby, tcl (3000) . script (2000) |