> > I would think it would be better to provide a NASL XML interface, and to do > > the Nmap part in NASL. ??This would mean less scan specific C code. ??Also, > > other NASL scripts could use the XML parser. > > I initially thought about it but couldn't find any proper way of doing > it, as NASL doesn't offer callback mechanisms. Maybe I am just missing > something, I am not completely confident with NASL yet. Do you have > something in mind?
You could read the entire XML doc, instead of using callbacks. This is what the parser provided by openvas-libraries/omp/xml.c does. -- Greenbone Networks GmbH Neuer Graben 17, 49074 Osnabrueck, Germany | AG Osnabrueck, HR B 202460 Executive Directors: Lukas Grunwald, Dr. Jan-Oliver Wagner _______________________________________________ Openvas-devel mailing list Openvas-devel@wald.intevation.org http://lists.wald.intevation.org/mailman/listinfo/openvas-devel