summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/tmux.h
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2009-12-10 09:16:52 +0000
committernicm <nicm@openbsd.org>2009-12-10 09:16:52 +0000
commitf79ec1191f6de2754f302c57d6ed09f9c5e5a9c5 (patch)
tree22e0c1ae1a6964bf9997fc9b21d611e630e1d59d /usr.bin/tmux/tmux.h
parenttweak previous; (diff)
downloadwireguard-openbsd-f79ec1191f6de2754f302c57d6ed09f9c5e5a9c5.tar.xz
wireguard-openbsd-f79ec1191f6de2754f302c57d6ed09f9c5e5a9c5.zip
Add "server options" which are server-wide and not bound to a session or
window. Set and displayed with "set -s" and "show -s". Currently the only option is "quiet" (like command-line -q, allowing it to be set from .tmux.conf), but others will come along.
Diffstat (limited to 'usr.bin/tmux/tmux.h')
-rw-r--r--usr.bin/tmux/tmux.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/tmux/tmux.h b/usr.bin/tmux/tmux.h
index b6594da58eb..4b89862436c 100644
--- a/usr.bin/tmux/tmux.h
+++ b/usr.bin/tmux/tmux.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: tmux.h,v 1.193 2009/12/08 07:49:31 nicm Exp $ */
+/* $OpenBSD: tmux.h,v 1.194 2009/12/10 09:16:52 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -1235,6 +1235,7 @@ struct set_option_entry {
};
/* tmux.c */
+extern struct options global_options;
extern struct options global_s_options;
extern struct options global_w_options;
extern struct environ global_environ;
@@ -1391,6 +1392,7 @@ extern const char clock_table[14][5][5];
void clock_draw(struct screen_write_ctx *, int, int);
/* cmd-set-option.c */
+extern const struct set_option_entry set_option_table[];
extern const struct set_option_entry set_session_option_table[];
extern const struct set_option_entry set_window_option_table[];
const char *cmd_set_option_print(