code wiki / _hdl_build / nx_manga_shelf_emit.nx
nx_manga_shelf_emit.nx
buildroot/runtime/_hdl_build/nx_manga_shelf_emit.nx
about
nx_manga_shelf_emit.nx -- EMITS the LOCAL Comics Shelf browse page (knowledge/staging/media/shelf.html),
served at /library/shelf. The operator's "browse before download" LOCAL half: a SERIES grid (covers via the
EXISTING thumbnailed /api/cover) over /api/shelf's series->volumes catalog -> tap a series -> volume list
-> tap a volume -> the EXISTING /api/open extract-on-demand chain lands in the guided zoom reader
(/library/zoom). Inline login (same no-cookie session as the rest of /library). ZERO external loads; NO
double-quote chars (single-quote HTML/JS) so the fail-closed emit check passes. license_tier: ORIGINAL
dependencies 1 imports · 0 importers
imports: nx_syscalls.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
| 8 | const K_MAGIC_131072: i64 = 131072 |
functions
| 10 | func ua(dst: *u8, o: i64, s: *u8) -> i64 { var i: i64 = 0; while s[i] != (0 as u8) { dst[o + i] = s[i]; i = i + 1 } return o + i } called by 1: sh_build |
| 12 | func sh_build(dst: *u8) -> i64 |
| 54 | func sh_slen(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n } called by 1: sh_w |
| 55 | func sh_w(s: *u8) -> i64 { sys_write(1, s, sh_slen(s)); return 0 } |
| 57 | func main() -> i64 |