diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2017-04-28 19:13:56 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2017-04-28 19:13:56 +0000 |
commit | ed30a2d090fe706be55366ee5b392e9f2cf7e9d7 (patch) | |
tree | bf078b53d15358d2bf0a49e4b151e501ba6ee317 /usr.bin/tmux/tmux.h | |
parent | 88a01b8a03244a5fb17e2f61aa0785c80768bd08 (diff) |
Log what is happening with window and session reference counts much more
obviously.
Diffstat (limited to 'usr.bin/tmux/tmux.h')
-rw-r--r-- | usr.bin/tmux/tmux.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/usr.bin/tmux/tmux.h b/usr.bin/tmux/tmux.h index 74076d605da..d5aef5774cf 100644 --- a/usr.bin/tmux/tmux.h +++ b/usr.bin/tmux/tmux.h @@ -1,4 +1,4 @@ -/* $OpenBSD: tmux.h,v 1.754 2017/04/25 18:30:29 nicm Exp $ */ +/* $OpenBSD: tmux.h,v 1.755 2017/04/28 19:13:55 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -2112,7 +2112,8 @@ struct window_pane *window_pane_find_down(struct window_pane *); struct window_pane *window_pane_find_left(struct window_pane *); struct window_pane *window_pane_find_right(struct window_pane *); void window_set_name(struct window *, const char *); -void window_remove_ref(struct window *); +void window_add_ref(struct window *, const char *); +void window_remove_ref(struct window *, const char *); void winlink_clear_flags(struct winlink *); int winlink_shuffle_up(struct session *, struct winlink *); @@ -2226,7 +2227,8 @@ struct session *session_create(const char *, const char *, int, char **, const char *, const char *, struct environ *, struct termios *, int, u_int, u_int, char **); void session_destroy(struct session *); -void session_unref(struct session *); +void session_add_ref(struct session *, const char *); +void session_remove_ref(struct session *, const char *); int session_check_name(const char *); void session_update_activity(struct session *, struct timeval *); struct session *session_next_session(struct session *); |