ascii-chat 0.11.33
Video chat in your terminal
Loading...
Searching...
No Matches
database.c File Reference

Discovery service database options. More...

Go to the source code of this file.

Variables

const registry_entry_t g_database_entries []
 

Detailed Description

Discovery service database options.

Options for discovery service database configuration.

Author
Zachary Fogg me@zf.nosp@m.o.gg
Date
January 2026

Definition in file options/registry/database.c.

Variable Documentation

◆ g_database_entries

const registry_entry_t g_database_entries[]
Initial value:
= {
{"database",
'\0',
offsetof(options_t, discovery_database_path),
"",
0,
"Path to SQLite database for discovery session storage.",
"DATABASE",
NULL,
false,
"ASCII_CHAT_DATABASE",
NULL,
NULL,
false,
false,
{0},
NULL},
@ OPTION_TYPE_STRING
String value (–name foo)
Definition builder.h:164
@ OPTION_MODE_DISCOVERY_SVC
Discovery server mode (bit 3)
#define REGISTRY_TERMINATOR()
Initialize a terminator entry (sentinel value for array end) Uses designated initializers to properly...
Consolidated options structure.

Definition at line 17 of file options/registry/database.c.

17 { // DATABASE GROUP - ACDS Server Specific Options
18 {"database",
19 '\0',
21 offsetof(options_t, discovery_database_path),
22 "",
23 0,
24 "Path to SQLite database for discovery session storage.",
25 "DATABASE",
26 NULL,
27 false,
28 "ASCII_CHAT_DATABASE",
29 NULL,
30 NULL,
31 false,
32 false,
34 {0},
35 NULL},
36