On Sunday 14 December 2008 10:52:27 Stjepan Gros wrote:
> 1. Who/where/when and why sets and uses ENABLE_PLUGIN_SERVER. I
> grep'ed through the code and it's only used, not defined anywere!?
>
> 2. The consequence of 1 is that "cache_dir" is never used (it's in
> plugins directory, .bin subdirectory) and that cache I'm talking about
> in CR is differently set.

I think you spotted yet another portion of code that is unused.
I found no place where the "Plugin Server" is enabled or even used.
I also fail to understand the code (badly documented) nor can I
imagine any reason why a "plugin server" should make sense.

Does anyone else have an idea about this feature?

> 3. What are the rules/recommendations for logging. As I saw,
> sometimes, printf is used, then fprintf, occasionally perror and
> finally log_* functions.

I think we do not have defined rules yet.

> 4. Why in plugutils there is a function "plug_get_oid" that only calls
> "_plug_get_oid"? Is there something planned in the future?

I guess it is just there because the other methods (e.g. get_cve_id)
followed the same scheme. Perhaps yet another place to reduce code base.

Best

        Jan
_______________________________________________
Openvas-devel mailing list
Openvas-devel@wald.intevation.org
http://lists.wald.intevation.org/mailman/listinfo/openvas-devel

Reply via email to