code wiki / _hdl_build / nx_serve_roadmap.nx

nx_serve_roadmap.nx

buildroot/runtime/_hdl_build/nx_serve_roadmap.nx

2932 B60 linesdepth 4pulls 4 transitivereach 0 importersview sourcekind tool
docsdependenciesstructsconstsfunctions

about

nx_serve_roadmap.nx -- the team SERVES the /roadmap/andelinwest page over a real socket using its OWN sovereign HTTP server (nx_http_server), bits-up: socket -> bind -> listen -> accept -> read request -> send the roadmap HTML. No Python, no third-party. This is "3 live" on the sovereign stack; mapping the public nishifamily.com/roadmap/andelinwest URL to it is the container/NAS deploy step. license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_http_server.nx nx_syscalls.nx nx_serve_roadmap.nx

imports: nx_http_server.nxnx_syscalls.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_read_file sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_close sys_write sys_exit sv_w sv_itoa sys_mmap ↻ nx_http_server_addr_any nx_http_server_make_sockad nx_http_server_listen sys_ignore_sigpipe sys_mmap ↻ sys_socket sys_mmap ↻ sys_setsockopt sys_bind sys_close ↻ sys_listen nx_http_server_accept_one sys_accept nx_http_server_read_reques sys_read ↻ nx_http_parse_request nx_http_server_send_respon sys_write ↻ sys_close ↻

structs

none

consts

8const K_MAGIC_1024: i64 = 1024
9const K_MAGIC_8088: i64 = 8088
10const K_MAGIC_8192: i64 = 8192
11const K_MAGIC_100000: i64 = 100000

functions

13func sv_w(dst: *u8, pos: i64, s: *u8) -> i64 { var i: i64 = 0; while s[i] != (0 as u8) { dst[pos + i] = s[i]; i = i + 1 } return pos + i }
called by 1: main
14func sv_itoa(dst: *u8, pos: i64, v: i64) -> i64
called by 1: main calls 1: sys_mmap
22func main() -> i64