From cf5501f69c4312fdfa9f73fd25a59c443f4413ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Thu, 15 Jan 2015 07:40:38 +0100 Subject: core: add priority in plugins to initialize them in order Current order is: charset, logger, exec, trigger, aspell, alias, fifo, xfer, irc, relay, guile/lua/perl/python/ruby/tcl, script. --- doc/pl/autogen/plugin_api/hdata.asciidoc | 2 ++ doc/pl/autogen/plugin_api/plugins_priority.asciidoc | 12 ++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 doc/pl/autogen/plugin_api/plugins_priority.asciidoc (limited to 'doc/pl') diff --git a/doc/pl/autogen/plugin_api/hdata.asciidoc b/doc/pl/autogen/plugin_api/hdata.asciidoc index 6e92ef980..bf962a9df 100644 --- a/doc/pl/autogen/plugin_api/hdata.asciidoc +++ b/doc/pl/autogen/plugin_api/hdata.asciidoc @@ -843,6 +843,8 @@ *** 'version' (string) *** 'license' (string) *** 'charset' (string) +*** 'priority' (integer) +*** 'initialized' (integer) *** 'debug' (integer) *** 'prev_plugin' (pointer, hdata: "plugin") *** 'next_plugin' (pointer, hdata: "plugin") diff --git a/doc/pl/autogen/plugin_api/plugins_priority.asciidoc b/doc/pl/autogen/plugin_api/plugins_priority.asciidoc new file mode 100644 index 000000000..d5a171b0b --- /dev/null +++ b/doc/pl/autogen/plugin_api/plugins_priority.asciidoc @@ -0,0 +1,12 @@ +. charset (13000) +. logger (12000) +. exec (11000) +. trigger (10000) +. aspell (9000) +. alias (8000) +. fifo (7000) +. xfer (6000) +. irc (5000) +. relay (4000) +. guile, lua, perl, python, ruby, tcl (3000) +. script (2000) -- cgit v1.2.3