On Mittwoch, 2. Juli 2014, Henri Doreau wrote: > OpenVAS scanner uses a hybrid data structure that combines the > drawbacks of both a linked list and a hashtable[1]. > > It is currently used in two different ways: as a way to pass > arbitrarily typed values to functions, or as a container to store > key/values. It contains only integers and pointers and isn't involved > in any IPC anymore. > > I have done an audit of where and how it's used and I believe that it > can be safely replaced by GHashTables and small internal API changes. > I have made a first change in openvassd.c (see r19808). We should do > it little by little, probably starting with the highest layers of the > scanner, or it's gonna be a huge and unmanageable patch! Any volunteer > to tackle other occurrences?
getting rid of the arglist is definitely desirable. Thanks to Henri for that patch. I agree that small patches one by one are the best procedure to get rid of this finally. -- Dr. Jan-Oliver Wagner | ++49-541-335084-0 | http://www.greenbone.net/ Greenbone Networks GmbH, Neuer Graben 17, 49074 Osnabrück | AG Osnabrück, HR B 202460 Geschäftsführer: Lukas Grunwald, Dr. Jan-Oliver Wagner _______________________________________________ Openvas-devel mailing list [email protected] https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-devel
