aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authornicm <nicm>2022-02-22 11:10:41 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2022-04-06 14:19:50 +0100
commita26ebccd421e53ce1e3fcad6f1db9759cb58b043 (patch)
tree2c6a79b3508de86081341a0d9c1727b778c682f1 /tmux.h
parent92a26a8b8c4b32223fb81d7bde93c986ff4f7f6b (diff)
downloadrtmux-a26ebccd421e53ce1e3fcad6f1db9759cb58b043.tar.gz
rtmux-a26ebccd421e53ce1e3fcad6f1db9759cb58b043.tar.bz2
rtmux-a26ebccd421e53ce1e3fcad6f1db9759cb58b043.zip
Add next_session_id format with the next session ID, GitHub issue 3078.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tmux.h b/tmux.h
index f172ba1a..7eccaa55 100644
--- a/tmux.h
+++ b/tmux.h
@@ -3119,6 +3119,7 @@ void control_notify_session_window_changed(struct session *);
/* session.c */
extern struct sessions sessions;
+extern u_int next_session_id;
int session_cmp(struct session *, struct session *);
RB_PROTOTYPE(sessions, session, entry, session_cmp);
int session_alive(struct session *);