diff options
author | 2013-03-25 10:09:05 +0000 | |
---|---|---|
committer | 2013-03-25 10:09:05 +0000 | |
commit | 8d127fbb7c77fb3db85a57e74220fa31180d44ee (patch) | |
tree | da11b9ecf458cd23111794f7624ae1aae68f724b /usr.bin/tmux/tmux.h | |
parent | Allow lastgc to be NULL in grid_string_cells so find-window doesn't (diff) | |
download | wireguard-openbsd-8d127fbb7c77fb3db85a57e74220fa31180d44ee.tar.xz wireguard-openbsd-8d127fbb7c77fb3db85a57e74220fa31180d44ee.zip |
Add a wait-for command which blocks a client on a named channel until it
is woken up again (with wait-for -S). From Thiago Padilha.
Diffstat (limited to 'usr.bin/tmux/tmux.h')
-rw-r--r-- | usr.bin/tmux/tmux.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/tmux/tmux.h b/usr.bin/tmux/tmux.h index e287d2d9ac7..4893f62730b 100644 --- a/usr.bin/tmux/tmux.h +++ b/usr.bin/tmux/tmux.h @@ -1,4 +1,4 @@ -/* $OpenBSD: tmux.h,v 1.400 2013/03/25 10:05:35 nicm Exp $ */ +/* $OpenBSD: tmux.h,v 1.401 2013/03/25 10:09:07 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -1420,6 +1420,8 @@ struct cmd_q { void *data; struct msg_command_data *msgdata; + + TAILQ_ENTRY(cmd_q) waitentry; }; /* Command definition. */ @@ -1839,6 +1841,7 @@ extern const struct cmd_entry cmd_switch_client_entry; extern const struct cmd_entry cmd_unbind_key_entry; extern const struct cmd_entry cmd_unlink_window_entry; extern const struct cmd_entry cmd_up_pane_entry; +extern const struct cmd_entry cmd_wait_for_entry; /* cmd-attach-session.c */ enum cmd_retval cmd_attach_session(struct cmd_q *, const char*, int, int); |