summary refs log tree commit diff stats
path: root/src/common/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 /src/common/plugin.h
parentb692172aa907243c7543015468da0fb077a9ac99 (diff)
plugin api conformance
Diffstat (limited to 'src/common/plugin.h')
-rw-r--r--src/common/plugin.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/common/plugin.h b/src/common/plugin.h
index 858ed815..cddb86fb 100644
--- a/src/common/plugin.h
+++ b/src/common/plugin.h
@@ -99,16 +99,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);
 	void *(*xchat_dummy4) (xchat_plugin *ph);
 	void *(*xchat_dummy3) (xchat_plugin *ph);
 	void *(*xchat_dummy2) (xchat_plugin *ph);