src/daemon/plugin.[ch]: Use cdtime_t for the interval argument of "register complex...
[collectd.git] / src / daemon / plugin.h
index beeb576..2e20da4 100644 (file)
@@ -293,7 +293,7 @@ int plugin_register_read (const char *name,
  * "plugin_register_complex_read" returns an error (non-zero). */
 int plugin_register_complex_read (const char *group, const char *name,
                plugin_read_cb callback,
-               const struct timespec *interval,
+               cdtime_t interval,
                user_data_t *user_data);
 int plugin_register_write (const char *name,
                plugin_write_cb callback, user_data_t *user_data);
@@ -330,7 +330,7 @@ int plugin_unregister_notification (const char *name);
  *  This function can be called to output a list of _all_ registered
  *  writers to the logfacility.
  *  Since some writers dynamically build their name it can be hard for
- *  the configuring person to know it. This function will fill this gap. 
+ *  the configuring person to know it. This function will fill this gap.
  */
 void plugin_log_available_writers ();