author | Sebastian Harl <sh@tokkee.org> | |
Mon, 4 Dec 2006 10:30:29 +0000 (11:30 +0100) | ||
committer | Florian Forster <octo@huhu.verplant.org> | |
Mon, 4 Dec 2006 10:34:05 +0000 (11:34 +0100) | ||
commit | 9769c37cbb0e2bcf56c6e5ad8a065e5d166781f9 | |
tree | 34ed5731b0bcd496f4bf8e5a1cd4b9f3dc772b1d | tree | snapshot |
parent | 62435b794629f366206b71d90ab1b1a677bf2e52 | commit | diff |
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>
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 | diff | blob | history | |
src/plugin.c | diff | blob | history | |
src/plugin.h | diff | blob | history |