author | Sebastian Harl <sh@tokkee.org> | |
Sun, 20 Apr 2008 21:19:28 +0000 (23:19 +0200) | ||
committer | Florian Forster <octo@huhu.verplant.org> | |
Wed, 23 Apr 2008 13:39:21 +0000 (15:39 +0200) | ||
commit | 2354eda94fa44c8bcb8e39b24b117e7937110224 | |
tree | 697398bd55a138b097b99a803c52bdc92f15eb25 | tree | snapshot |
parent | 409d90064967451241f5fcc672a26269142e1735 | commit | diff |
Added "type" to the value_list_t struct.
This way, the complete tuple (host, plugin, plugin instance, type, type
instance) is stored in a single data-type which is more straight forward
and allows a more flexible use of that data-type. As a consequence, there
is no longer a need to explicitly pass the type to some functions, most
notably plugin_dispatch_values(), which have been updated in that respect.
The "perl" plugin has also been updated to reflect this change. For
backwards compatibility, plugin_dispatch_values() still accepts a second
argument - however, a warning will be submitted to the daemon in that
case.
Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
This way, the complete tuple (host, plugin, plugin instance, type, type
instance) is stored in a single data-type which is more straight forward
and allows a more flexible use of that data-type. As a consequence, there
is no longer a need to explicitly pass the type to some functions, most
notably plugin_dispatch_values(), which have been updated in that respect.
The "perl" plugin has also been updated to reflect this change. For
backwards compatibility, plugin_dispatch_values() still accepts a second
argument - however, a warning will be submitted to the daemon in that
case.
Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
55 files changed: