virt: Fetch block info stats from libvirt only if needed
[collectd.git] / src / utils_curl_stats.h
index 3a0a26e..3f83aab 100644 (file)
@@ -27,7 +27,6 @@
 #ifndef UTILS_CURL_STATS_H
 #define UTILS_CURL_STATS_H 1
 
-#include "configfile.h"
 #include "plugin.h"
 
 #include <curl/curl.h>
@@ -36,24 +35,22 @@ struct curl_stats_s;
 typedef struct curl_stats_s curl_stats_t;
 
 /*
- * curl_stats_from_config allocates and constructs a CURL statistics object
+ * curl_stats_from_config allocates and constructs a cURL statistics object
  * from the specified configuration which is expected to be a single block of
- * boolean options named after CURL information fields. The boolean value
+ * boolean options named after cURL information fields. The boolean value
  * indicates whether to collect the respective information.
  *
  * See http://curl.haxx.se/libcurl/c/curl_easy_getinfo.html
  */
-__attribute__((nonnull(1)))
-curl_stats_t *curl_stats_from_config (oconfig_item_t *ci);
+curl_stats_t *curl_stats_from_config(oconfig_item_t *ci);
 
-void curl_stats_destroy (curl_stats_t *s);
+void curl_stats_destroy(curl_stats_t *s);
 
 /*
  * curl_stats_dispatch dispatches performance values from the the specified
- * CURL session to the daemon.
+ * cURL session to the daemon.
  */
-int curl_stats_dispatch (curl_stats_t *s, CURL *curl,
-               const char *hostname, const char *plugin, const char *plugin_instance,
-               const char *instance_prefix);
+int curl_stats_dispatch(curl_stats_t *s, CURL *curl, const char *hostname,
+                        const char *plugin, const char *plugin_instance);
 
 #endif /* UTILS_CURL_STATS_H */