version 1.308, 2012/01/29 09:37:02 |
version 1.309, 2012/01/30 09:39:34 |
|
|
|
|
/* Window structure. */ |
/* Window structure. */ |
struct window { |
struct window { |
|
u_int id; |
char *name; |
char *name; |
struct event name_timer; |
struct event name_timer; |
struct timeval silence_timer; |
struct timeval silence_timer; |
|
|
RB_PROTOTYPE(window_pane_tree, window_pane, tree_entry, window_pane_cmp); |
RB_PROTOTYPE(window_pane_tree, window_pane, tree_entry, window_pane_cmp); |
struct winlink *winlink_find_by_index(struct winlinks *, int); |
struct winlink *winlink_find_by_index(struct winlinks *, int); |
struct winlink *winlink_find_by_window(struct winlinks *, struct window *); |
struct winlink *winlink_find_by_window(struct winlinks *, struct window *); |
|
struct winlink *winlink_find_by_window_id(struct winlinks *, u_int); |
int winlink_next_index(struct winlinks *, int); |
int winlink_next_index(struct winlinks *, int); |
u_int winlink_count(struct winlinks *); |
u_int winlink_count(struct winlinks *); |
struct winlink *winlink_add(struct winlinks *, int); |
struct winlink *winlink_add(struct winlinks *, int); |
|
|
void winlink_stack_push(struct winlink_stack *, struct winlink *); |
void winlink_stack_push(struct winlink_stack *, struct winlink *); |
void winlink_stack_remove(struct winlink_stack *, struct winlink *); |
void winlink_stack_remove(struct winlink_stack *, struct winlink *); |
int window_index(struct window *, u_int *); |
int window_index(struct window *, u_int *); |
|
struct window *window_find_by_id(u_int); |
struct window *window_create1(u_int, u_int); |
struct window *window_create1(u_int, u_int); |
struct window *window_create(const char *, const char *, const char *, |
struct window *window_create(const char *, const char *, const char *, |
const char *, struct environ *, struct termios *, |
const char *, struct environ *, struct termios *, |