code wiki / _hdl_build / nx_apistack_version.nx
nx_apistack_version.nx
buildroot/runtime/_hdl_build/nx_apistack_version.nx
about
nx_apistack_version.nx -- CAP-API-VERSION: API version negotiation for /api. Reads the requested version from a
media type (Accept: application/vnd.nishi.v2+json) OR a URL path (/api/v3/..) via the "v<digits>" token, then
negotiates against the DATA-DRIVEN supported set: highest supported <= requested (latest if unspecified, lowest if
below all). Adding a version = a row in the supported set, zero rebuild = the sovereign exceed. license_tier: ORIGINAL
dependencies 1 imports · 1 importers
imports: nx_syscalls.nx
imported by: nx_apistack_version_gate.nx
structs
| none |
consts
| none |
functions
| 8 | func ver_scan(s: *u8, n: i64) -> i64 called by 1: main |
| 25 | func ver_negotiate(requested: i64, supported: *i64, n: i64) -> i64 called by 1: main |