summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2009-08-13 20:11:59 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2009-08-13 20:11:59 +0000
commitabd8dc826b9d937883e427da430db819c48a0beb (patch)
tree6953f0889ff5b520cb42555f48e63d92b9f67eb1 /usr.bin/tmux/tmux.h
parentc8449b498e622646c2abe191cb151dc23a2d0893 (diff)
Add a base-index session option to specify the first index checked when looking
for an index for a new window.
Diffstat (limited to 'usr.bin/tmux/tmux.h')
-rw-r--r--usr.bin/tmux/tmux.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.bin/tmux/tmux.h b/usr.bin/tmux/tmux.h
index f99fa73e94c..9776a5b3dbd 100644
--- a/usr.bin/tmux/tmux.h
+++ b/usr.bin/tmux/tmux.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: tmux.h,v 1.80 2009/08/13 19:04:00 nicm Exp $ */
+/* $OpenBSD: tmux.h,v 1.81 2009/08/13 20:11:58 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -1565,7 +1565,7 @@ RB_PROTOTYPE(windows, window, entry, window_cmp);
RB_PROTOTYPE(winlinks, winlink, entry, winlink_cmp);
struct winlink *winlink_find_by_index(struct winlinks *, int);
struct winlink *winlink_find_by_window(struct winlinks *, struct window *);
-int winlink_next_index(struct winlinks *);
+int winlink_next_index(struct winlinks *, int);
u_int winlink_count(struct winlinks *);
struct winlink *winlink_add(struct winlinks *, struct window *, int);
void winlink_remove(struct winlinks *, struct winlink *);
@@ -1670,7 +1670,8 @@ int session_alert_has(struct session *, struct winlink *, int);
int session_alert_has_window(struct session *, struct window *, int);
struct session *session_find(const char *);
struct session *session_create(const char *, const char *, const char *,
- struct environ *, struct termios *, u_int, u_int, char **);
+ struct environ *, struct termios *, int, u_int, u_int,
+ char **);
void session_destroy(struct session *);
int session_index(struct session *, u_int *);
struct winlink *session_new(struct session *,