diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2007-11-04 12:16:22 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2007-11-04 12:16:22 +0100 |
commit | 24bcc4de4b11c6c75ff72956b9e7a7598f41d18e (patch) | |
tree | 5f70ecd1c2de31859acb457b96ec2e61783f2443 /src/plugins/plugin-api.h | |
parent | 2e18be982f8f9dfb6924945fb545c87169587057 (diff) | |
download | weechat-24bcc4de4b11c6c75ff72956b9e7a7598f41d18e.zip |
Update of plugin API list functions
Diffstat (limited to 'src/plugins/plugin-api.h')
-rw-r--r-- | src/plugins/plugin-api.h | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/src/plugins/plugin-api.h b/src/plugins/plugin-api.h index 551da324f..8ac174e7c 100644 --- a/src/plugins/plugin-api.h +++ b/src/plugins/plugin-api.h @@ -32,9 +32,9 @@ extern char *plugin_api_ngettext (struct t_weechat_plugin *, char *, char *, extern int plugin_api_strcasecmp (struct t_weechat_plugin *,char *, char *); extern int plugin_api_strncasecmp (struct t_weechat_plugin *,char *, char *, int); -extern char **plugin_api_explode_string (struct t_weechat_plugin *, char *, +extern char **plugin_api_string_explode (struct t_weechat_plugin *, char *, char *, int, int *); -extern void plugin_api_free_exploded_string (struct t_weechat_plugin *, +extern void plugin_api_string_free_exploded (struct t_weechat_plugin *, char **); /* directories */ @@ -91,17 +91,18 @@ extern void plugin_api_command (struct t_weechat_plugin *, void *, char *); extern char *plugin_api_info_get (struct t_weechat_plugin *, char *); /* lists */ -extern struct t_plugin_list *(*list_get) (struct t_weechat_plugin *, char *, - void *); -extern struct t_plugin_list_item *list_next (struct t_weechat_plugin *, - void *); -extern struct t_plugin_list_item *list_prev (struct t_weechat_plugin *, - void *); -extern int *list_int (struct t_weechat_plugin *, void *, char *); -extern char *list_str (struct t_weechat_plugin *, void *, char *); -extern void *list_pointer (struct t_weechat_plugin *, void *, char *); -extern time_t list_time (struct t_weechat_plugin *, void *, char *); -extern void list_free (struct t_weechat_plugin *, void *); +extern struct t_plugin_list *plugin_api_list_get (struct t_weechat_plugin *, + char *, void *); +extern int plugin_api_list_next (struct t_weechat_plugin *, + void *); +extern int plugin_api_list_prev (struct t_weechat_plugin *, + void *); +extern char *plugin_api_list_fields (struct t_weechat_plugin *, void *); +extern int plugin_api_list_int (struct t_weechat_plugin *, void *, char *); +extern char *plugin_api_list_string (struct t_weechat_plugin *, void *, char *); +extern void *plugin_api_list_pointer (struct t_weechat_plugin *, void *, char *); +extern time_t plugin_api_list_time (struct t_weechat_plugin *, void *, char *); +extern void plugin_api_list_free (struct t_weechat_plugin *, void *); /* config */ extern char *plugin_api_config_get (struct t_weechat_plugin *, char *); |