Hi, I did some more work on Dan's modified version because I found some issues I wasn't quite happy with (especially the memory leaks I already had fixed in my version). I hope this version fixes them all again and also does some code cleanup for other places. The source isn't perfect yet, but should do quite well.
As always comments and bugreports appreciated! Am 25.08.2009 22:20, schrieb Dan Cech: > Benny et al, > > I have attached my current working version which includes many of the > updates previously posted by Benny in addition to a number of the > updates I have been working on. > > This includes: > > - remove requirement to send argument count to rrd_graph Reworked argument parsing and preparation; function much more clean now > - add support for rrd_xport Some rework here too > - remove requirement to send argument count to rrd_fetch Reworked argument parsing and preparation; function much more clean now > - support multiple update values in rrd_update Reworked argument parsing and preparation; function much more clean now. Now it uses the internal array copy routine or builds the necessary structure for strings. Makes source more readable and reduces branches. > - support rrd_lastupdate Didn't compile for me. Had to change for rrd_lastupdate_r to make it work (perhaps an error in rrd.h???) > - support rrd_first Reworked argument parsing and preparation > - support rrd_info Reworked argument parsing and preparation > As always, all feedback is appreciated. > > Dan Regards, BenBE.
signature.asc
Description: OpenPGP digital signature
_______________________________________________ rrd-developers mailing list rrd-developers@lists.oetiker.ch https://lists.oetiker.ch/cgi-bin/listinfo/rrd-developers