[rrd-users] [rrd-developers] [PATCH + RFC] Cleanup the symbols exported by librrd.

Tobias Oetiker tobi at oetiker.ch
Sun Jun 8 23:15:16 CEST 2008


Hi Bernhard,

Today Bernhard Fischer wrote:
> >
> > * I did not include rrd_open(), rrd_close(), rrd_write() and similar
> >   functions in the public interface so far as they look like pretty
> >   low-level functions which usually are not needed outside of rrdtool.
>
> These functions should be exported since any librrdtool is pretty
> useless without them.
>
> Suppose i want to write a program that opens an rrd and reads one or
> more DS and a varying number of entries from some CF, calculates
> something and returns a result. Currently i would have to do alot of
> what fetch does to achieve this, which doesn't make sense in the light
> of a librrdtool.
> See
> http://www.mail-archive.com/rrd-developers@lists.oetiker.ch/msg01866.html

so would

rrd_open
rrd_read
rrd_close
rrd_tell
rrd_write

be enough, or should there be more ?

cheers
tobi




>
> _______________________________________________
> rrd-users mailing list
> rrd-users at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
>
>

-- 
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten
http://it.oetiker.ch tobi at oetiker.ch ++41 62 213 9902



More information about the rrd-users mailing list