code wiki / (root) / nx_compare_capture_scope_lib.nx

nx_compare_capture_scope_lib.nx

buildroot/runtime/nx_compare_capture_scope_lib.nx

4415 B99 linesdepth 6pulls 7 transitivereach 3 importersview sourcekind librarytopic compare
docsdependenciesstructsconstsfunctions

about

Compare capture authorization; selected scope binds one reviewed artifact and render call.

dependencies 2 imports · 3 importers

nx_tabrec.nx nx_rank_refresh_lib.nx nx_compare_capture_scope_lib.n nx_compare_capture_scope_gate.nx nx_compare_ladder_capture_test_202 nx_compare_preview_capture_t56.nx

imports: nx_tabrec.nxnx_rank_refresh_lib.nx

imported by: nx_compare_capture_scope_gate.nxnx_compare_ladder_capture_test_20260907.nxnx_compare_preview_capture_t56.nx

structs

none

consts

4const CCS_PATH_CAP: i64 = 512
5const CCS_HEX_BYTES: i64 = 64
6const CCS_I64_MAX: i64 = 9223372036854775807
7const CCS_FIELD_COUNT: i64 = 5
8const CCS_LF: i64 = 10
9const CCS_CR: i64 = 13
10const CCS_HASH_COL: i64 = 4
11const CCS_REFUSED: i64 = 0

functions

12func ccs_len(p: *u8) -> i64 { var n: i64=0; while p[n]!=(0 as u8) { n=n+1 }; return n }
called by 1: ccs_target
13func ccs_identifier(p: *u8,maximum: i64) -> i64
25func ccs_target(p: *u8) -> i64
called by 3: mainmainmain calls 2: ccs_identifierccs_len
33func ccs_read(path: *u8,outlen: *i64) -> *u8
called by 1: ccs_authorize
57func ccs_scope_digest(buf: *u8,n: i64,scope: *u8,target: *u8,domain: *u8,mode: *u8,digest: *u8) -> i64
91func ccs_authorize(scope: *u8,target: *u8,domain: *u8,mode: *u8,executable: *u8,digest: *u8) -> i64