Hello,

On Dienstag, 28. Oktober 2008, Felix Wolfsteller wrote:
> I stumbled over a 
> #ifdef ENABLE_PLUGIN_SERVER
>     if ( recompile_all != 0 ) exit(0); /* Done */
> #endif
> in openvasd.c. I could not find ENABLE_PLUGIN_SERVER to be defined somewhere 
> (neither in Make targets). Since recompile_all is not defined somewhere 
> either, defining ENABLE_PLUGIN_SERVER would break the building process for 
> the server anyway.
> From the speaking name of the #define I guess it was used to build a 
> (nessus?-) server just serving plugins but not executing them. Since 
> OpenVAS-Server does not offer this split personality but introduced feeds, I 
> suspect of these "#ifdef ENAB... #endif"  parts of code (~700 lines in 
> preparse.c, ~30 in exec.c, 1 in openvasd.c) can be removed, right?

this code might be about creating "binaries" of the nasl scripts.

I suggest to leave it where it is and eventually get back to it
once we moved our minds about whether we want compiled versions
of the nasls. (BTW: I think yes, but lack time to give a detailed rational
at the moment)

Best

        Jan


-- 
Dr. Jan-Oliver Wagner                        Intevation GmbH, Osnabrück
Amtsgericht Osnabrück, HR B 18998             http://www.intevation.de/
Geschäftsführer: Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner
_______________________________________________
Openvas-devel mailing list
Openvas-devel@wald.intevation.org
http://lists.wald.intevation.org/mailman/listinfo/openvas-devel

Reply via email to