code wiki / _hdl_build / nx_site_dispatch_gate.nx
nx_site_dispatch_gate.nx
buildroot/runtime/_hdl_build/nx_site_dispatch_gate.nx
about
nx_site_dispatch_gate.nx -- PURE gate for the reconciled daemon's data-driven brain. Proves the WHOLE decision
the hardcoded cascade made is now a composition of three DATA tables: /gallery is PROXIED (data row), a hub
domain is SERVED STATIC from its vhost docroot, an unknown host is 404, the SNI cert is selected per-request
(wildcard + ANTI-SPOOF), all with NO hardcoded routes/certs/hosts. GREEN iff T1..T8.
Sovereign: nx_site_dispatch + nx_syscalls. license_tier: ORIGINAL
dependencies 2 imports · 0 importers
imports: nx_site_dispatch.nxnx_syscalls.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| 18 | const G_RT: *u8 = "nishifamily.com /gallery 18190 stream\nnishifamily.com /torrent 18793 stream\n" as *u8 |
| 19 | const G_CT: *u8 = "nishifamily.com certs/nf.der certs/nf.key\n*.nishifamily.com certs/nfw.der certs/nfw.key\nbradrwest.com certs/brad.der certs/brad.key\njensendwest.com certs/jen.der certs/jen.key\n* certs/def.der certs/def.key\n" as *u8 |
| 20 | const G_VT: *u8 = "bradrwest.com web_assets/sites/bradrwest/index.html\njensendwest.com web_assets/sites/jensendwest/index.html\n" as *u8 |
functions
| 9 | func g_w(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 } |
| 10 | func g_len(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n } called by 1: g_disp |
| 11 | func g_row(name: *u8, ok: i64) -> i64 |
| 16 | func g_streq(a: *u8, b: *u8) -> i64 { var i: i64 = 0; while a[i] != (0 as u8) { if a[i] != b[i] { return 0 } i = i + 1 } if b[i] != (0 as u8) { return 0 } return 1 } called by 1: g_disp |
| 22 | func g_disp(sni: *u8, host: *u8, path: *u8, want_o: i64, want_port: i64, want_mode: i64, want_chain: *u8, want_dr: *u8) -> i64 |
| 34 | func main() -> i64 |