code wiki / (root) / _dlr_fetch_one.nx

_dlr_fetch_one.nx

buildroot/runtime/_dlr_fetch_one.nx

940 B23 linesdepth 22pulls 132 transitivereach 0 importersview sourcekind tool
docsdependenciesstructsconstsfunctions

about

_dlr_fetch_one.nx -- single-URL TEXT fetch unit for the guarded crawler. Staged fetch (validated HTTPS + redirect follow + chunked decode) is the SHARED nx_fetch_unit (Rule #15 -- extracted 2026-06-10 standards audit); this child adds only html->text + the output write. Runs under nx_guarded_run. Exit 0 = text written; 2 = fetch failed; 3 = bad args. usage: _dlr_fetch_one <url> <out_text_path>

dependencies 3 imports · 0 importers

nx_syscalls.nx nx_fetch_unit.nx nx_html_to_text.nx _dlr_fetch_one.nx

imports: nx_syscalls.nxnx_fetch_unit.nxnx_html_to_text.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

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