summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2013-03-22 16:00:27 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2013-03-22 16:00:27 +0000
commit06c0c5104a3dd63d4a1aa2076570f6d451aed9b5 (patch)
tree2a730dbea89013831f16dffcde792cf7b0793982 /usr.bin/tmux/tmux.h
parente08a225662b8b3b2b32642694124a5f1d54d8861 (diff)
Add session_set_current helper function, extracted from a diff from
Aaron Jensen.
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 805afc525e1..8c210c98281 100644
--- a/usr.bin/tmux/tmux.h
+++ b/usr.bin/tmux/tmux.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: tmux.h,v 1.391 2013/03/22 15:56:11 nicm Exp $ */
+/* $OpenBSD: tmux.h,v 1.392 2013/03/22 16:00:26 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -2280,6 +2280,7 @@ int session_next(struct session *, int);
int session_previous(struct session *, int);
int session_select(struct session *, int);
int session_last(struct session *);
+int session_set_current(struct session *, struct winlink *);
struct session_group *session_group_find(struct session *);
u_int session_group_index(struct session_group *);
void session_group_add(struct session *, struct session *);