summary refs log tree commit diff stats
path: root/src/common/plugin.h
diff options
context:
space:
mode:
authorBerke Viktor <berkeviktor@aol.com>2011-11-30 08:28:19 +0100
committerBerke Viktor <berkeviktor@aol.com>2011-11-30 08:28:19 +0100
commit1567d326971811fd956042aaa43c932d247b4681 (patch)
tree569a9e8c4fd495a9614fdc6e0dc9d78060375831 /src/common/plugin.h
parentf49caf67f642336888a63d61f60b458236df19ad (diff)
plugin config - separate string and int functions
Diffstat (limited to 'src/common/plugin.h')
-rw-r--r--src/common/plugin.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/common/plugin.h b/src/common/plugin.h
index 6a2d62e2..f0ae6fc4 100644
--- a/src/common/plugin.h
+++ b/src/common/plugin.h
@@ -98,13 +98,17 @@ struct _xchat_plugin
 	     int flags);
 	void (*xchat_free) (xchat_plugin *ph,
 	    void *ptr);
-	int (*xchat_set_plugin_pref) (xchat_plugin *ph,
+	int (*xchat_set_plugin_pref_str) (xchat_plugin *ph,
 		char *var,
 		char *value);
-	int (*xchat_get_plugin_pref) (xchat_plugin *ph,
+	int (*xchat_get_plugin_pref_str) (xchat_plugin *ph,
 		char *var,
-		char *dest,
-		int dest_len);
+		char *dest);
+	int (*xchat_set_plugin_pref_int) (xchat_plugin *ph,
+		char *var,
+		int value);
+	int (*xchat_get_plugin_pref_int) (xchat_plugin *ph,
+		char *var);
 	void *(*xchat_dummy4) (xchat_plugin *ph);
 	void *(*xchat_dummy3) (xchat_plugin *ph);
 	void *(*xchat_dummy2) (xchat_plugin *ph);