aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2010-12-22 15:28:51 +0000
committerTiago Cunha <tcunha@gmx.com>2010-12-22 15:28:51 +0000
commit64d16cf2d67c42642401cd0bbaeb278a1c00822a (patch)
tree1c46fd6b97b50bea12f67f0602ce5c149dbf1c1e /tmux.h
parentb8eae3902b8586a575138289f9157a3dac46f92c (diff)
downloadrtmux-64d16cf2d67c42642401cd0bbaeb278a1c00822a.tar.gz
rtmux-64d16cf2d67c42642401cd0bbaeb278a1c00822a.tar.bz2
rtmux-64d16cf2d67c42642401cd0bbaeb278a1c00822a.zip
Sync OpenBSD patchset 801:
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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/tmux.h b/tmux.h
index e00a1837..4ae1fd2b 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1,4 +1,4 @@
-/* $Id: tmux.h,v 1.587 2010-12-11 18:42:20 nicm Exp $ */
+/* $Id: tmux.h,v 1.588 2010-12-22 15:28:51 tcunha Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -1966,6 +1966,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,