code wiki / (root) / _ed_fetch_html.nx

_ed_fetch_html.nx

buildroot/runtime/_ed_fetch_html.nx

771 B19 linesdepth 22pulls 130 transitivereach 0 importersview sourcekind tool
docsdependenciesstructsconstsfunctions

about

_ed_fetch_html.nx -- single-URL RAW-HTML fetch unit for the discovery crawler. Staged fetch = the SHARED nx_fetch_unit (Rule #15 -- extracted 2026-06-10 standards audit); this child just writes the decoded body (link extraction needs markup, not text). Runs under nx_guarded_run. usage: _ed_fetch_html <url> <out_html_path>; exit 0 ok / 2 fail / 3 args

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_fetch_unit.nx _ed_fetch_html.nx

imports: nx_syscalls.nxnx_fetch_unit.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 nx_fetch_staged trust_store_alloc sys_mmap ↻ nx_pem_trust_load_file sys_mmap ↻ sys_read_file sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_close nx_pem_trust_load nx_str_len _pem_find nx_str_len ↻ sys_mmap ↻ b64_decode b64_grab b64_dec_char x509_parse sys_mmap ↻ asn1_cursor_init asn1_expect_tag sys_mmap ↻ asn1_read_tlv_header asn1_read_length x509_read_tlv sys_mmap ↻ asn1_expect_tag ↻ x509_read_alg_id sys_mmap ↻ asn1_expect_tag ↻ trust_store_add sys_now_realtime_sec sys_mmap ↻ sys_clock_gettime_real sys_mmap ↻ nx_csprng_fill

structs

none

consts

none

functions

9func main(argc: i64, argv: *i64) -> i64