code wiki / _hdl_build / nx_hub_gw_decide.nx
nx_hub_gw_decide.nx
buildroot/runtime/_hdl_build/nx_hub_gw_decide.nx
about
nx_hub_gw_decide.nx -- the HUB gateway's PURE request->decision handler (bytes in, HTTP status out).
2026-07-29 seq1232 (P2 safe-subset): per-call scratch -> lazy statics (no-munmap page leak class).
dependencies 3 imports · 4 importers
imports: nx_syscalls.nxnx_site_lock_lib.nxnx_maturity_registry.nx
imported by: nx_hub_gw.nxnx_hub_gw_gate.nxnx_project_serve.nxnx_torrent_gw.nx
structs
| none |
consts
| 24 | const K_MAGIC_1024: i64 = 1024 |
functions
| 27 | func hgw_path(req: *u8, n: i64, out: *u8, cap: i64) -> i64 |
| 41 | func hgw_hdr_val(req: *u8, n: i64, name: *u8, namelen: i64, out: *u8, cap: i64) -> i64 |
| 68 | func hgw_resolve_handle(sessions: *u8, slen: i64, token: *u8, tlen: i64, out: *u8, cap: i64) -> i64 |
| 95 | func hgw_decide(req: *u8, n: i64, registry: *u8, reglen: i64, roles: *u8, rolelen: i64, |