diff options
author | Berke Viktor <berkeviktor@aol.com> | 2011-11-30 08:28:19 +0100 |
---|---|---|
committer | Berke Viktor <berkeviktor@aol.com> | 2011-11-30 08:28:19 +0100 |
commit | 1567d326971811fd956042aaa43c932d247b4681 (patch) | |
tree | 569a9e8c4fd495a9614fdc6e0dc9d78060375831 /src/common/plugin.h | |
parent | f49caf67f642336888a63d61f60b458236df19ad (diff) |
plugin config - separate string and int functions
Diffstat (limited to 'src/common/plugin.h')
-rw-r--r-- | src/common/plugin.h | 12 |
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); |