code wiki / _hdl_build / nx_archive_capture.nx
nx_archive_capture.nx
buildroot/runtime/_hdl_build/nx_archive_capture.nx
about
nx_archive_capture.nx -- the CAPTURE step that binds this session's extractor to the WARC store: given a
captured page + the media bytes, archive the page AND locate its media URL (nx_media_extract) and archive the
media under that exact URL. Result: a self-contained preservation record so that after the origin dies, the
search engine retrieves the media by the same URL it indexed. This is the extract->archive half of the
sovereign-Browsertrix pipeline (the live-browser render + live download are the network front). ORIGINAL
dependencies 5 imports · 1 importers
imports: nx_syscalls.nxnx_media_signal.nxnx_media_state.nxnx_media_extract.nxnx_web_archive.nx
imported by: nx_archive_capture_gate.nx
structs
| none |
consts
| 11 | const K_MAGIC_4096: i64 = 4096 |
functions
| 15 | func ac_capture(html: *u8, hlen: i64, page_url: *u8, date: *u8, media_bytes: *u8, media_len: i64, media_ctype: *u8, warc: *u8, off: i64, out_media_url: *u8) -> i64 |