X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Futils_curl_stats.h;h=3f83aab9fdd81d8ad728f83ffee580f89344b5c2;hb=ce2eb567629eb21d650d5c27fefe607837c061fd;hp=3a0a26eb245dd36adec64b9cfd22aa2b36a7687c;hpb=a5a33953ba9c8ca6a17531df5fa17181d59467c5;p=collectd.git diff --git a/src/utils_curl_stats.h b/src/utils_curl_stats.h index 3a0a26eb..3f83aab9 100644 --- a/src/utils_curl_stats.h +++ b/src/utils_curl_stats.h @@ -27,7 +27,6 @@ #ifndef UTILS_CURL_STATS_H #define UTILS_CURL_STATS_H 1 -#include "configfile.h" #include "plugin.h" #include @@ -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 */