diff options
author | Tiago Cunha <tcunha@gmx.com> | 2010-07-17 14:36:41 +0000 |
---|---|---|
committer | Tiago Cunha <tcunha@gmx.com> | 2010-07-17 14:36:41 +0000 |
commit | ad6a528f611bf793f0c3d4f832f34a1c778068e3 (patch) | |
tree | 7cc69a9c6ed4419842ac808a695b568e04b1d918 /tmux.h | |
parent | 46f27eab22f78ec35a11b6e5b4d61e705c96eca1 (diff) | |
download | rtmux-ad6a528f611bf793f0c3d4f832f34a1c778068e3.tar.gz rtmux-ad6a528f611bf793f0c3d4f832f34a1c778068e3.tar.bz2 rtmux-ad6a528f611bf793f0c3d4f832f34a1c778068e3.zip |
Sync OpenBSD patchset 734:
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 'tmux.h')
-rw-r--r-- | tmux.h | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: tmux.h,v 1.569 2010-07-02 02:56:07 tcunha Exp $ */ +/* $Id: tmux.h,v 1.570 2010-07-17 14:36:41 tcunha Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -412,6 +412,10 @@ struct msg_shell_data { char shell[MAXPATHLEN]; }; +struct msg_exit_data { + int retcode; +}; + /* Mode key commands. */ enum mode_key_cmd { MODEKEY_NONE, @@ -1080,6 +1084,7 @@ struct message_entry { struct client { struct imsgbuf ibuf; struct event event; + int retcode; struct timeval creation_time; struct timeval activity_time; |