aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authornicm <nicm>2015-06-14 10:07:44 +0000
committernicm <nicm>2015-06-14 10:07:44 +0000
commit29c29e771767b037f2929b889bb0de2b0b6ee138 (patch)
tree28d2497e9fd6f69da442ed01f1e431bb51f9561c /tmux.h
parentbbc0898060a02515461cbd90d7af35bf91d9cb3d (diff)
downloadrtmux-29c29e771767b037f2929b889bb0de2b0b6ee138.tar.gz
rtmux-29c29e771767b037f2929b889bb0de2b0b6ee138.tar.bz2
rtmux-29c29e771767b037f2929b889bb0de2b0b6ee138.zip
Add a format for client PID (client_pid) and server PID (pid). Diff for
client_pid from Thomas Adam.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tmux.h b/tmux.h
index 265fdc40..dfd6bf49 100644
--- a/tmux.h
+++ b/tmux.h
@@ -425,6 +425,7 @@ enum msgtype {
MSG_IDENTIFY_STDIN,
MSG_IDENTIFY_ENVIRON,
MSG_IDENTIFY_DONE,
+ MSG_IDENTIFY_CLIENTPID,
MSG_COMMAND = 200,
MSG_DETACH,
@@ -1206,6 +1207,7 @@ RB_HEAD(status_out_tree, status_out);
struct client {
struct imsgbuf ibuf;
+ pid_t pid;
int fd;
struct event event;
int retval;