version 1.123, 2009/10/10 09:46:11 |
version 1.124, 2009/10/10 10:02:48 |
|
|
struct window *window; |
struct window *window; |
|
|
RB_ENTRY(winlink) entry; |
RB_ENTRY(winlink) entry; |
SLIST_ENTRY(winlink) sentry; |
TAILQ_ENTRY(winlink) sentry; |
}; |
}; |
RB_HEAD(winlinks, winlink); |
RB_HEAD(winlinks, winlink); |
SLIST_HEAD(winlink_stack, winlink); |
TAILQ_HEAD(winlink_stack, winlink); |
|
|
/* Layout direction. */ |
/* Layout direction. */ |
enum layout_type { |
enum layout_type { |
|
|
SLIST_ENTRY(session_alert) entry; |
SLIST_ENTRY(session_alert) entry; |
}; |
}; |
|
|
|
struct session_group { |
|
TAILQ_HEAD(, session) sessions; |
|
|
|
TAILQ_ENTRY(session_group) entry; |
|
}; |
|
TAILQ_HEAD(session_groups, session_group); |
|
|
struct session { |
struct session { |
char *name; |
char *name; |
struct timeval tv; |
struct timeval tv; |
|
|
struct environ environ; |
struct environ environ; |
|
|
int references; |
int references; |
|
|
|
TAILQ_ENTRY(session) gentry; |
}; |
}; |
ARRAY_DECL(sessions, struct session *); |
ARRAY_DECL(sessions, struct session *); |
|
|
|
|
void server_redraw_client(struct client *); |
void server_redraw_client(struct client *); |
void server_status_client(struct client *); |
void server_status_client(struct client *); |
void server_redraw_session(struct session *); |
void server_redraw_session(struct session *); |
|
void server_redraw_session_group(struct session *); |
void server_status_session(struct session *); |
void server_status_session(struct session *); |
|
void server_status_session_group(struct session *); |
void server_redraw_window(struct window *); |
void server_redraw_window(struct window *); |
void server_status_window(struct window *); |
void server_status_window(struct window *); |
void server_lock(void); |
void server_lock(void); |
|
|
void server_lock_client(struct client *); |
void server_lock_client(struct client *); |
int server_unlock(const char *); |
int server_unlock(const char *); |
void server_kill_window(struct window *); |
void server_kill_window(struct window *); |
int server_link_window( |
int server_link_window(struct session *, |
struct winlink *, struct session *, int, int, int, char **); |
struct winlink *, struct session *, int, int, int, char **); |
void server_unlink_window(struct session *, struct winlink *); |
void server_unlink_window(struct session *, struct winlink *); |
|
void server_destroy_session_group(struct session *); |
void server_destroy_session(struct session *); |
void server_destroy_session(struct session *); |
void server_set_identify(struct client *); |
void server_set_identify(struct client *); |
void server_clear_identify(struct client *); |
void server_clear_identify(struct client *); |
|
|
/* session.c */ |
/* session.c */ |
extern struct sessions sessions; |
extern struct sessions sessions; |
extern struct sessions dead_sessions; |
extern struct sessions dead_sessions; |
|
extern struct session_groups session_groups; |
void session_alert_add(struct session *, struct window *, int); |
void session_alert_add(struct session *, struct window *, int); |
void session_alert_cancel(struct session *, struct winlink *); |
void session_alert_cancel(struct session *, struct winlink *); |
int session_alert_has(struct session *, struct winlink *, int); |
int session_alert_has(struct session *, struct winlink *, int); |
|
|
int session_previous(struct session *, int); |
int session_previous(struct session *, int); |
int session_select(struct session *, int); |
int session_select(struct session *, int); |
int session_last(struct session *); |
int session_last(struct session *); |
|
struct session_group *session_group_find(struct session *); |
|
u_int session_group_index(struct session_group *); |
|
void session_group_add(struct session *, struct session *); |
|
void session_group_remove(struct session *); |
|
void session_group_synchronize_to(struct session *); |
|
void session_group_synchronize_from(struct session *); |
|
void session_group_synchronize1(struct session *, struct session *); |
|
|
/* utf8.c */ |
/* utf8.c */ |
void utf8_build(void); |
void utf8_build(void); |