# options_get

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/options.c#L229
- **Page:** https://libtmux.org/en/tmux/3.7c/reference/c-function-options_get/

```c
struct options_entry * options_get(struct options *oo, const char *name)
```

## Parameters

- `oo` (`struct options *`)
- `name` (`const char *`)

## Called by

- [`cmd_display_menu_exec`](/en/tmux/3.7c/reference/c-function-cmd-display-menu-c-cmd_display_menu_exec/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-display-menu.c#L358)
- [`cmd_display_popup_exec`](/en/tmux/3.7c/reference/c-function-cmd-display-menu-c-cmd_display_popup_exec/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-display-menu.c#L476)
- [`cmd_set_option_exec`](/en/tmux/3.7c/reference/c-function-cmd-set-option-c-cmd_set_option_exec/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-set-option.c#L141)
- [`cmd_show_options_all`](/en/tmux/3.7c/reference/c-function-cmd-show-options-c-cmd_show_options_all/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-show-options.c#L233)
- [`cmd_show_options_exec`](/en/tmux/3.7c/reference/c-function-cmd-show-options-c-cmd_show_options_exec/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-show-options.c#L123)
- [`cmdq_insert_hook`](/en/tmux/3.7c/reference/c-function-cmdq_insert_hook/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-queue.c#L383)
- [`colour_palette_from_option`](/en/tmux/3.7c/reference/c-function-colour_palette_from_option/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/colour.c#L1137)
- [`environ_update`](/en/tmux/3.7c/reference/c-function-environ_update/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/environ.c#L194)
- [`notify_insert_hook`](/en/tmux/3.7c/reference/c-function-notify-c-notify_insert_hook/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/notify.c#L80)
- [`options_get_command`](/en/tmux/3.7c/reference/c-function-options_get_command/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/options.c#L757)
- [`options_get_number`](/en/tmux/3.7c/reference/c-function-options_get_number/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/options.c#L744)
- [`options_get_string`](/en/tmux/3.7c/reference/c-function-options_get_string/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/options.c#L731)
- [`options_match_get`](/en/tmux/3.7c/reference/c-function-options_match_get/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/options.c#L721)
- [`options_parent_table_entry`](/en/tmux/3.7c/reference/c-function-options-c-options_parent_table_entry/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/options.c#L117)
- [`options_parse_get`](/en/tmux/3.7c/reference/c-function-options_parse_get/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/options.c#L660)
- [`options_string_to_style`](/en/tmux/3.7c/reference/c-function-options_string_to_style/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/options.c#L984)
- [`status_redraw`](/en/tmux/3.7c/reference/c-function-status_redraw/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/status.c#L411)
- [`tty_keys_build`](/en/tmux/3.7c/reference/c-function-tty_keys_build/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty-keys.c#L533)
- [`utf8_update_width_cache`](/en/tmux/3.7c/reference/c-function-utf8_update_width_cache/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/utf8.c#L425)
- [`window_customize_build_options`](/en/tmux/3.7c/reference/c-function-window-customize-c-window_customize_build_options/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-customize.c#L402)
- [`window_customize_draw_option`](/en/tmux/3.7c/reference/c-function-window-customize-c-window_customize_draw_option/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-customize.c#L673)
- [`window_customize_set_option`](/en/tmux/3.7c/reference/c-function-window-customize-c-window_customize_set_option/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-customize.c#L1047)
- [`window_customize_set_option_callback`](/en/tmux/3.7c/reference/c-function-window-customize-c-window_customize_set_option_callback/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-customize.c#L996)
- [`window_customize_unset_option`](/en/tmux/3.7c/reference/c-function-window-customize-c-window_customize_unset_option/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-customize.c#L1164)

## Calls

- [`options_get_only`](/en/tmux/3.7c/reference/c-function-options_get_only/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/options.c#L233)

## Referenced declarations

- [`options_entry.name`](/en/tmux/3.7c/reference/c-struct-options_entry-name/) (attribute)
- [`options`](/en/tmux/3.7c/reference/c-struct-options/) (struct)
- [`options_entry`](/en/tmux/3.7c/reference/c-struct-options_entry/) (struct)
- [`options.parent`](/en/tmux/3.7c/reference/c-struct-options-parent/) (attribute)
