code wiki / (root) / nx_url_params.nx

nx_url_params.nx

buildroot/runtime/nx_url_params.nx

4605 B147 linesdepth 2pulls 2 transitivereach 2 importersview sourcekind librarytopic url
docsdependenciesstructsconstsfunctions

about

nx_url_params.nx -- bits-up URL query-string parser for the Nishi test harness arc. Mirrors what nishi-host.js does today in JS: extracting `?v=N` from a URL string for sovereign version pinning. Scope: only what the test driver needs. No URL-encoding, no fragment handling, no multi-value params (those are queued via the full nishi-browser arc).

dependencies 1 imports · 2 importers

nx_syscalls.nx nx_url_params.nx nx_test_driver_e2e.nx nx_url_params_test.nx

imports: nx_syscalls.nx

imported by: nx_test_driver_e2e.nxnx_url_params_test.nx

structs

11struct NxUrlParam

consts

none

functions

17func _up_strlen(s: *u8) -> i64
called by 1: nx_url_param_get
23func _up_byte_eq(a: *u8, ao: i64, b: *u8, bo: i64, n: i64) -> i64
called by 1: nx_url_param_get
34func _up_scan_key_end(url: *u8, url_len: i64, start: i64) -> i64
called by 1: nx_url_param_get
47func _up_scan_val_end(url: *u8, url_len: i64, start: i64) -> i64
called by 1: nx_url_param_get
60func nx_url_query_start(url: *u8, url_len: i64) -> i64
75func nx_url_param_get(url: *u8, url_len: i64, name: *u8) -> *NxUrlParam
133func nx_url_param_int(url: *u8, url_len: i64, name: *u8) -> i64