summary refs log tree commit diff stats
path: root/plugins/xchat-plugin.h
diff options
context:
space:
mode:
authorBerke Viktor <berkeviktor@aol.com>2011-12-01 21:24:58 +0100
committerBerke Viktor <berkeviktor@aol.com>2011-12-01 21:24:58 +0100
commit455032938a9d5336e55684692113fbca8a156810 (patch)
tree6b2e663cc9ff35092a673f4cb3f28bac9c852ef1 /plugins/xchat-plugin.h
parentb692172aa907243c7543015468da0fb077a9ac99 (diff)
plugin api conformance
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