client
client(struct sockaddr_un *sun)
typedef void (*client_file_cb) (struct client *, const char *, int, int,
typedef int (*prompt_input_cb)(struct client *, void *, const char *, int);
typedef struct visible_ranges *(*overlay_check_cb)(struct client*, void *,
typedef struct screen *(*overlay_mode_cb)(struct client *, void *, u_int *,
typedef void (*overlay_draw_cb)(struct client *, void *,
typedef int (*overlay_key_cb)(struct client *, void *, struct key_event *);
typedef void (*overlay_free_cb)(struct client *, void *);
typedef void (*overlay_resize_cb)(struct client *, void *);
TAILQ_HEAD(clients, client);
int load_cfg(const char *, struct client *, struct cmdq_item *,
struct client *, struct cmdq_item *, struct cmd_find_state *,
struct format_tree *format_create(struct client *, struct cmdq_item *, int,
struct client *, struct session *, struct winlink *,
struct client *, struct cmd_find_state *);
struct format_tree *format_create_defaults(struct cmdq_item *, struct client *,
struct client *, struct cmd_find_state *);
void format_defaults(struct format_tree *, struct client *,
void format_lost_client(struct client *);
void notify_client(const char *, struct client *);
void tty_update_client_offset(struct client *);
int tty_init(struct tty *, struct client *);
int cmd_find_from_client(struct cmd_find_state *, struct client *,
struct cmd_parse_input *, struct client *,
struct cmdq_item *cmdq_append(struct client *, struct cmdq_item *);
u_int cmdq_next(struct client *);
struct cmdq_item *cmdq_running(struct client *);
struct cmdq_item *, struct client *, struct key_event *,
struct client_file *file_create_with_client(struct client *, int,
int file_can_print(struct client *);
void printflike(2, 3) file_print(struct client *, const char *, ...);
void printflike(2, 0) file_vprint(struct client *, const char *, va_list);
void file_print_buffer(struct client *, void *, size_t);
void printflike(2, 3) file_error(struct client *, const char *, ...);
void file_write(struct client *, const char *, int, const void *, size_t,
struct client_file *file_read(struct client *, const char *, client_file_cb,
void server_client_set_overlay(struct client *, u_int, overlay_check_cb,
void server_client_clear_overlay(struct client *);
void server_client_set_key_table(struct client *, const char *);
const char *server_client_get_key_table(struct client *);
int server_client_check_nested(struct client *);
int server_client_handle_key(struct client *, struct key_event *);
int server_client_open(struct client *, char **);
void server_client_unref(struct client *);
void server_client_set_session(struct client *, struct session *);
void server_client_lost(struct client *);
void server_client_suspend(struct client *);
void server_client_detach(struct client *, enum msgtype);
void server_client_exec(struct client *, const char *);
const char *server_client_get_cwd(struct client *, struct session *);
void server_client_set_flags(struct client *, const char *);
const char *server_client_get_flags(struct client *);
struct client_window *server_client_get_client_window(struct client *, u_int);
struct client_window *server_client_add_client_window(struct client *, u_int);
struct window_pane *server_client_get_pane(struct client *);
void server_client_set_pane(struct client *, struct window_pane *);
void server_client_print(struct client *, int, struct evbuffer *);
void server_redraw_client(struct client *);
void server_status_client(struct client *);
void server_lock_client(struct client *);
void status_timer_start(struct client *);
u_int status_prompt_line_at(struct client *);
int status_at_line(struct client *);
u_int status_line_size(struct client *);
struct style_range *status_get_range(struct client *, u_int, u_int);
void status_init(struct client *);
void status_free(struct client *);
int status_redraw(struct client *);
void printflike(6, 7) status_message_set(struct client *, int, int, int, int,
void status_message_clear(struct client *);
int status_message_redraw(struct client *);
void status_prompt_set(struct client *, struct cmd_find_state *,
void status_prompt_clear(struct client *);
int status_prompt_redraw(struct client *);
int status_prompt_key(struct client *, key_code);
void status_prompt_update(struct client *, const char *, const char *);
void default_window_size(struct client *, struct session *, struct window *,
struct colour_palette *, struct client *);
void input_request_reply(struct client *, enum input_request_type, void *);
void input_cancel_requests(struct client *);
void screen_redraw_screen(struct client *);
void screen_redraw_pane(struct client *, struct window_pane *, int);
int window_pane_key(struct window_pane *, struct client *,
typedef void (*mode_tree_menu_cb)(void *, struct client *, key_code);
typedef void (*mode_tree_each_cb)(void *, void *, struct client *, key_code);
struct client *, key_code, int);
int mode_tree_key(struct mode_tree_data *, struct client *, key_code *,
void mode_tree_run_command(struct client *, struct cmd_find_state *,
void window_copy_start_drag(struct client *, struct mouse_event *);
void control_discard(struct client *);
void control_start(struct client *);
void control_ready(struct client *);
void control_stop(struct client *);
void control_set_pane_on(struct client *, struct window_pane *);
void control_set_pane_off(struct client *, struct window_pane *);
void control_continue_pane(struct client *, struct window_pane *);
void control_pause_pane(struct client *, struct window_pane *);
struct window_pane_offset *control_pane_offset(struct client *,
void control_reset_offsets(struct client *);
void printflike(2, 3) control_write(struct client *, const char *, ...);
void control_write_output(struct client *, struct window_pane *);
int control_all_done(struct client *);
void control_add_sub(struct client *, const char *, enum control_sub_type,
void control_remove_sub(struct client *, const char *);
void control_notify_client_session_changed(struct client *);
void control_notify_client_detached(struct client *);
struct cmdq_item *, struct client *,
struct cmdq_item *, struct client *,
u_int, u_int, struct client *, enum box_lines, const char *,
u_int, u_int, struct client *, enum box_lines, const char *,
struct screen *menu_mode_cb(struct client *, void *, u_int *, u_int *);
struct visible_ranges *menu_check_cb(struct client *, void *, u_int, u_int,
void menu_draw_cb(struct client *, void *,
void menu_free_cb(struct client *, void *);
int menu_key_cb(struct client *, void *, struct key_event *);
char **, const char *, const char *, struct client *,
void popup_write(struct client *, const char *, size_t);
int popup_editor(struct client *, const char *, size_t,
int popup_present(struct client *);
int popup_modify(struct client *, const char *, const char *,
int server_acl_join(struct client *);
struct client {