nx_printers_page.nx
buildroot/runtime/nx_printers_page.nx
about
nx_printers_page.nx -- LIVE: query the real Brother and write the /printers status page to disk.
Reuses transport (read-only Get-Printer-Attributes) + the pure HTML renderer. Writes a local file only
(web_assets/printers.html) -- publishing is a separate operator-gated push. never-brick. license_tier: ORIGINAL
dependencies 6 imports · 0 importers
imports: nx_syscalls.nxnx_ipp_codec.nxnx_ipp_transport.nxnx_printers_render.nxnx_toner_ledger.nxnx_toner_store.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
| 11 | const K_MAGIC_131072: i64 = 131072 |
| 12 | const K_MAGIC_65536: i64 = 65536 |
functions
| 14 | func p(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 } |
| 15 | func pn(v: i64) -> i64 |
| 24 | func write_all(fd: i64, buf: *u8, len: i64) -> i64 |
| 34 | func main() -> i64 |