mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 21:56:57 +00:00
Make array options a sparse tree instead of an array of char * and
remove the size limit.
This commit is contained in:
7
tmux.h
7
tmux.h
@ -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 *);
|
||||
|
Reference in New Issue
Block a user