|
|
|
@ -117,16 +117,12 @@ struct _hexchat_plugin
|
|
|
|
|
int flags);
|
|
|
|
|
void (*hexchat_free) (hexchat_plugin *ph,
|
|
|
|
|
void *ptr);
|
|
|
|
|
void (*hexchat_free_array) (hexchat_plugin *ph,
|
|
|
|
|
char **arr);
|
|
|
|
|
int (*hexchat_pluginpref_set_str) (hexchat_plugin *ph,
|
|
|
|
|
const char *var,
|
|
|
|
|
const char *value);
|
|
|
|
|
int (*hexchat_pluginpref_get_str) (hexchat_plugin *ph,
|
|
|
|
|
const char *var,
|
|
|
|
|
char *dest);
|
|
|
|
|
char *(*hexchat_pluginpref_get_str_ptr) (hexchat_plugin *ph,
|
|
|
|
|
const char *var);
|
|
|
|
|
int (*hexchat_pluginpref_set_int) (hexchat_plugin *ph,
|
|
|
|
|
const char *var,
|
|
|
|
|
int value);
|
|
|
|
@ -136,7 +132,6 @@ struct _hexchat_plugin
|
|
|
|
|
const char *var);
|
|
|
|
|
int (*hexchat_pluginpref_list) (hexchat_plugin *ph,
|
|
|
|
|
char *dest);
|
|
|
|
|
char **(*hexchat_pluginpref_list_keys) (hexchat_plugin *ph);
|
|
|
|
|
hexchat_hook *(*hexchat_hook_server_attrs) (hexchat_plugin *ph,
|
|
|
|
|
const char *name,
|
|
|
|
|
int pri,
|
|
|
|
@ -154,6 +149,11 @@ struct _hexchat_plugin
|
|
|
|
|
hexchat_event_attrs *(*hexchat_event_attrs_create) (hexchat_plugin *ph);
|
|
|
|
|
void (*hexchat_event_attrs_free) (hexchat_plugin *ph,
|
|
|
|
|
hexchat_event_attrs *attrs);
|
|
|
|
|
char *(*hexchat_pluginpref_get_str_ptr) (hexchat_plugin *ph,
|
|
|
|
|
const char *var);
|
|
|
|
|
char **(*hexchat_pluginpref_list_keys) (hexchat_plugin *ph);
|
|
|
|
|
void (*hexchat_free_array) (hexchat_plugin *ph,
|
|
|
|
|
char **arr);
|
|
|
|
|
|
|
|
|
|
/* PRIVATE FIELDS! */
|
|
|
|
|
void *handle; /* from dlopen */
|
|
|
|
|