Code

perl plugin: Improved value list conversion.
authorSebastian Harl <sh@tokkee.org>
Sat, 20 Oct 2007 13:42:33 +0000 (15:42 +0200)
committerFlorian Forster <octo@huhu.verplant.org>
Wed, 24 Oct 2007 18:03:32 +0000 (20:03 +0200)
commit3d31f004c89491da5e658eff48be84cc7a4e8697
tree1510b55c7fb916e51c49eb23cc61689754febe75
parent6238d319b71ba9f7022bc1306fa10d92fd2fe747
perl plugin: Improved value list conversion.

The perl plugin used to store an internal list of data-source types for
each data-set registered by Perl plugins to get fast access to this
information (which is required to correctly convert a Perl data-set to a
data_set_t struct). However, this prevented Perl plugins to use data-sets
defined in types.db. This patch fixes this issue by requesting the
data-set definition from collectd.

Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
src/perl.c