plugins: Implement a first version of the new plugin mechanismn.
authorFlorian Forster <octo@leeloo.lan.home.verplant.org>
Wed, 6 Dec 2006 17:43:56 +0000 (18:43 +0100)
committerFlorian Forster <octo@leeloo.lan.home.verplant.org>
Wed, 6 Dec 2006 17:43:56 +0000 (18:43 +0100)
commitae8e8fdb8913818a33e9bf139c55fbe448c3a105
tree042b0cc40ba86d275ac709ea53da8033c6a8a105
parentfe37091ff0fd9e69d64a0ba72e5c21ddaf7d902f
plugins: Implement a first version of the new plugin mechanismn.

Instead of the impractical `plugin_register' function, provide a variety of
different register functions, so plugin can `hook in' at various stages of the
daemon.

The most important new hook is likely the `write' hook which will allow for
generic `output plugins' to be plugged in.
src/collectd.c
src/configfile.c
src/configfile.h
src/plugin.c
src/plugin.h