Code

Removed vserver.h from Makefile as well.
[collectd.git] / src / plugin.h
index 6e363673474b6c20049cdb3f8bc6e70420a92d36..a07c205a66c47bc67fd445ea49767a01c9a89993 100644 (file)
@@ -36,7 +36,7 @@
  * NOTES
  *  If `dir' is NULL the compiled in default `PLUGINDIR' is used.
  */
-void plugin_set_dir (char *dir);
+void plugin_set_dir (const char *dir);
 
 /*
  * NAME
@@ -86,7 +86,7 @@ int plugin_exists (char *type);
  * NOTES
  *  No attempt is made to re-load an already loaded module.
  */
-int  plugin_load (char *type);
+int  plugin_load (const char *type);
 
 int  plugin_load_all (char *dir);
 void plugin_init_all (void);