|
ascii-chat 0.8.38
Real-time terminal-based video chat with ASCII art conversion
|
Create a new options_t struct with all defaults set. More...
Data Fields | |
| log_level_t | log_level |
| unsigned short int | verbose_level |
| bool | quiet |
| char | log_file [OPTIONS_BUFF_SIZE] |
| bool | help |
| bool | version |
| char | config_file [OPTIONS_BUFF_SIZE] |
| asciichat_mode_t | detected_mode |
| int | color |
| bool | json |
| bool | log_format_console_only |
Create a new options_t struct with all defaults set.
Initializes an options_t struct with all fields set to their default values from OPT_*_DEFAULT defines. This ensures consistent default initialization across the codebase.
Helper to save binary-level options before reset
Binary-level options are parsed first (STAGE 1) and should never be reset by subsequent stages. This helper extracts them so they can be preserved across options_t_new() calls.
Definition at line 473 of file lib/options/options.c.
| int binary_level_opts_t::color |
Definition at line 482 of file lib/options/options.c.
| char binary_level_opts_t::config_file[OPTIONS_BUFF_SIZE] |
Definition at line 480 of file lib/options/options.c.
| asciichat_mode_t binary_level_opts_t::detected_mode |
Definition at line 481 of file lib/options/options.c.
| bool binary_level_opts_t::help |
Definition at line 478 of file lib/options/options.c.
| bool binary_level_opts_t::json |
Definition at line 483 of file lib/options/options.c.
| char binary_level_opts_t::log_file[OPTIONS_BUFF_SIZE] |
Definition at line 477 of file lib/options/options.c.
| bool binary_level_opts_t::log_format_console_only |
Definition at line 484 of file lib/options/options.c.
| log_level_t binary_level_opts_t::log_level |
Definition at line 474 of file lib/options/options.c.
| bool binary_level_opts_t::quiet |
Definition at line 476 of file lib/options/options.c.
| unsigned short int binary_level_opts_t::verbose_level |
Definition at line 475 of file lib/options/options.c.
| bool binary_level_opts_t::version |
Definition at line 479 of file lib/options/options.c.