summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2010-12-20 00:03:56 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2010-12-20 00:03:56 +0000
commit9f7c689cb8ccc8428baf5d610708ebbb50f2b592 (patch)
treeb09d4e96930f9058c62b67b15e142ec8712a0be9 /usr.bin/tmux/tmux.h
parent38ab20a6f6c33e027490420674d8c89ebf6c07ca (diff)
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 'usr.bin/tmux/tmux.h')
-rw-r--r--usr.bin/tmux/tmux.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/tmux/tmux.h b/usr.bin/tmux/tmux.h
index 6ccdea89d1b..25cf7bc5730 100644
--- a/usr.bin/tmux/tmux.h
+++ b/usr.bin/tmux/tmux.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: tmux.h,v 1.250 2010/12/11 18:39:25 nicm Exp $ */
+/* $OpenBSD: tmux.h,v 1.251 2010/12/20 00:03:55 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -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,