|
ascii-chat 0.8.38
Real-time terminal-based video chat with ASCII art conversion
|
Action option callbacks for ascii-chat. More...
Go to the source code of this file.
Functions | |
| void | actions_defer (deferred_action_t action, const action_args_t *args) |
| deferred_action_t | actions_get_deferred (void) |
| const action_args_t * | actions_get_args (void) |
| void | action_list_webcams (void) |
| void | action_list_microphones (void) |
| void | action_list_speakers (void) |
| void | action_show_capabilities_immediate (void) |
| Execute show capabilities immediately (for early binary-level execution) | |
| void | action_show_capabilities (void) |
| void | action_check_update_immediate (void) |
| Execute update check immediately (for early binary-level execution) | |
| void | action_check_update (void) |
| void | action_show_version (void) |
| void | action_help_server (void) |
| void | action_help_client (void) |
| void | action_help_mirror (void) |
| void | action_help_acds (void) |
| void | action_help_discovery (void) |
| void | action_create_manpage (const char *output_path) |
| void | action_create_config (const char *output_path) |
| void | action_completions (const char *shell_name, const char *output_path) |
| void | actions_execute_deferred (void) |
Action option callbacks for ascii-chat.
Action options are deferred until after all options are fully parsed and initialized. This ensures that options like –width and –height are properly reflected in action output (e.g., –show-capabilities displays the final terminal dimensions).
Examples: –list-webcams, –list-microphones, –list-speakers, –show-capabilities
Definition in file options/parsing/actions.c.
| void action_check_update | ( | void | ) |
Definition at line 348 of file options/parsing/actions.c.
References actions_defer().
Referenced by options_registry_add_all_to_builder().
| void action_check_update_immediate | ( | void | ) |
Execute update check immediately (for early binary-level execution)
Definition at line 330 of file options/parsing/actions.c.
References update_check_format_notification(), and update_check_perform().
Referenced by options_init().
| void action_completions | ( | const char * | shell_name, |
| const char * | output_path | ||
| ) |
Definition at line 590 of file options/parsing/actions.c.
References completions_generate_for_shell(), completions_get_shell_name(), completions_parse_shell_name(), platform_fopen(), and platform_prompt_yes_no().
Referenced by options_init().
| void action_create_config | ( | const char * | output_path | ) |
Definition at line 543 of file options/parsing/actions.c.
References config_create_default(), config_schema_build_from_configs(), and options_preset_unified().
Referenced by options_init().
| void action_create_manpage | ( | const char * | output_path | ) |
Definition at line 494 of file options/parsing/actions.c.
References options_config_generate_manpage_merged(), and options_preset_unified().
Referenced by options_init().
| void action_help_acds | ( | void | ) |
Definition at line 480 of file options/parsing/actions.c.
References usage().
| void action_help_client | ( | void | ) |
Definition at line 470 of file options/parsing/actions.c.
References usage().
| void action_help_discovery | ( | void | ) |
Definition at line 485 of file options/parsing/actions.c.
References usage().
| void action_help_mirror | ( | void | ) |
Definition at line 475 of file options/parsing/actions.c.
References usage().
| void action_help_server | ( | void | ) |
Definition at line 465 of file options/parsing/actions.c.
References usage().
| void action_list_microphones | ( | void | ) |
Definition at line 148 of file options/parsing/actions.c.
References actions_defer().
Referenced by options_init(), and options_registry_add_all_to_builder().
| void action_list_speakers | ( | void | ) |
Definition at line 194 of file options/parsing/actions.c.
References actions_defer().
Referenced by options_init(), and options_registry_add_all_to_builder().
| void action_list_webcams | ( | void | ) |
Definition at line 108 of file options/parsing/actions.c.
References actions_defer().
Referenced by options_init(), and options_registry_add_all_to_builder().
| void action_show_capabilities | ( | void | ) |
Definition at line 317 of file options/parsing/actions.c.
References actions_defer().
Referenced by options_registry_add_all_to_builder().
| void action_show_capabilities_immediate | ( | void | ) |
Execute show capabilities immediately (for early binary-level execution)
Definition at line 247 of file options/parsing/actions.c.
References colored_string(), detect_terminal_capabilities(), terminal_get_size(), and terminal_should_color_output().
Referenced by options_init().
| void action_show_version | ( | void | ) |
Definition at line 447 of file options/parsing/actions.c.
References colored_string(), and terminal_should_color_output().
Referenced by main().
| void actions_defer | ( | deferred_action_t | action, |
| const action_args_t * | args | ||
| ) |
Definition at line 76 of file options/parsing/actions.c.
Referenced by action_check_update(), action_list_microphones(), action_list_speakers(), action_list_webcams(), and action_show_capabilities().
| void actions_execute_deferred | ( | void | ) |
Definition at line 681 of file options/parsing/actions.c.
References action, and actions_get_deferred().
Referenced by options_init().
| const action_args_t * actions_get_args | ( | void | ) |
Definition at line 97 of file options/parsing/actions.c.
| deferred_action_t actions_get_deferred | ( | void | ) |
Definition at line 93 of file options/parsing/actions.c.
Referenced by actions_execute_deferred().
| deferred_action_t action |
Definition at line 67 of file options/parsing/actions.c.
Referenced by actions_defer(), and actions_execute_deferred().
| action_args_t args |
Definition at line 68 of file options/parsing/actions.c.
Referenced by __isoc23_fscanf(), __isoc23_fwscanf(), __isoc23_scanf(), __isoc23_sscanf(), __isoc23_swscanf(), __isoc23_vfscanf(), __isoc23_vfwscanf(), __isoc23_vscanf(), __isoc23_vsscanf(), __isoc23_vswscanf(), __isoc23_vwscanf(), __isoc23_wscanf(), actions_defer(), asciichat_fatal_with_context(), asciichat_set_errno_with_message(), asciichat_set_errno_with_system_error_and_message(), disconnect_client_for_bad_data(), format_message(), log_file_msg(), log_labeled(), log_mmap_write(), log_msg(), log_net_message(), log_network_message(), log_plain_msg(), log_plain_stderr_msg(), log_plain_stderr_nonewline_msg(), log_terminal_msg(), main(), options_builder_add_example(), options_builder_add_example_utility(), platform_asprintf(), platform_open(), safe_fprintf(), and safe_snprintf().
| bool has_action |
Definition at line 69 of file options/parsing/actions.c.
Referenced by options_init().