diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2010-12-20 00:03:55 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2010-12-20 00:03:55 +0000 |
commit | a51dcdc430150b688d56ec35e8c96ce6f978f68b (patch) | |
tree | f006980fa330e0dd844d56d142a80993ef60ac3e /tmux.h | |
parent | c65d4220f019b8022ae0192d4a9014be5cc08f40 (diff) | |
download | rtmux-a51dcdc430150b688d56ec35e8c96ce6f978f68b.tar.gz rtmux-a51dcdc430150b688d56ec35e8c96ce6f978f68b.tar.bz2 rtmux-a51dcdc430150b688d56ec35e8c96ce6f978f68b.zip |
Unify the way sessions are used by callbacks - store the address and use
the reference count, then check it is still on the global sessions list
in the callback.
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1968,6 +1968,7 @@ void clear_signals(int); extern struct sessions sessions; extern struct sessions dead_sessions; extern struct session_groups session_groups; +int session_alive(struct session *); struct session *session_find(const char *); struct session *session_create(const char *, const char *, const char *, struct environ *, struct termios *, int, u_int, u_int, |