summary refs log tree commit diff stats
path: root/plugins/xchat-plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/xchat-plugin.h')
-rw-r--r--plugins/xchat-plugin.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/plugins/xchat-plugin.h b/plugins/xchat-plugin.h
index 48e3bc02..15799424 100644
--- a/plugins/xchat-plugin.h
+++ b/plugins/xchat-plugin.h
@@ -138,16 +138,16 @@ struct _xchat_plugin
 	void (*xchat_free) (xchat_plugin *ph,
 	    void *ptr);
 	int (*xchat_set_pluginpref_str) (xchat_plugin *ph,
-		char *var,
-		char *value);
+		const char *var,
+		const char *value);
 	int (*xchat_get_pluginpref_str) (xchat_plugin *ph,
-		char *var,
+		const char *var,
 		char *dest);
 	int (*xchat_set_pluginpref_int) (xchat_plugin *ph,
-		char *var,
+		const char *var,
 		int value);
 	int (*xchat_get_pluginpref_int) (xchat_plugin *ph,
-		char *var);
+		const char *var);
 };
 #endif
 
@@ -305,21 +305,21 @@ xchat_free (xchat_plugin *ph,
 
 int
 xchat_set_pluginpref_str (xchat_plugin *ph,
-		char *var,
-		char *value);
+		const char *var,
+		const char *value);
 
 int
 xchat_get_pluginpref_str (xchat_plugin *ph,
-		char *var,
+		const char *var,
 		char *dest);
 
 int
 xchat_set_pluginpref_int (xchat_plugin *ph,
-		char *var,
+		const char *var,
 		int value);
 int
 xchat_get_pluginpref_int (xchat_plugin *ph,
-		char *var);
+		const char *var);
 
 #if !defined(PLUGIN_C) && defined(WIN32)
 #ifndef XCHAT_PLUGIN_HANDLE