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

Enum value mapping with description for shell completions. More...

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

Data Fields

int enum_value
 The numeric enum value.
const char * string
 The string representation of that enum value.
const char * desc
 Description for shell completion.

Detailed Description

Enum value mapping with description for shell completions.

Enum value mapping for an option

Enum value mapping with description for shell completions

Definition at line 29 of file enums.h.

Field Documentation

◆ desc

const char* enum_to_string_entry_t::desc

Description for shell completion.

Definition at line 32 of file enums.h.

Referenced by options_get_enum_entries().

◆ enum_value

int enum_to_string_entry_t::enum_value

The numeric enum value.

Definition at line 30 of file enums.h.

Referenced by options_get_enum_entries().

◆ string

const char* enum_to_string_entry_t::string

The string representation of that enum value.

Definition at line 31 of file enums.h.

Referenced by options_get_enum_entries().


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