code wiki / _hdl_build / nx_vroom_html.nx

nx_vroom_html.nx

buildroot/runtime/_hdl_build/nx_vroom_html.nx

3742 B69 linesdepth 10pulls 22 transitivereach 0 importersview sourcekind orphan librarytopic vroom
docsdependenciesstructsconstsfunctions

about

nx_vroom_html.nx -- fast HTML-only deploy: streams web_assets/vroom_client.html to the NAS over the sovereign SSH client. With the daemon's per-request client read, the new page is LIVE on the next request (no daemon rebuild/restart). pw from /tmp/nxpw. license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_ssh_lib.nx nx_vroom_html.nx

imports: nx_syscalls.nxnx_ssh_lib.nx

imported by: nobody (leaf or entry point)

structs

none

consts

6const K_MAGIC_1048576: i64 = 1048576
7const K_MAGIC_16384: i64 = 16384
8const K_MAGIC_65536: i64 = 65536
9const K_MAGIC_1024: i64 = 1024

functions

11func slen(s: *u8) -> i64 { var n: i64=0; while s[n]!=0 as u8 { n=n+1 } return n }
14func ssh_put_file(st: *SshState, wcmd: *u8, wcmdlen: i64, data: *u8, datalen: i64) -> i64
50func main() -> i64