ascii-chat
Binary v0.15.83-53-gb711d8720
Library lib/v0.3.2-701-gb711d8720
Video chat in your terminal
Loading...
Searching...
No Matches
option_dependency_t Struct Reference

A rule connecting one option to another during validation. More...

#include <include/ascii-chat/options/builder.h>

Data Fields

const char * option_name
 The option that has the dependency.
dependency_type_t type
 Type of dependency.
const char * depends_on
 The option it depends on.
const char * error_message
 Custom error message (optional).

Detailed Description

A rule connecting one option to another during validation.

Describes a dependency relationship between two options.

Definition at line 342 of file builder.h.

Field Documentation

◆ depends_on

const char* option_dependency_t::depends_on

The option it depends on.

Definition at line 345 of file builder.h.

◆ error_message

const char* option_dependency_t::error_message

Custom error message (optional).

Definition at line 346 of file builder.h.

◆ option_name

const char* option_dependency_t::option_name

The option that has the dependency.

Definition at line 343 of file builder.h.

◆ type

dependency_type_t option_dependency_t::type

Type of dependency.

Definition at line 344 of file builder.h.


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