diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2007-11-03 12:42:02 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2007-11-03 12:42:02 +0100 |
commit | f6ed0f2e5bee81382204c5c08592d7444b3db5a4 (patch) | |
tree | ba37e112c326d622e91e2152415262fcefa61a11 /src/plugins/plugin-list.h | |
parent | 04e5afe6e4df18ad3757beffc1238725121c9dba (diff) | |
download | weechat-f6ed0f2e5bee81382204c5c08592d7444b3db5a4.zip |
Added some list functions in plugin API
Diffstat (limited to 'src/plugins/plugin-list.h')
-rw-r--r-- | src/plugins/plugin-list.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/plugins/plugin-list.h b/src/plugins/plugin-list.h index 251a0168b..8b870d9b8 100644 --- a/src/plugins/plugin-list.h +++ b/src/plugins/plugin-list.h @@ -76,6 +76,12 @@ extern struct t_plugin_list_var *plugin_list_new_var_pointer (struct t_plugin_li char *, void *); extern struct t_plugin_list_var *plugin_list_new_var_time (struct t_plugin_list_item *, char *, time_t); +extern struct t_plugin_list_item *plugin_list_next_item (struct t_plugin_list *); +extern struct t_plugin_list_item *plugin_list_prev_item (struct t_plugin_list *); +extern int plugin_list_get_int (struct t_plugin_list_item *, char *); +extern char *plugin_list_get_string (struct t_plugin_list_item *, char *); +extern void *plugin_list_get_pointer (struct t_plugin_list_item *, char *); +extern time_t plugin_list_get_time (struct t_plugin_list_item *, char *); extern void plugin_list_free (struct t_plugin_list *); extern void plugin_list_print_log (); |