code wiki / (root) / nx_compare_receipt_inspect_lib_t138.nx

nx_compare_receipt_inspect_lib_t138.nx

buildroot/runtime/nx_compare_receipt_inspect_lib_t138.nx

16963 B372 linesdepth 7pulls 8 transitivereach 1 importersview sourcekind librarytopic compare
docsdependenciesstructsconstsfunctions

about

Private read-only inspection extension of the existing Compare receipt owner. Never appends, truncates, renames, replays or marks an intent completed. The shared sidecar lock may be created; evidence files are only read.

dependencies 2 imports · 1 importers

nx_compare_receipt_lib_t138.nx nx_fio.nx nx_compare_receipt_inspect_lib nx_compare_receipt_inspect_gate_t1

imports: nx_compare_receipt_lib_t138.nxnx_fio.nx

imported by: nx_compare_receipt_inspect_gate_t138.nx

structs

16struct RgiIntent
26struct RgiObservation

consts

6const RGI_E_INPUT: i64 = 0-201
7const RGI_E_INTENT: i64 = 0-202
8const RGI_E_LOCK: i64 = 0-203
9const RGI_E_OBSERVE: i64 = 0-204
10const RGI_E_RELEASE: i64 = 0-205
11const RGI_PREPARED: i64 = 1
12const RGI_PUBLISHED: i64 = 2
13const RGI_COMPLETED: i64 = 3
14const RGI_WRITE_FAILED: i64 = 4
15const RGI_DURABILITY_INCOMPLETE: i64 = 5
40const RGI_STAT_MODE_OFFSET:i64=24
41const RGI_STAT_TYPE_MASK:i64=0xf000
42const RGI_STAT_REGULAR:i64=0x8000

functions

43func rgi_regular(path:*u8)->i64
56func rgi_equal(a: *u8, an: i64, b: *u8, bn: i64) -> i64
62func rgi_literal(a:*u8,n:i64,b:*u8)->i64 {return rgi_equal(a,n,b,rgr_len(b))}
called by 2: ig_statusrgi_parse calls 2: rgi_equalrgr_len
63func rgi_unsigned(a:*u8,n:i64)->i64
74func rgi_decimal_value(a:*u8,n:i64)->i64
called by 1: rgi_parse calls 1: rgi_unsigned
81func rgi_line(body:*u8,n:i64,cursor:*i64,span:*i64)->i64
called by 1: rgi_parse
89func rgi_value(line:*u8,n:i64,label:*u8)->i64
called by 1: rgi_parse calls 2: rgr_lenrgi_equal
95func rgi_parse(body:*u8,n:i64,journal:*u8,path:*u8,out:*RgiIntent)->i64
218func rgi_intent_free(intent:*RgiIntent)->i64
called by 1: rgi_inspect_locked calls 1: rgr_free
224func rgi_stream(path:*u8,row:*u8,rowlen:i64,digest:*u8,obs:*i64)->i64
277func rgi_inspect_locked(journal:*u8,path:*u8,out:*RgiObservation)->i64
321func rgi_inspect(journal:*u8,path:*u8,out:*RgiObservation)->i64
334func rgi_observation_free(out:*RgiObservation)->i64
called by 2: mainrgi_command calls 1: rgr_free
339func rgi_status(out:*RgiObservation,rc:i64)->*u8
354func rgi_command(journal:*u8,path:*u8)->i64