Fixup
This commit is contained in:
parent
cff0b31fb9
commit
77141cb080
|
@ -171,16 +171,12 @@ struct _hexchat_plugin
|
||||||
int flags);
|
int flags);
|
||||||
void (*hexchat_free) (hexchat_plugin *ph,
|
void (*hexchat_free) (hexchat_plugin *ph,
|
||||||
void *ptr);
|
void *ptr);
|
||||||
void (*hexchat_free_array) (hexchat_plugin *ph,
|
|
||||||
char **arr);
|
|
||||||
int (*hexchat_pluginpref_set_str) (hexchat_plugin *ph,
|
int (*hexchat_pluginpref_set_str) (hexchat_plugin *ph,
|
||||||
const char *var,
|
const char *var,
|
||||||
const char *value);
|
const char *value);
|
||||||
int (*hexchat_pluginpref_get_str) (hexchat_plugin *ph,
|
int (*hexchat_pluginpref_get_str) (hexchat_plugin *ph,
|
||||||
const char *var,
|
const char *var,
|
||||||
char *dest);
|
char *dest);
|
||||||
char *(*hexchat_pluginpref_get_str_ptr) (hexchat_plugin *ph,
|
|
||||||
const char *var);
|
|
||||||
int (*hexchat_pluginpref_set_int) (hexchat_plugin *ph,
|
int (*hexchat_pluginpref_set_int) (hexchat_plugin *ph,
|
||||||
const char *var,
|
const char *var,
|
||||||
int value);
|
int value);
|
||||||
|
@ -190,7 +186,6 @@ struct _hexchat_plugin
|
||||||
const char *var);
|
const char *var);
|
||||||
int (*hexchat_pluginpref_list) (hexchat_plugin *ph,
|
int (*hexchat_pluginpref_list) (hexchat_plugin *ph,
|
||||||
char *dest);
|
char *dest);
|
||||||
char **(*hexchat_pluginpref_list_keys) (hexchat_plugin *ph);
|
|
||||||
hexchat_hook *(*hexchat_hook_server_attrs) (hexchat_plugin *ph,
|
hexchat_hook *(*hexchat_hook_server_attrs) (hexchat_plugin *ph,
|
||||||
const char *name,
|
const char *name,
|
||||||
int pri,
|
int pri,
|
||||||
|
@ -208,6 +203,11 @@ struct _hexchat_plugin
|
||||||
hexchat_event_attrs *(*hexchat_event_attrs_create) (hexchat_plugin *ph);
|
hexchat_event_attrs *(*hexchat_event_attrs_create) (hexchat_plugin *ph);
|
||||||
void (*hexchat_event_attrs_free) (hexchat_plugin *ph,
|
void (*hexchat_event_attrs_free) (hexchat_plugin *ph,
|
||||||
hexchat_event_attrs *attrs);
|
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);
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -117,16 +117,12 @@ struct _hexchat_plugin
|
||||||
int flags);
|
int flags);
|
||||||
void (*hexchat_free) (hexchat_plugin *ph,
|
void (*hexchat_free) (hexchat_plugin *ph,
|
||||||
void *ptr);
|
void *ptr);
|
||||||
void (*hexchat_free_array) (hexchat_plugin *ph,
|
|
||||||
char **arr);
|
|
||||||
int (*hexchat_pluginpref_set_str) (hexchat_plugin *ph,
|
int (*hexchat_pluginpref_set_str) (hexchat_plugin *ph,
|
||||||
const char *var,
|
const char *var,
|
||||||
const char *value);
|
const char *value);
|
||||||
int (*hexchat_pluginpref_get_str) (hexchat_plugin *ph,
|
int (*hexchat_pluginpref_get_str) (hexchat_plugin *ph,
|
||||||
const char *var,
|
const char *var,
|
||||||
char *dest);
|
char *dest);
|
||||||
char *(*hexchat_pluginpref_get_str_ptr) (hexchat_plugin *ph,
|
|
||||||
const char *var);
|
|
||||||
int (*hexchat_pluginpref_set_int) (hexchat_plugin *ph,
|
int (*hexchat_pluginpref_set_int) (hexchat_plugin *ph,
|
||||||
const char *var,
|
const char *var,
|
||||||
int value);
|
int value);
|
||||||
|
@ -136,7 +132,6 @@ struct _hexchat_plugin
|
||||||
const char *var);
|
const char *var);
|
||||||
int (*hexchat_pluginpref_list) (hexchat_plugin *ph,
|
int (*hexchat_pluginpref_list) (hexchat_plugin *ph,
|
||||||
char *dest);
|
char *dest);
|
||||||
char **(*hexchat_pluginpref_list_keys) (hexchat_plugin *ph);
|
|
||||||
hexchat_hook *(*hexchat_hook_server_attrs) (hexchat_plugin *ph,
|
hexchat_hook *(*hexchat_hook_server_attrs) (hexchat_plugin *ph,
|
||||||
const char *name,
|
const char *name,
|
||||||
int pri,
|
int pri,
|
||||||
|
@ -154,6 +149,11 @@ struct _hexchat_plugin
|
||||||
hexchat_event_attrs *(*hexchat_event_attrs_create) (hexchat_plugin *ph);
|
hexchat_event_attrs *(*hexchat_event_attrs_create) (hexchat_plugin *ph);
|
||||||
void (*hexchat_event_attrs_free) (hexchat_plugin *ph,
|
void (*hexchat_event_attrs_free) (hexchat_plugin *ph,
|
||||||
hexchat_event_attrs *attrs);
|
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! */
|
/* PRIVATE FIELDS! */
|
||||||
void *handle; /* from dlopen */
|
void *handle; /* from dlopen */
|
||||||
|
|
Loading…
Reference in New Issue