code wiki / (root) / nx_mgmt_private_response_candidate_t189.nx

nx_mgmt_private_response_candidate_t189.nx

buildroot/runtime/nx_mgmt_private_response_candidate_t189.nx

7595 B137 linesdepth 6pulls 6 transitivereach 3 importersview sourcekind librarytopic mgmt
docsdependenciesstructsconstsfunctions

about

Private response handoff used by nx_mgmt_call; never emits upstream body bytes. Trusted parent directory; exclusive pending name serializes cooperating callers. Does not claim hostile-directory race resistance or crash-orphan recovery.

dependencies 1 imports · 3 importers

nx_fio.nx nx_mgmt_private_response_candi nx_mgmt_call_candidate_t189.nx nx_mgmt_private_connected_gate_t18 nx_mgmt_private_response_gate_t189

imports: nx_fio.nx

imported by: nx_mgmt_call_candidate_t189.nxnx_mgmt_private_connected_gate_t189.nxnx_mgmt_private_response_gate_t189.nx

structs

7struct NxMgmtPrivateResponse

consts

5const MPR_NOENT:i64=0-2
6const MPR_BAD_RESPONSE:i64=0-74

functions

13func mpr_len(s:*u8)->i64{var n:i64=0;while s[n]!=(0 as u8){n=n+1};return n}
14func mpr_word(s:*u8,o:i64)->i64{return *((s+o) as *i64)}
15func mpr_init(r:*NxMgmtPrivateResponse)->i64
22func mpr_absent(path:*u8)->i64
27func mpr_begin(path:*u8,r:*NxMgmtPrivateResponse)->i64
54func mpr_cleanup(r:*NxMgmtPrivateResponse)->i64
66func mpr_eq(b:*u8,n:i64,s:*u8)->i64
called by 2: mainmpr_body calls 1: mpr_len
70func mpr_decimal(b:*u8,n:i64)->i64
called by 1: mpr_body
76func mpr_body(b:*u8,n:i64,capacity:i64,r:*NxMgmtPrivateResponse)->i64
called by 2: mpr_publishmain calls 2: mpr_eqmpr_decimal
101func mpr_publish(b:*u8,n:i64,capacity:i64,r:*NxMgmtPrivateResponse)->i64
114func mpr_put(s:*u8)->i64
called by 3: mainmpr_nummpr_report calls 1: mpr_len
117func mpr_num(v:i64)->i64
called by 1: mpr_report calls 2: mpr_putmpr_digits
121func mpr_digits(v:i64)->i64
called by 2: mpr_nummpr_digits calls 1: mpr_digits
126func mpr_report(r:*NxMgmtPrivateResponse)->i64
called by 1: mc_private_end calls 2: mpr_putmpr_num