code wiki / (root) / nx_water_research_fetch.nx

nx_water_research_fetch.nx

buildroot/runtime/nx_water_research_fetch.nx

5747 B85 linesdepth 21pulls 146 transitivereach 0 importersview sourcekind orphan librarytopic water
docsdependenciesstructsconstsfunctions

about

nx_water_research_fetch.nx -- the Nishi RESEARCHER grounding the WATER SYSTEM arc (operator: "best tasting and healthiest water as a benchmark for a system we want to build ... via the most modern dehumidifiers / atmospheric water generation"). Mirrors the proven fetcher: own TLS-1.3 + Mozilla CA, idempotent have-skip, resume-on-kill, ->knowledge/fetched/ water_*.raw. Each basename lines up with the cite map in nx_water_quality / nx_water_awg. COVERAGE: 18 sources. expect_exit: 0 license_tier: ORIGINAL

dependencies 4 imports · 0 importers

nx_syscalls.nx nx_x509_trust_store.nx nx_trust_store_load_from_certdata. nx_https_fetch_follow.nx nx_water_research_fetch.nx

imports: nx_syscalls.nxnx_x509_trust_store.nxnx_trust_store_load_from_certdata.nxnx_https_fetch_follow.nx

imported by: nobody (leaf or entry point)

structs

none

consts

12const K_MAGIC_4194304: i64 = 4194304
13const K_MAGIC_8388608: i64 = 8388608

functions

15func ff_puts(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 }
16func ff_putn(v: i64) -> i64
27func have_file(path: *u8) -> i64
33func fetch_save(url: *u8, opath: *u8, store: *TrustStore, out: *u8, cap: i64) -> i64
50func main() -> i64