diff options
author | nicm <nicm> | 2015-06-05 18:18:32 +0000 |
---|---|---|
committer | nicm <nicm> | 2015-06-05 18:18:32 +0000 |
commit | 641a9cd3f591b0ace3ae9947ebe6ab889b641eed (patch) | |
tree | e11dd1d51c0d86d3191991cf5290dd00af61709b /tmux.h | |
parent | 10e90ae01f53a67a1b7c3a2c498cefb73c6a23b4 (diff) | |
download | rtmux-641a9cd3f591b0ace3ae9947ebe6ab889b641eed.tar.gz rtmux-641a9cd3f591b0ace3ae9947ebe6ab889b641eed.tar.bz2 rtmux-641a9cd3f591b0ace3ae9947ebe6ab889b641eed.zip |
Similarly, for sessions use a callback to free rather than checking
every loop.
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2259,7 +2259,6 @@ void control_notify_session_close(struct session *); /* session.c */ extern struct sessions sessions; -extern struct sessions dead_sessions; extern struct session_groups session_groups; int session_cmp(struct session *, struct session *); RB_PROTOTYPE(sessions, session, entry, session_cmp); @@ -2271,6 +2270,7 @@ struct session *session_create(const char *, int, char **, const char *, int, struct environ *, struct termios *, int, u_int, u_int, char **); void session_destroy(struct session *); +void session_unref(struct session *); int session_check_name(const char *); void session_update_activity(struct session *); struct session *session_next_session(struct session *); |