=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/tmux.h,v retrieving revision 1.235 retrieving revision 1.236 diff -u -r1.235 -r1.236 --- src/usr.bin/tmux/tmux.h 2010/07/14 18:37:49 1.235 +++ src/usr.bin/tmux/tmux.h 2010/07/24 20:11:59 1.236 @@ -1,4 +1,4 @@ -/* $OpenBSD: tmux.h,v 1.235 2010/07/14 18:37:49 nicm Exp $ */ +/* $OpenBSD: tmux.h,v 1.236 2010/07/24 20:11:59 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -1096,10 +1096,18 @@ char *cwd; struct tty tty; - FILE *stdin_file; - FILE *stdout_file; - FILE *stderr_file; + int stdin_fd; + void *stdin_data; + void (*stdin_callback)(struct client *, void *); + struct bufferevent *stdin_event; + + int stdout_fd; + struct bufferevent *stdout_event; + + int stderr_fd; + struct bufferevent *stderr_event; + struct event repeat_timer; struct timeval status_timer; @@ -1108,7 +1116,7 @@ #define CLIENT_TERMINAL 0x1 #define CLIENT_PREFIX 0x2 -/* 0x4 unused */ +#define CLIENT_EXIT 0x4 #define CLIENT_REDRAW 0x8 #define CLIENT_STATUS 0x10 #define CLIENT_REPEAT 0x20 /* allow command to repeat within repeat time */