ascii-chat 0.11.33
Video chat in your terminal
Loading...
Searching...
No Matches
options/registry/database.c
Go to the documentation of this file.
1
13
14// ============================================================================
15// DATABASE CATEGORY - Discovery service database options
16// ============================================================================
17const registry_entry_t g_database_entries[] = { // 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
@ OPTION_TYPE_STRING
String value (–name foo)
Definition builder.h:164
@ OPTION_MODE_DISCOVERY_SVC
Discovery server mode (bit 3)
Shared structures and macros for registry implementation.
#define REGISTRY_TERMINATOR()
Initialize a terminator entry (sentinel value for array end) Uses designated initializers to properly...
const registry_entry_t g_database_entries[]
Consolidated options structure.
Registry entry - stores option definition with mode bitmask and metadata.