[rrd-developers] Preview for updated RRDTool PHP extension and userland wrapper

Benny Baumann BenBE at geshi.org
Wed Aug 26 13:00:30 CEST 2009


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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
Url : http://lists.oetiker.ch/pipermail/rrd-developers/attachments/20090826/82a2e875/attachment.pgp 


More information about the rrd-developers mailing list