Home
last modified time | relevance | path

Searched refs:cmdq_item (Results 1 – 25 of 80) sorted by relevance

1234

/openbsd/src/usr.bin/tmux/
Dcmd-queue.c42 struct cmdq_item { struct
45 struct cmdq_item *next; argument
68 TAILQ_ENTRY(cmdq_item) entry; argument
70 TAILQ_HEAD(cmdq_item_list, cmdq_item);
91 struct cmdq_item *item;
146 cmdq_get_name(struct cmdq_item *item) in cmdq_get_name()
153 cmdq_get_client(struct cmdq_item *item) in cmdq_get_client()
160 cmdq_get_target_client(struct cmdq_item *item) in cmdq_get_target_client()
167 cmdq_get_state(struct cmdq_item *item) in cmdq_get_state()
174 cmdq_get_target(struct cmdq_item *item) in cmdq_get_target()
[all …]
Dcmd-list-panes.c29 static enum cmd_retval cmd_list_panes_exec(struct cmd *, struct cmdq_item *);
31 static void cmd_list_panes_server(struct cmd *, struct cmdq_item *);
33 struct cmdq_item *, int);
35 struct winlink *, struct cmdq_item *, int);
51 cmd_list_panes_exec(struct cmd *self, struct cmdq_item *item) in cmd_list_panes_exec()
69 cmd_list_panes_server(struct cmd *self, struct cmdq_item *item) in cmd_list_panes_server()
79 struct cmdq_item *item, int type) in cmd_list_panes_session()
89 struct cmdq_item *item, int type) in cmd_list_panes_window()
Dcmd-wait-for.c31 static enum cmd_retval cmd_wait_for_exec(struct cmd *, struct cmdq_item *);
45 struct cmdq_item *item;
71 static enum cmd_retval cmd_wait_for_signal(struct cmdq_item *, const char *,
73 static enum cmd_retval cmd_wait_for_wait(struct cmdq_item *, const char *,
75 static enum cmd_retval cmd_wait_for_lock(struct cmdq_item *, const char *,
77 static enum cmd_retval cmd_wait_for_unlock(struct cmdq_item *, const char *,
121 cmd_wait_for_exec(struct cmd *self, struct cmdq_item *item) in cmd_wait_for_exec()
140 cmd_wait_for_signal(__unused struct cmdq_item *item, const char *name, in cmd_wait_for_signal()
167 cmd_wait_for_wait(struct cmdq_item *item, const char *name, in cmd_wait_for_wait()
196 cmd_wait_for_lock(struct cmdq_item *item, const char *name, in cmd_wait_for_lock()
[all …]
Dcmd-list-windows.c42 static enum cmd_retval cmd_list_windows_exec(struct cmd *, struct cmdq_item *);
44 static void cmd_list_windows_server(struct cmd *, struct cmdq_item *);
46 struct cmdq_item *, int);
62 cmd_list_windows_exec(struct cmd *self, struct cmdq_item *item) in cmd_list_windows_exec()
76 cmd_list_windows_server(struct cmd *self, struct cmdq_item *item) in cmd_list_windows_server()
86 struct cmdq_item *item, int type) in cmd_list_windows_session()
Dcfg.c34 static struct cmdq_item *cfg_item;
41 cfg_client_done(__unused struct cmdq_item *item, __unused void *data) in cfg_client_done()
49 cfg_done(__unused struct cmdq_item *item, __unused void *data) in cfg_done()
97 load_cfg(const char *path, struct client *c, struct cmdq_item *item, in load_cfg()
98 struct cmd_find_state *current, int flags, struct cmdq_item **new_item) in load_cfg()
103 struct cmdq_item *new_item0; in load_cfg()
157 struct client *c, struct cmdq_item *item, struct cmd_find_state *current, in load_cfg_from_buffer()
158 int flags, struct cmdq_item **new_item) in load_cfg_from_buffer()
162 struct cmdq_item *new_item0; in load_cfg_from_buffer()
223 cfg_print_causes(struct cmdq_item *item) in cfg_print_causes()
Dcmd-send-keys.c30 static enum cmd_retval cmd_send_keys_exec(struct cmd *, struct cmdq_item *);
59 static struct cmdq_item *
60 cmd_send_keys_inject_key(struct cmdq_item *item, struct cmdq_item *after, in cmd_send_keys_inject_key()
103 static struct cmdq_item *
104 cmd_send_keys_inject_string(struct cmdq_item *item, struct cmdq_item *after, in cmd_send_keys_inject_string()
153 cmd_send_keys_exec(struct cmd *self, struct cmdq_item *item) in cmd_send_keys_exec()
164 struct cmdq_item *after = item; in cmd_send_keys_exec()
Dcmd-source-file.c36 static enum cmd_retval cmd_source_file_exec(struct cmd *, struct cmdq_item *);
52 struct cmdq_item *item;
55 struct cmdq_item *after;
64 cmd_source_file_complete_cb(struct cmdq_item *item, __unused void *data) in cmd_source_file_complete_cb()
83 struct cmdq_item *new_item; in cmd_source_file_complete()
106 struct cmdq_item *item = cdata->item; in cmd_source_file_done()
110 struct cmdq_item *new_item; in cmd_source_file_done()
154 cmd_source_file_exec(struct cmd *self, struct cmdq_item *item) in cmd_source_file_exec()
Dtmux.h45 struct cmdq_item;
1719 struct cmdq_item *item;
1730 typedef enum cmd_retval (*cmdq_cb) (struct cmdq_item *, void *);
1758 enum cmd_retval (*exec)(struct cmd *, struct cmdq_item *);
2130 struct cmdq_item *item;
2207 int load_cfg(const char *, struct client *, struct cmdq_item *,
2208 struct cmd_find_state *, int, struct cmdq_item **);
2210 struct client *, struct cmdq_item *, struct cmd_find_state *,
2211 int, struct cmdq_item **);
2213 void cfg_print_causes(struct cmdq_item *);
[all …]
Dcmd-load-buffer.c34 static enum cmd_retval cmd_load_buffer_exec(struct cmd *, struct cmdq_item *);
49 struct cmdq_item *item;
59 struct cmdq_item *item = cdata->item; in cmd_load_buffer_done()
91 cmd_load_buffer_exec(struct cmd *self, struct cmdq_item *item) in cmd_load_buffer_exec()
Dcmd-if-shell.c36 struct cmdq_item *);
60 struct cmdq_item *item;
73 cmd_if_shell_exec(struct cmd *self, struct cmdq_item *item) in cmd_if_shell_exec()
78 struct cmdq_item *new_item; in cmd_if_shell_exec()
142 struct cmdq_item *item = cdata->item, *new_item; in cmd_if_shell_callback()
Dcmd-show-environment.c31 struct cmdq_item *);
34 static void cmd_show_environment_print(struct cmd *, struct cmdq_item *,
69 cmd_show_environment_print(struct cmd *self, struct cmdq_item *item, in cmd_show_environment_print()
98 cmd_show_environment_exec(struct cmd *self, struct cmdq_item *item) in cmd_show_environment_exec()
Dcmd-show-options.c31 static enum cmd_retval cmd_show_options_exec(struct cmd *, struct cmdq_item *);
33 static void cmd_show_options_print(struct cmd *, struct cmdq_item *,
35 static enum cmd_retval cmd_show_options_all(struct cmd *, struct cmdq_item *,
78 cmd_show_options_exec(struct cmd *self, struct cmdq_item *item) in cmd_show_options_exec()
149 cmd_show_options_print(struct cmd *self, struct cmdq_item *item, in cmd_show_options_print()
200 cmd_show_options_all(struct cmd *self, struct cmdq_item *item, int scope, in cmd_show_options_all()
Dcmd-confirm-before.c34 struct cmdq_item *);
53 struct cmdq_item *item;
67 cmd_confirm_before_exec(struct cmd *self, struct cmdq_item *item) in cmd_confirm_before_exec()
125 struct cmdq_item *item = cdata->item, *new_item; in cmd_confirm_before_callback()
Dcmd-show-messages.c37 struct cmdq_item *);
51 cmd_show_messages_terminals(struct cmd *self, struct cmdq_item *item, int blank) in cmd_show_messages_terminals()
76 cmd_show_messages_exec(struct cmd *self, struct cmdq_item *item) in cmd_show_messages_exec()
Dnotify.c39 static struct cmdq_item *
40 notify_insert_one_hook(struct cmdq_item *item, struct notify_entry *ne, in notify_insert_one_hook()
43 struct cmdq_item *new_item; in notify_insert_one_hook()
58 notify_insert_hook(struct cmdq_item *item, struct notify_entry *ne) in notify_insert_hook()
124 notify_callback(struct cmdq_item *item, void *data) in notify_callback()
185 struct cmdq_item *item; in notify_add()
231 notify_hook(struct cmdq_item *item, const char *name) in notify_hook()
Dcmd-save-buffer.c35 static enum cmd_retval cmd_save_buffer_exec(struct cmd *, struct cmdq_item *);
63 struct cmdq_item *item = data; in cmd_save_buffer_done()
74 cmd_save_buffer_exec(struct cmd *self, struct cmdq_item *item) in cmd_save_buffer_exec()
Dcmd-kill-server.c30 static enum cmd_retval cmd_kill_server_exec(struct cmd *, struct cmdq_item *);
55 cmd_kill_server_exec(struct cmd *self, __unused struct cmdq_item *item) in cmd_kill_server_exec()
Dcmd-server-access.c34 static enum cmd_retval cmd_server_access_exec(struct cmd *, struct cmdq_item *);
48 cmd_server_access_deny(struct cmdq_item *item, struct passwd *pw) in cmd_server_access_deny()
71 cmd_server_access_exec(struct cmd *self, struct cmdq_item *item) in cmd_server_access_exec()
Dcmd-run-shell.c36 struct cmdq_item *);
62 struct cmdq_item *item;
108 cmd_run_shell_exec(struct cmd *self, struct cmdq_item *item) in cmd_run_shell_exec()
185 struct cmdq_item *item = cdata->item, *new_item; in cmd_run_shell_timer()
229 struct cmdq_item *item = cdata->item; in cmd_run_shell_callback()
Dcmd-rename-window.c30 struct cmdq_item *);
46 cmd_rename_window_exec(struct cmd *self, struct cmdq_item *item) in cmd_rename_window_exec()
Dcmd-list-keys.c30 static enum cmd_retval cmd_list_keys_exec(struct cmd *, struct cmdq_item *);
33 struct cmdq_item *);
86 cmd_list_keys_print_notes(struct cmdq_item *item, struct args *args, in cmd_list_keys_print_notes()
148 cmd_list_keys_exec(struct cmd *self, struct cmdq_item *item) in cmd_list_keys_exec()
326 const char *template, struct cmdq_item *item) in cmd_list_single_command()
350 cmd_list_keys_commands(struct cmd *self, struct cmdq_item *item) in cmd_list_keys_commands()
Dcmd-display-message.c36 struct cmdq_item *);
55 struct cmdq_item *item = arg; in cmd_display_message_each()
61 cmd_display_message_exec(struct cmd *self, struct cmdq_item *item) in cmd_display_message_exec()
Dcmd-kill-pane.c29 static enum cmd_retval cmd_kill_pane_exec(struct cmd *, struct cmdq_item *);
45 cmd_kill_pane_exec(struct cmd *self, struct cmdq_item *item) in cmd_kill_pane_exec()
Dcmd-lock-server.c27 static enum cmd_retval cmd_lock_server_exec(struct cmd *, struct cmdq_item *);
65 cmd_lock_server_exec(struct cmd *self, struct cmdq_item *item) in cmd_lock_server_exec()
Dcmd-kill-session.c30 static enum cmd_retval cmd_kill_session_exec(struct cmd *, struct cmdq_item *);
46 cmd_kill_session_exec(struct cmd *self, struct cmdq_item *item) in cmd_kill_session_exec()

1234