|
ascii-chat 0.6.0
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 | action_list_webcams (void) |
| List available webcam devices and exit. | |
| void | action_list_microphones (void) |
| List available microphone devices and exit. | |
| void | action_list_speakers (void) |
| List available speaker devices and exit. | |
| void | action_show_capabilities (void) |
| Show terminal capabilities and exit. | |
| void | action_show_version (void) |
| Show version information and exit. | |
| void | action_help_server (void) |
| Show server mode help and exit. | |
| void | action_help_client (void) |
| Show client mode help and exit. | |
| void | action_help_mirror (void) |
| Show mirror mode help and exit. | |
Action option callbacks for ascii-chat.
Definition in file actions.h.
| void action_help_client | ( | void | ) |
Show client mode help and exit.
Displays client mode usage and options. Exits with code 0.
Definition at line 198 of file actions.c.
References usage_client().
Referenced by options_preset_client().
| void action_help_mirror | ( | void | ) |
Show mirror mode help and exit.
Displays mirror mode usage and options. Exits with code 0.
Definition at line 204 of file actions.c.
References usage_mirror().
Referenced by options_preset_mirror().
| void action_help_server | ( | void | ) |
Show server mode help and exit.
Displays server mode usage and options. Exits with code 0.
Definition at line 192 of file actions.c.
References usage_server().
Referenced by options_preset_server().
| void action_list_microphones | ( | void | ) |
List available microphone devices and exit.
Enumerates all audio input devices and prints them to stdout. Exits with code 0 on success, 1 on error.
Definition at line 58 of file actions.c.
References ASCIICHAT_OK, audio_free_device_list(), and audio_list_input_devices().
Referenced by options_preset_client(), and options_preset_server().
| void action_list_speakers | ( | void | ) |
List available speaker devices and exit.
Enumerates all audio output devices and prints them to stdout. Exits with code 0 on success, 1 on error.
Definition at line 86 of file actions.c.
References ASCIICHAT_OK, audio_free_device_list(), and audio_list_output_devices().
Referenced by options_preset_client(), and options_preset_server().
| void action_list_webcams | ( | void | ) |
List available webcam devices and exit.
Enumerates all webcam devices and prints them to stdout. Exits with code 0 on success, 1 on error.
Definition at line 30 of file actions.c.
References ASCIICHAT_OK, webcam_free_device_list(), and webcam_list_devices().
Referenced by options_preset_client(), options_preset_mirror(), and options_preset_server().
| void action_show_capabilities | ( | void | ) |
Show terminal capabilities and exit.
Detects and displays terminal color support, UTF-8 support, dimensions, and terminal program name. Exits with code 0.
Definition at line 118 of file actions.c.
References terminal_capabilities_t::color_level, terminal_capabilities_t::colorterm, detect_terminal_capabilities(), TERM_COLOR_16, TERM_COLOR_256, TERM_COLOR_NONE, TERM_COLOR_TRUECOLOR, terminal_capabilities_t::term_type, and terminal_capabilities_t::utf8_support.
Referenced by options_preset_client(), and options_preset_mirror().
| void action_show_version | ( | void | ) |
Show version information and exit.
Displays ascii-chat version, build type, build date, and compiler information. Exits with code 0.
Definition at line 153 of file actions.c.
Referenced by options_preset_acds(), and options_preset_server().