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

Master registry composition - combines all category arrays. More...

Go to the source code of this file.

Variables

category_builder_t g_category_builders []
 
registry_entry_t g_options_registry [2048]
 
size_t g_registry_size = 0
 
bool g_metadata_populated = false
 

Detailed Description

Master registry composition - combines all category arrays.

This file contains the master registry that combines all category-specific option arrays into a single unified registry. It does not implement any logic, only data composition.

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

Definition in file registry.c.

Variable Documentation

◆ g_category_builders

category_builder_t g_category_builders[]
Initial value:
= {{g_general_entries, "GENERAL"},
{g_logging_entries, "LOGGING"},
{g_terminal_entries, "TERMINAL"},
{g_configuration_entries, "CONFIGURATION"},
{g_display_entries, "DISPLAY"},
{g_webcam_entries, "WEBCAM"},
{g_audio_entries, "AUDIO"},
{g_media_entries, "MEDIA"},
{g_network_entries, "NETWORK"},
{g_security_entries, "SECURITY"},
{g_database_entries, "DATABASE"},
{g_debug_entries, "DEBUG"},
{NULL, NULL}}
const registry_entry_t g_configuration_entries[]
const registry_entry_t g_debug_entries[]
Definition debug.c:14
const registry_entry_t g_general_entries[]
Definition general.c:18
const registry_entry_t g_audio_entries[]
const registry_entry_t g_display_entries[]
const registry_entry_t g_media_entries[]
Definition media.c:37
const registry_entry_t g_database_entries[]
const registry_entry_t g_logging_entries[]
const registry_entry_t g_network_entries[]
const registry_entry_t g_terminal_entries[]
const registry_entry_t g_webcam_entries[]
const registry_entry_t g_security_entries[]
Definition security.c:18

Definition at line 27 of file registry.c.

27 {{g_general_entries, "GENERAL"},
28 {g_logging_entries, "LOGGING"},
29 {g_terminal_entries, "TERMINAL"},
30 {g_configuration_entries, "CONFIGURATION"},
31 {g_display_entries, "DISPLAY"},
32 {g_webcam_entries, "WEBCAM"},
33 {g_audio_entries, "AUDIO"},
34 {g_media_entries, "MEDIA"},
35 {g_network_entries, "NETWORK"},
36 {g_security_entries, "SECURITY"},
37 {g_database_entries, "DATABASE"},
38 {g_debug_entries, "DEBUG"},
39 {NULL, NULL}};

Referenced by registry_init_from_builders().

◆ g_metadata_populated

bool g_metadata_populated = false

Definition at line 54 of file registry.c.

Referenced by registry_init_size().

◆ g_options_registry

◆ g_registry_size