ascii-chat 0.8.38
Real-time terminal-based video chat with ASCII art conversion
Loading...
Searching...
No Matches
binary_level_opts_t Struct Reference

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
 

Detailed Description

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.

Field Documentation

◆ color

int binary_level_opts_t::color

Definition at line 482 of file lib/options/options.c.

◆ config_file

char binary_level_opts_t::config_file[OPTIONS_BUFF_SIZE]

Definition at line 480 of file lib/options/options.c.

◆ detected_mode

asciichat_mode_t binary_level_opts_t::detected_mode

Definition at line 481 of file lib/options/options.c.

◆ help

bool binary_level_opts_t::help

Definition at line 478 of file lib/options/options.c.

◆ json

bool binary_level_opts_t::json

Definition at line 483 of file lib/options/options.c.

◆ log_file

char binary_level_opts_t::log_file[OPTIONS_BUFF_SIZE]

Definition at line 477 of file lib/options/options.c.

◆ log_format_console_only

bool binary_level_opts_t::log_format_console_only

Definition at line 484 of file lib/options/options.c.

◆ log_level

log_level_t binary_level_opts_t::log_level

Definition at line 474 of file lib/options/options.c.

◆ quiet

bool binary_level_opts_t::quiet

Definition at line 476 of file lib/options/options.c.

◆ verbose_level

unsigned short int binary_level_opts_t::verbose_level

Definition at line 475 of file lib/options/options.c.

◆ version

bool binary_level_opts_t::version

Definition at line 479 of file lib/options/options.c.


The documentation for this struct was generated from the following file: