diff options
author | 2010-07-11 17:06:45 +0000 | |
---|---|---|
committer | 2010-07-11 17:06:45 +0000 | |
commit | 3c9f218d411024f3dfaff15b0b39b7a689a87c2f (patch) | |
tree | 07e2289865737116e45f40c51716451b315bb1c4 /usr.bin/tmux/tmux.h | |
parent | bcrypt_gensalt is already declared in pwd.h (diff) | |
download | wireguard-openbsd-3c9f218d411024f3dfaff15b0b39b7a689a87c2f.tar.xz wireguard-openbsd-3c9f218d411024f3dfaff15b0b39b7a689a87c2f.zip |
Return the command client return code with MSG_EXIT now that MSG_ERROR and
MSG_PRINT are unused.
New clients should be compatible with old tmux servers but vice versa may print
an error.
Diffstat (limited to 'usr.bin/tmux/tmux.h')
-rw-r--r-- | usr.bin/tmux/tmux.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/usr.bin/tmux/tmux.h b/usr.bin/tmux/tmux.h index 09397cd8e58..66b952c263d 100644 --- a/usr.bin/tmux/tmux.h +++ b/usr.bin/tmux/tmux.h @@ -1,4 +1,4 @@ -/* $OpenBSD: tmux.h,v 1.233 2010/06/29 05:24:49 tedu Exp $ */ +/* $OpenBSD: tmux.h,v 1.234 2010/07/11 17:06:45 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -413,6 +413,10 @@ struct msg_shell_data { char shell[MAXPATHLEN]; }; +struct msg_exit_data { + int retcode; +}; + /* Mode key commands. */ enum mode_key_cmd { MODEKEY_NONE, @@ -1081,6 +1085,7 @@ struct message_entry { struct client { struct imsgbuf ibuf; struct event event; + int retcode; struct timeval creation_time; struct timeval activity_time; |