summaryrefslogtreecommitdiffstats
path: root/tmux.h
diff options
context:
space:
mode:
authornicm <nicm>2019-06-20 07:41:29 +0000
committernicm <nicm>2019-06-20 07:41:29 +0000
commitc1ede507d954b98a73c40665e7aee6fe5f0c5bce (patch)
tree279281ff205a0a31e27d7e6a9796aa522eb7123a /tmux.h
parentcd1fc42df6d1bacac4f617e031c279ba31bc0632 (diff)
Add a helper function to work out option table from name.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tmux.h b/tmux.h
index cc5e55c0..0557e98d 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1819,6 +1819,9 @@ struct options_entry *options_set_number(struct options *, const char *,
long long);
struct options_entry *options_set_style(struct options *, const char *, int,
const char *);
+enum options_table_scope options_scope_from_name(struct args *, int,
+ const char *, struct cmd_find_state *, struct options **,
+ char **);
enum options_table_scope options_scope_from_flags(struct args *, int,
struct cmd_find_state *, struct options **, char **);