summary refs log tree commit diff stats
path: root/plugins
diff options
context:
space:
mode:
authorBerke Viktor <berkeviktor@aol.com>2012-01-14 00:29:01 +0100
committerBerke Viktor <berkeviktor@aol.com>2012-01-14 00:29:01 +0100
commitc3821b6316c3d25ef6affd5215796d3abbefd2fe (patch)
tree37bcf84cb8417c0c91ce42d8d38f5d5e896dbef9 /plugins
parentc979a8a8b7493538dde5b80936b298ad6b57c877 (diff)
skeleton for xchat_del_pluginpref
Diffstat (limited to 'plugins')
-rw-r--r--plugins/xchat-plugin.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/plugins/xchat-plugin.h b/plugins/xchat-plugin.h
index 15799424..373c664e 100644
--- a/plugins/xchat-plugin.h
+++ b/plugins/xchat-plugin.h
@@ -148,6 +148,8 @@ struct _xchat_plugin
 		int value);
 	int (*xchat_get_pluginpref_int) (xchat_plugin *ph,
 		const char *var);
+	int (*xchat_del_pluginpref) (xchat_plugin *ph,
+		const char *var);
 };
 #endif
 
@@ -321,6 +323,10 @@ int
 xchat_get_pluginpref_int (xchat_plugin *ph,
 		const char *var);
 
+int
+xchat_del_pluginpref (xchat_plugin *ph,
+		const char *var);
+
 #if !defined(PLUGIN_C) && defined(WIN32)
 #ifndef XCHAT_PLUGIN_HANDLE
 #define XCHAT_PLUGIN_HANDLE (ph)
@@ -359,6 +365,7 @@ xchat_get_pluginpref_int (xchat_plugin *ph,
 #define xchat_get_pluginpref_str ((XCHAT_PLUGIN_HANDLE)->xchat_get_pluginpref_str)
 #define xchat_set_pluginpref_int ((XCHAT_PLUGIN_HANDLE)->xchat_set_pluginpref_int)
 #define xchat_get_pluginpref_int ((XCHAT_PLUGIN_HANDLE)->xchat_get_pluginpref_int)
+#define xchat_del_pluginpref ((XCHAT_PLUGIN_HANDLE)->xchat_del_pluginpref)
 #endif
 
 #ifdef __cplusplus