> If we added something like the (untested) patch below it'd allow us to
> write plugins like this.  (Another plugin will then register into
> "somehook").

So you'd have the master virus plugin create 'virus_connect', and all
of the virus plugins would register 'virus_connect' instead of
'connect'.

Then we'd distribute a standard/generic virus_scanner plugin that
would do nothing but run the virus_connect hook.

For John to do what he wants, he'd have to write a special run_hooks
function.

-R

Reply via email to