Code

plugin.[ch]: Added support for an optional plugin shutdown function.
authorSebastian Harl <sh@tokkee.org>
Mon, 4 Dec 2006 10:30:29 +0000 (11:30 +0100)
committerFlorian Forster <octo@huhu.verplant.org>
Mon, 4 Dec 2006 10:34:05 +0000 (11:34 +0100)
commit9769c37cbb0e2bcf56c6e5ad8a065e5d166781f9
tree34ed5731b0bcd496f4bf8e5a1cd4b9f3dc772b1d
parent62435b794629f366206b71d90ab1b1a677bf2e52
plugin.[ch]: Added support for an optional plugin shutdown function.

A plugin may register a shutdown function using plugin_register_shutdown ().
This function is called when collectd terminates either during normal
termination or after SIGINT or SIGTERM have been received.

Signed-off-by: Sebastian Harl <sh@tokkee.org>
src/collectd.c
src/plugin.c
src/plugin.h