code wiki / _hdl_build / nx_property_registry.nx
nx_property_registry.nx
buildroot/runtime/_hdl_build/nx_property_registry.nx
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
imports: nx_syscalls.nx
imported by: nx_property_registry_gate.nxnx_sni_router.nx
structs
| none |
consts
| none |
functions
| 9 | func pr_eq(cfg: *u8, ds: i64, dl: i64, host: *u8, host_n: i64) -> i64 called by 1: pr_lookup |
| 16 | func pr_to_space(cfg: *u8, p: i64, le: i64) -> i64 called by 1: pr_lookup |
| 21 | func pr_skip_sp(cfg: *u8, p: i64, le: i64) -> i64 called by 1: pr_lookup |
| 26 | func pr_digits(cfg: *u8, p: i64, le: i64) -> i64 called by 1: pr_lookup |
| 38 | func pr_lookup(cfg: *u8, cfg_n: i64, host: *u8, host_n: i64, default_port: i64) -> i64 |
| 61 | func pr_load(path: *u8, buf: *u8, cap: i64) -> i64 |