diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-08-27 12:05:15 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-08-27 12:05:15 +0000 |
commit | 6e210bb005ee5193fe030f5e8cfe8877aac6260d (patch) | |
tree | 8bbecf8301dd9334c925ee8cf9e9be188d81cd3c /tmux.h | |
parent | 7000277f949a11b6176d3f97cb1bf154c52b1009 (diff) |
If a session is destroyed, safely kill all other clients attached to it.
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: tmux.h,v 1.3 2007-08-27 11:05:21 nicm Exp $ */ +/* $Id: tmux.h,v 1.4 2007-08-27 12:05:15 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -531,7 +531,8 @@ void session_destroy(struct session *); int session_index(struct session *, u_int *); int session_new(struct session *, const char *, u_int, u_int); void session_attach(struct session *, struct window *); -int session_detach(struct session *, struct window *); +void session_detach(struct session *, struct window *); +int session_flush(struct session *); int session_has(struct session *, struct window *); int session_next(struct session *); int session_previous(struct session *); |