ascii-chat
Binary v0.16.50-198-g78f51665f
Library lib/v0.3.2-2240-g78f51665f
Video chat in your terminal
Loading...
Searching...
No Matches
options/registry/database.c
Go to the documentation of this file.
1
11
12#include <options/registry/common.h>
13
14// ============================================================================
15// DATABASE CATEGORY - Discovery service database options
16// ============================================================================
17// DATABASE GROUP - ACDS Server Specific Options
18const registry_entry_t g_database_entries[] = {{"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 {.input_type = OPTION_INPUT_FILEPATH},
35 NULL},
36
@ OPTION_INPUT_FILEPATH
File path completion.
Definition builder.h:190
@ OPTION_TYPE_STRING
String value (–name foo).
Definition builder.h:173
struct options_state options_t
Immutable, RCU-published snapshot of the application's runtime configuration.
@ OPTION_MODE_DISCOVERY_SVC
Discovery server mode (bit 3).
Definition options.h:938
const registry_entry_t g_database_entries[]
#define REGISTRY_TERMINATOR()
Initialize a terminator entry (sentinel value for array end) Uses designated initializers to properly...
Registry entry - stores option definition with mode bitmask and metadata.