code wiki / (root) / nx_intake_handler_gate.nx

nx_intake_handler_gate.nx

buildroot/runtime/nx_intake_handler_gate.nx

4772 B93 linesdepth 10pulls 17 transitivereach 0 importersview sourcekind gate/prooftopic intake
docsdependenciesstructsconstsfunctions

about

nx_intake_handler_gate.nx -- R6 GATE: proves a submitted intake form flows into the whole system. A urlencoded POST body -> ih_record -> sv_load round-trips every field -> and the engines run on THOSE numbers: triage = crisis (90), before-you-buy uses the submitted wage, accommodation reads the submitted ADHD flag. Hermetic /tmp prefix. Exits 0 iff ALL pass. license_tier: ORIGINAL

dependencies 7 imports · 0 importers

nx_syscalls.nx nx_money.nx nx_survey.nx nx_accommodate.nx nx_adhd.nx nx_purchase.nx nx_intake_handler.nx nx_intake_handler_gate.nx

imports: nx_syscalls.nxnx_money.nxnx_survey.nxnx_accommodate.nxnx_adhd.nxnx_purchase.nxnx_intake_handler.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main sys_mmap sys_now_us sys_mmap ↻ sys_clock_gettime_mono chk g_puts sys_write g_putn sys_write ↻ sys_mmap ↻ ih_record sys_mmap ↻ ih_field_cents ih_field sys_mmap ↻ nx_http_form_get_field nxf_decode_chunk nxf_hex_nibble ih_len sv_atoi ih_field ↻ sv_record sys_mmap ↻ sv_itoa sys_mmap ↻ canon_encode sys_mmap ↻ cc_cmp cc_w32 cc_len sys_munmap cid_of sys_mmap ↻ sha256_digest sys_mmap ↻ sha256_init sys_mmap ↻ sha256_k sha256_update

structs

none

consts

none

functions

13func g_puts(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 }
called by 2: chkmain calls 1: sys_write
14func g_putn(v: i64) -> i64
called by 2: chkmain calls 2: sys_writesys_mmap
23func chk(name: *u8, got: i64, want: i64, st: *i64) -> i64
called by 1: main calls 2: g_putsg_putn
29func main() -> i64