English | Deutsch
Home »

OpenVAS Change Request #11: Make OpenVAS-Client use (and depend on) glib

Status: Voted +2. Implemented with revision 949. Released with OpenVAS-Client 1.0.4.

Purpose

To reduce code base of OpenVAS-Client by using storage, command line parsing and several other functionalities of glib instead and thus share the effort to maintain and optimize base functionalities among a broader developer/user base.

References

Change request #9 for other parts of OpenVAS

Rationale

Quite similar to the rest of the project, OpenVAS-Client includes a certain amount of features that were included through copying of third-party code. Other areas of the codebase contain (self-)implementations of concepts that could be replaced by implementations already available in broadly used, well maintained and portable libraries.

By using the functionality provided by those libraries for some of the features not unique to OpenVAS-Client, the size of the source code could be reduced while at the same time enabling significant gains in maintainability, performance and portability.

A first step towards this goal could be the use of the glib API for certain functions related to storage handling and command line parsing.

Effects

Design and Implementation

This is not worked out in great detail yet, as it is partly still to be evaluated which elements of glib are to be used in which way.

Basically, the idea is to have a initial step that creates the dependency to glib and delivers a first helpful feature easy to implement. Command line parsing appears to be this feature.

History