diff options
Diffstat (limited to 'usr.bin/tmux/tmux.h')
-rw-r--r-- | usr.bin/tmux/tmux.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/usr.bin/tmux/tmux.h b/usr.bin/tmux/tmux.h index faf60868f0a..75fa606fcb0 100644 --- a/usr.bin/tmux/tmux.h +++ b/usr.bin/tmux/tmux.h @@ -1,4 +1,4 @@ -/* $OpenBSD: tmux.h,v 1.871 2019/03/16 19:12:13 nicm Exp $ */ +/* $OpenBSD: tmux.h,v 1.872 2019/03/18 11:58:40 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -50,6 +50,7 @@ struct mode_tree_data; struct mouse_event; struct options; struct options_entry; +struct options_array_item; struct session; struct tmuxpeer; struct tmuxproc; @@ -1642,8 +1643,12 @@ void options_array_clear(struct options_entry *); const char *options_array_get(struct options_entry *, u_int); int options_array_set(struct options_entry *, u_int, const char *, int); -int options_array_size(struct options_entry *, u_int *); void options_array_assign(struct options_entry *, const char *); +struct options_array_item *options_array_first(struct options_entry *); +struct options_array_item *options_array_next(struct options_array_item *); +u_int options_array_item_index(struct options_array_item *); +const char *options_array_item_value(struct options_array_item *); +int options_isarray(struct options_entry *); int options_isstring(struct options_entry *); const char *options_tostring(struct options_entry *, int, int); char *options_parse(const char *, int *); |