diff options
author | nicm <nicm> | 2017-04-28 19:13:55 +0000 |
---|---|---|
committer | nicm <nicm> | 2017-04-28 19:13:55 +0000 |
commit | 0f2f783584c62879a1182972e915f550bf23f00a (patch) | |
tree | a516d196841ac2f8e478e068a2a7e3c946f7a186 /tmux.h | |
parent | bcd6b416749cbac712c29ee07049e98c5930c800 (diff) | |
download | rtmux-0f2f783584c62879a1182972e915f550bf23f00a.tar.gz rtmux-0f2f783584c62879a1182972e915f550bf23f00a.tar.bz2 rtmux-0f2f783584c62879a1182972e915f550bf23f00a.zip |
Log what is happening with window and session reference counts much more
obviously.
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 *); |