From 6e210bb005ee5193fe030f5e8cfe8877aac6260d Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Mon, 27 Aug 2007 12:05:15 +0000 Subject: If a session is destroyed, safely kill all other clients attached to it. --- tmux.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tmux.h') diff --git a/tmux.h b/tmux.h index aae8afd8..a5b64b2f 100644 --- a/tmux.h +++ b/tmux.h @@ -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 @@ -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 *); -- cgit