Code

src/daemon/plugin.[ch]: Use cdtime_t for the interval argument of "register complex...
authorFlorian Forster <octo@collectd.org>
Sat, 6 Jun 2015 20:33:34 +0000 (22:33 +0200)
committerFlorian Forster <octo@collectd.org>
Sat, 6 Jun 2015 20:33:34 +0000 (22:33 +0200)
commitcce136946b879557f91183e4de58e92b81e138c8
tree8aa85e859e2412885f493bb47bf6b131fe5d2bbd
parent30eeeee996124de666f907877f8196e5580101ed
src/daemon/plugin.[ch]: Use cdtime_t for the interval argument of "register complex read".

All plugins converted to "struct timespec", just so that
plugin_register_complex_read() would convert back to cdtime_t again. This patch
removed this crazyness; the new "determine automatically" value is zero (used
to be NULL).
20 files changed:
src/apache.c
src/curl_json.c
src/curl_xml.c
src/daemon/plugin.c
src/daemon/plugin.h
src/dbi.c
src/java.c
src/memcached.c
src/modbus.c
src/mysql.c
src/netapp.c
src/onewire.c
src/openldap.c
src/postgresql.c
src/python.c
src/routeros.c
src/snmp.c
src/tail.c
src/tail_csv.c
src/varnish.c