diff options
author | Tiago Cunha <tcunha@gmx.com> | 2009-11-08 23:02:56 +0000 |
---|---|---|
committer | Tiago Cunha <tcunha@gmx.com> | 2009-11-08 23:02:56 +0000 |
commit | 2df08827223872cd6b3ac1df527e55c2275a08cc (patch) | |
tree | fb8469066812b92a57e837a1c9b8e338a8968071 /tmux.h | |
parent | 70b2f1981e76794f0de84427df733fc2e5eb5242 (diff) | |
download | rtmux-2df08827223872cd6b3ac1df527e55c2275a08cc.tar.gz rtmux-2df08827223872cd6b3ac1df527e55c2275a08cc.tar.bz2 rtmux-2df08827223872cd6b3ac1df527e55c2275a08cc.zip |
Sync OpenBSD patchset 498:
Convert the window pane (pty master side) fd over to use a bufferevent.
The evbuffer API is very similar to the existing tmux buffer API so this was
remarkably painless. Not many possible ways to do it, I suppose.
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -1,4 +1,4 @@ -/* $Id: tmux.h,v 1.500 2009-11-08 22:59:53 tcunha Exp $ */ +/* $Id: tmux.h,v 1.501 2009-11-08 23:02:56 tcunha Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -797,9 +797,7 @@ struct window_pane { char tty[TTY_NAME_MAX]; int fd; - struct event event; - struct buffer *in; - struct buffer *out; + struct bufferevent *event; struct input_ctx ictx; @@ -1585,8 +1583,6 @@ void server_client_callback(int, short, void *); void server_client_loop(void); /* server-window.c */ -void server_window_prepare(void); -void server_window_callback(int, short, void *); void server_window_loop(void); /* server-fn.c */ |