Lines Matching refs:options

1 /* $OpenBSD: options.c,v 1.69 2022/06/17 07:28:05 nicm Exp $ */
51 struct options *owner;
63 struct options {
65 struct options *parent;
68 static struct options_entry *options_add(struct options *, const char *);
111 options_parent_table_entry(struct options *oo, const char *s)
116 fatalx("no parent options for %s", s);
119 fatalx("%s not in parent options", s);
170 struct options *
171 options_create(struct options *parent)
173 struct options *oo;
182 options_free(struct options *oo)
191 struct options *
192 options_get_parent(struct options *oo)
198 options_set_parent(struct options *oo, struct options *parent)
204 options_first(struct options *oo)
216 options_get_only(struct options *oo, const char *name)
229 options_get(struct options *oo, const char *name)
244 options_empty(struct options *oo, const struct options_table_entry *oe)
258 options_default(struct options *oo, const struct options_table_entry *oe)
320 options_add(struct options *oo, const char *name)
339 struct options *oo = o->owner;
356 struct options *
619 options_parse_get(struct options *oo, const char *s, int *idx, int only)
678 options_match_get(struct options *oo, const char *s, int *idx, int only,
697 options_get_string(struct options *oo, const char *name)
710 options_get_number(struct options *oo, const char *name)
723 options_set_string(struct options *oo, const char *name, int append,
763 options_set_number(struct options *oo, const char *name, long long value)
785 const char *name, struct cmd_find_state *fs, struct options **oo,
820 *oo = s->options;
831 *oo = wp->options;
846 *oo = wl->window->options;
856 struct cmd_find_state *fs, struct options **oo, char **cause)
876 *oo = wp->options;
890 *oo = wl->window->options;
904 *oo = s->options;
910 options_string_to_style(struct options *oo, const char *name,
969 options_from_string_flag(struct options *oo, const char *name,
1013 struct options *oo, const char *name, const char *value, char **cause)
1031 options_from_string(struct options *oo, const struct options_table_entry *oe,
1116 if (options_get_number(w->options, name))
1154 colour_palette_from_option(&wp->palette, wp->options);
1173 struct options *oo = o->owner;