mirror of
https://github.com/tmux/tmux.git
synced 2025-09-03 14:27:09 +00:00
Similarly, for sessions use a callback to free rather than checking
every loop.
This commit is contained in:
2
tmux.h
2
tmux.h
@ -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 *);
|
||||
|
Reference in New Issue
Block a user