X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fdaemon%2Fconfigfile.h;h=09dbe58f827fa3cf7262817d9d1ad7f27161d4f9;hb=21058a13ed34ade6d2de0f54e4216b255d033af1;hp=5bc9b305615ee3404d8d373dd5544de7e88e433d;hpb=09c6a320f3cb36b5dbb2c2ce43858f33be7acf9b;p=collectd.git diff --git a/src/daemon/configfile.h b/src/daemon/configfile.h index 5bc9b305..09dbe58f 100644 --- a/src/daemon/configfile.h +++ b/src/daemon/configfile.h @@ -34,7 +34,7 @@ /* * DESCRIPTION * Remove a registered plugin from the internal data structures. - * + * * PARAMETERS * `type' Name of the plugin (must be the same as passed to * `plugin_register' @@ -87,7 +87,7 @@ int cf_register_complex (const char *type, int (*callback) (oconfig_item_t *)); * Returns zero upon success and non-zero otherwise. A error-message will have * been printed in this case. */ -int cf_read (char *filename); +int cf_read (const char *filename); int global_option_set (const char *option, const char *value); const char *global_option_get (const char *option);