Manager Plugins and destroy_func
Olaf Gellert <[email protected]>
| Newsgroups | gmane.comp.security.ids.prelude.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, I am writing a plugin for the prelude manager which is writing some alert data into a file. When I kill the prelude-manager (for example with CTRL-C on the console), I would have expected that the destroy- function (set with prelude_plugin_set_destroy_func) would be called. This would be pretty handy because when quitting I would like to update a field in the file in which the number of the written alerts is counted). But actually the destroy function is not called on exiting prelude-manager. What is the destroy function actually for? If it is not usable for the thing that I want, what else could I use? Thanx for any answer, regards, Olaf Gellert -- Dipl.Inform. Olaf Gellert INTRUSION-LAB.NET Senior Researcher, www.intrusion-lab.net PKI - and IDS - Services [email protected] _______________________________________________ Prelude-devel site list [email protected] http://www.prelude-ids.org/mailman/listinfo/prelude-devel