=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/tmux.h,v retrieving revision 1.871 retrieving revision 1.872 diff -u -r1.871 -r1.872 --- src/usr.bin/tmux/tmux.h 2019/03/16 19:12:13 1.871 +++ src/usr.bin/tmux/tmux.h 2019/03/18 11:58:40 1.872 @@ -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 @@ -50,6 +50,7 @@ struct mouse_event; struct options; struct options_entry; +struct options_array_item; struct session; struct tmuxpeer; struct tmuxproc; @@ -1642,8 +1643,12 @@ 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 *);