]> git.ipfire.org Git - thirdparty/rrdtool-1.x.git/commit
This moves selection of the initial RRA row into the rrd_open.c API
authorTobias Oetiker <tobi@oetiker.ch>
Tue, 14 Oct 2008 20:14:35 +0000 (20:14 +0000)
committerTobias Oetiker <tobi@oetiker.ch>
Tue, 14 Oct 2008 20:14:35 +0000 (20:14 +0000)
commit7dfe75463388a3cec16551ea930bfcdcae0b734c
treee6cc7c9db6ac92585f9eff78a583d15c301de055
parent87090df2faf96e5f8682494a14e517032b6b7db6
This moves selection of the initial RRA row into the rrd_open.c API

The current implementation (random row) is used by default.  However, it
now provides an opportunity for alternative implementations to integrate
with rrdtool in a single place.

Maybe there are other places in rrdtool where I should insert calls to
the function rrd_notify_row()?

This has been tested with rrdtool create and rrdtool info to verify that
random rows are selected by default (existing behaviour preserved).

-- Daniel Pocock

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1606 a5681a0c-68f1-0310-ab6d-d61299d08faa
src/rrd.h
src/rrd_create.c
src/rrd_open.c
src/rrd_update.c