code wiki / (root) / nx_blocklist_view.nx

nx_blocklist_view.nx

buildroot/runtime/nx_blocklist_view.nx

4695 B69 linesdepth 4pulls 5 transitivereach 2 importersview sourcekind librarytopic blocklist
docsdependenciesstructsconstsfunctions

about

nx_blocklist_view.nx -- renders the supervised blocklist (from seg_store) as a VIEWABLE HTML page: every entry with its full justification (fingerprint / category / authority / date / ref / status) and, for PENDING entries, an approve/reject ACTION link the operator clicks on the page. XSS-escaped. Now on the canonical nx_tabrec (tr_cat/tr_field/tr_field_eq); only the view-specific helpers (blv_esc/blv_td) remain local. license_tier: ORIGINAL

dependencies 2 imports · 2 importers

nx_blocklist_store.nx nx_tabrec.nx nx_blocklist_view.nx nx_archive_server.nx nx_blocklist_view_gate.nx

imports: nx_blocklist_store.nxnx_tabrec.nx

imported by: nx_archive_server.nxnx_blocklist_view_gate.nx

structs

none

consts

7const K_MAGIC_1048576: i64 = 1048576

functions

10func blv_esc(buf: *u8, off: i64, src: *u8, slen: i64) -> i64
called by 2: blv_tdbl_render_html calls 1: tr_cat
18func blv_td(out: *u8, o: i64, rec: *u8, rlen: i64, fidx: i64, f2: *i64) -> i64
25func bl_render_html(prefix: *u8, out: *u8) -> i64