version 1.1024, 2020/05/16 14:53:23 |
version 1.1025, 2020/05/16 15:01:31 |
|
|
u_int xoff; |
u_int xoff; |
u_int yoff; |
u_int yoff; |
|
|
|
int fg; |
|
int bg; |
|
|
int flags; |
int flags; |
#define PANE_REDRAW 0x1 |
#define PANE_REDRAW 0x1 |
#define PANE_DROP 0x2 |
#define PANE_DROP 0x2 |
|
|
size_t written; |
size_t written; |
size_t skipped; |
size_t skipped; |
|
|
|
int border_gc_set; |
|
struct grid_cell border_gc; |
|
|
TAILQ_ENTRY(window_pane) entry; |
TAILQ_ENTRY(window_pane) entry; |
RB_ENTRY(window_pane) tree_entry; |
RB_ENTRY(window_pane) tree_entry; |
}; |
}; |
|
|
OPTIONS_TABLE_COLOUR, |
OPTIONS_TABLE_COLOUR, |
OPTIONS_TABLE_FLAG, |
OPTIONS_TABLE_FLAG, |
OPTIONS_TABLE_CHOICE, |
OPTIONS_TABLE_CHOICE, |
OPTIONS_TABLE_STYLE, |
|
OPTIONS_TABLE_COMMAND |
OPTIONS_TABLE_COMMAND |
}; |
}; |
|
|
|
|
|
|
#define OPTIONS_TABLE_IS_ARRAY 0x1 |
#define OPTIONS_TABLE_IS_ARRAY 0x1 |
#define OPTIONS_TABLE_IS_HOOK 0x2 |
#define OPTIONS_TABLE_IS_HOOK 0x2 |
|
#define OPTIONS_TABLE_IS_STYLE 0x4 |
|
|
struct options_table_entry { |
struct options_table_entry { |
const char *name; |
const char *name; |
enum options_table_type type; |
enum options_table_type type; |
int scope; |
int scope; |
int flags; |
int flags; |
|
|
u_int minimum; |
u_int minimum; |
u_int maximum; |
u_int maximum; |
|
|
const char *name; |
const char *name; |
char **argv; |
char **argv; |
int argc; |
int argc; |
struct environ *environ; |
struct environ *environ; |
|
|
int idx; |
int idx; |
const char *cwd; |
const char *cwd; |
|
|
int, int *); |
int, int *); |
const char *options_get_string(struct options *, const char *); |
const char *options_get_string(struct options *, const char *); |
long long options_get_number(struct options *, const char *); |
long long options_get_number(struct options *, const char *); |
struct style *options_get_style(struct options *, const char *); |
|
struct options_entry * printflike(4, 5) options_set_string(struct options *, |
struct options_entry * printflike(4, 5) options_set_string(struct options *, |
const char *, int, const char *, ...); |
const char *, int, const char *, ...); |
struct options_entry *options_set_number(struct options *, const char *, |
struct options_entry *options_set_number(struct options *, const char *, |
long long); |
long long); |
struct options_entry *options_set_style(struct options *, const char *, int, |
|
const char *); |
|
int options_scope_from_name(struct args *, int, |
int options_scope_from_name(struct args *, int, |
const char *, struct cmd_find_state *, struct options **, |
const char *, struct cmd_find_state *, struct options **, |
char **); |
char **); |
int options_scope_from_flags(struct args *, int, |
int options_scope_from_flags(struct args *, int, |
struct cmd_find_state *, struct options **, char **); |
struct cmd_find_state *, struct options **, char **); |
|
struct style *options_string_to_style(struct options *, const char *, |
|
struct format_tree *); |
|
|
/* options-table.c */ |
/* options-table.c */ |
extern const struct options_table_entry options_table[]; |
extern const struct options_table_entry options_table[]; |
|
|
int, const char *, int); |
int, const char *, int); |
|
|
/* cmd-parse.c */ |
/* cmd-parse.c */ |
void cmd_parse_empty(struct cmd_parse_input *); |
void cmd_parse_empty(struct cmd_parse_input *); |
struct cmd_parse_result *cmd_parse_from_file(FILE *, struct cmd_parse_input *); |
struct cmd_parse_result *cmd_parse_from_file(FILE *, struct cmd_parse_input *); |
struct cmd_parse_result *cmd_parse_from_string(const char *, |
struct cmd_parse_result *cmd_parse_from_string(const char *, |
struct cmd_parse_input *); |
struct cmd_parse_input *); |
|
|
void file_fire_read(struct client_file *); |
void file_fire_read(struct client_file *); |
int file_can_print(struct client *); |
int file_can_print(struct client *); |
void printflike(2, 3) file_print(struct client *, const char *, ...); |
void printflike(2, 3) file_print(struct client *, const char *, ...); |
void file_vprint(struct client *, const char *, va_list); |
void file_vprint(struct client *, const char *, va_list); |
void file_print_buffer(struct client *, void *, size_t); |
void file_print_buffer(struct client *, void *, size_t); |
void printflike(2, 3) file_error(struct client *, const char *, ...); |
void printflike(2, 3) file_error(struct client *, const char *, ...); |
void file_write(struct client *, const char *, int, const void *, size_t, |
void file_write(struct client *, const char *, int, const void *, size_t, |
client_file_cb, void *); |
client_file_cb, void *); |
|
|
struct session *session_find_by_id(u_int); |
struct session *session_find_by_id(u_int); |
struct session *session_create(const char *, const char *, const char *, |
struct session *session_create(const char *, const char *, const char *, |
struct environ *, struct options *, struct termios *); |
struct environ *, struct options *, struct termios *); |
void session_destroy(struct session *, int, const char *); |
void session_destroy(struct session *, int, const char *); |
void session_add_ref(struct session *, const char *); |
void session_add_ref(struct session *, const char *); |
void session_remove_ref(struct session *, const char *); |
void session_remove_ref(struct session *, const char *); |
char *session_check_name(const char *); |
char *session_check_name(const char *); |
|
|
void menu_add_items(struct menu *, const struct menu_item *, |
void menu_add_items(struct menu *, const struct menu_item *, |
struct cmdq_item *, struct client *, |
struct cmdq_item *, struct client *, |
struct cmd_find_state *); |
struct cmd_find_state *); |
void menu_add_item(struct menu *, const struct menu_item *, |
void menu_add_item(struct menu *, const struct menu_item *, |
struct cmdq_item *, struct client *, |
struct cmdq_item *, struct client *, |
struct cmd_find_state *); |
struct cmd_find_state *); |
void menu_free(struct menu *); |
void menu_free(struct menu *); |
|
|
int style_parse(struct style *,const struct grid_cell *, |
int style_parse(struct style *,const struct grid_cell *, |
const char *); |
const char *); |
const char *style_tostring(struct style *); |
const char *style_tostring(struct style *); |
|
void style_add(struct grid_cell *, struct options *, |
|
const char *, struct format_tree *); |
void style_apply(struct grid_cell *, struct options *, |
void style_apply(struct grid_cell *, struct options *, |
const char *); |
const char *, struct format_tree *); |
void style_set(struct style *, const struct grid_cell *); |
void style_set(struct style *, const struct grid_cell *); |
void style_copy(struct style *, struct style *); |
void style_copy(struct style *, struct style *); |
|
|