code wiki / _hdl_build / nx_property_registry.nx

nx_property_registry.nx

buildroot/runtime/_hdl_build/nx_property_registry.nx

2978 B68 linesdepth 2pulls 2 transitivereach 3 importersview sourcekind library
docsdependenciesstructsconstsfunctions

about

nx_property_registry.nx -- the hosting platform's PROPERTY REGISTRY: data-driven domain -> backend port. One property per config line: "domain port tenancy group" (# = comment, blank lines ignored). MULTIPLE domains pointing at the same port+group = ONE multi-domain business (e.g. West Industrial Direct's several sites all roll up to its daemon). Rule 11/17: routing is DATA not hardcoded -- adding a property = adding a line, no recompile. The SNI router loads this once at startup and looks up each connection's SNI. license_tier: ORIGINAL

dependencies 1 imports · 2 importers

nx_syscalls.nx nx_property_registry.nx nx_property_registry_gate.nx nx_sni_router.nx

imports: nx_syscalls.nx

imported by: nx_property_registry_gate.nxnx_sni_router.nx

structs

none

consts

none

functions

9func pr_eq(cfg: *u8, ds: i64, dl: i64, host: *u8, host_n: i64) -> i64
called by 1: pr_lookup
16func pr_to_space(cfg: *u8, p: i64, le: i64) -> i64
called by 1: pr_lookup
21func pr_skip_sp(cfg: *u8, p: i64, le: i64) -> i64
called by 1: pr_lookup
26func pr_digits(cfg: *u8, p: i64, le: i64) -> i64
called by 1: pr_lookup
38func pr_lookup(cfg: *u8, cfg_n: i64, host: *u8, host_n: i64, default_port: i64) -> i64
61func pr_load(path: *u8, buf: *u8, cap: i64) -> i64
called by 1: sr_serve calls 2: sys_mmapsys_read_file