nx_url_params.nx
buildroot/runtime/nx_url_params.nx
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
imports: nx_syscalls.nx
imported by: nx_test_driver_e2e.nxnx_url_params_test.nx
structs
| 11 | struct NxUrlParam |
consts
| none |
functions
| 17 | func _up_strlen(s: *u8) -> i64 called by 1: nx_url_param_get |
| 23 | func _up_byte_eq(a: *u8, ao: i64, b: *u8, bo: i64, n: i64) -> i64 called by 1: nx_url_param_get |
| 34 | func _up_scan_key_end(url: *u8, url_len: i64, start: i64) -> i64 called by 1: nx_url_param_get |
| 47 | func _up_scan_val_end(url: *u8, url_len: i64, start: i64) -> i64 called by 1: nx_url_param_get |
| 60 | func nx_url_query_start(url: *u8, url_len: i64) -> i64 |
| 75 | func nx_url_param_get(url: *u8, url_len: i64, name: *u8) -> *NxUrlParam |
| 133 | func nx_url_param_int(url: *u8, url_len: i64, name: *u8) -> i64 |