diff options
author | Berke Viktor <berkeviktor@aol.com> | 2012-01-15 19:07:48 +0100 |
---|---|---|
committer | Berke Viktor <berkeviktor@aol.com> | 2012-01-15 19:07:48 +0100 |
commit | 4942dc667f3ff40601b7afd2efd91dff1f73789a (patch) | |
tree | f71519d3cf2f391407ef5a929157d0dea4e6249d /src/common/plugin.h | |
parent | e421c11686c7ab9e21d9fbf34ba363f990d45fa9 (diff) |
refactor plugin config API and add skeleton for xchat_pluginpref_list
Diffstat (limited to 'src/common/plugin.h')
-rw-r--r-- | src/common/plugin.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/common/plugin.h b/src/common/plugin.h index bb86f0a3..8c347d51 100644 --- a/src/common/plugin.h +++ b/src/common/plugin.h @@ -98,19 +98,21 @@ struct _xchat_plugin int flags); void (*xchat_free) (xchat_plugin *ph, void *ptr); - int (*xchat_set_pluginpref_str) (xchat_plugin *ph, + int (*xchat_pluginpref_set_str) (xchat_plugin *ph, const char *var, const char *value); - int (*xchat_get_pluginpref_str) (xchat_plugin *ph, + int (*xchat_pluginpref_get_str) (xchat_plugin *ph, const char *var, char *dest); - int (*xchat_set_pluginpref_int) (xchat_plugin *ph, + int (*xchat_pluginpref_set_int) (xchat_plugin *ph, const char *var, int value); - int (*xchat_get_pluginpref_int) (xchat_plugin *ph, + int (*xchat_pluginpref_get_int) (xchat_plugin *ph, const char *var); - int (*xchat_del_pluginpref) (xchat_plugin *ph, + int (*xchat_pluginpref_delete) (xchat_plugin *ph, const char *var); + int (*xchat_pluginpref_list) (xchat_plugin *ph, + char *dest); void *(*xchat_dummy4) (xchat_plugin *ph); void *(*xchat_dummy3) (xchat_plugin *ph); void *(*xchat_dummy2) (xchat_plugin *ph); |