ascii-chat 0.11.33
Video chat in your terminal
Loading...
Searching...
No Matches
config_file_result_t Struct Reference

Result of a config file search. More...

#include <include/ascii-chat/platform/filesystem.h>

Data Fields

char * path
 Absolute path to config file (allocated, must be freed)
 
uint8_t priority
 Priority order (0 = highest, 255 = lowest)
 
bool exists
 True if file exists and is a regular file.
 
bool is_system_config
 True if from system directory (not user config)
 

Detailed Description

Result of a config file search.

Represents a single matching config file in the search result list.

Definition at line 582 of file filesystem.h.

Field Documentation

◆ exists

bool config_file_result_t::exists

True if file exists and is a regular file.

Definition at line 585 of file filesystem.h.

◆ is_system_config

bool config_file_result_t::is_system_config

True if from system directory (not user config)

Definition at line 586 of file filesystem.h.

Referenced by config_load_system_and_user().

◆ path

char* config_file_result_t::path

Absolute path to config file (allocated, must be freed)

Definition at line 583 of file filesystem.h.

Referenced by check_known_host(), and config_load_system_and_user().

◆ priority

uint8_t config_file_result_t::priority

Priority order (0 = highest, 255 = lowest)

Definition at line 584 of file filesystem.h.


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