code wiki / (root) / nx_mcp_pending_http_t174.nx

nx_mcp_pending_http_t174.nx

buildroot/runtime/nx_mcp_pending_http_t174.nx

19566 B393 linesdepth 7pulls 17 transitivereach 4 importersview sourcekind librarytopic mcp
docsdependenciesstructsconstsfunctions

about

MCP-specific identity ownership over the generic process pool.

dependencies 5 imports · 4 importers

nx_mcp_control.nx nx_request_pool.nx nx_http_response_parse.nx nx_mcp_route.nx nx_sha256.nx nx_mcp_pending_http_t174.nx nx_mcp_http_gate_t174.nx nx_mcp_https_gate_t175.nx nx_mcp_stdio_gate_t174.nx nx_mcp_stdio_http_t174.nx

imports: nx_mcp_control.nxnx_request_pool.nxnx_http_response_parse.nxnx_mcp_route.nxnx_sha256.nx

imported by: nx_mcp_http_gate_t174.nxnx_mcp_https_gate_t175.nxnx_mcp_stdio_gate_t174.nxnx_mcp_stdio_http_t174.nx

structs

5struct NxMcpPending

consts

17const MP_SPAWN_DUP: i64 = 0 - 2
21const MP_CODE_DEADLINE: i64 = 0 - 32012
22const MP_CODE_WORKER: i64 = 0 - 32603
23const MP_SIG_ALARM: i64 = 14

functions

26func mp_admit(p: *NxRequestPool, body: *u8, control: *NxMcpControl, output: i64) -> i64
called by 1: main calls 2: rp_writemr_len
39func mp_at(rows: *u8, slot: i64) -> *NxMcpPending
42func mp_clear(row: *NxMcpPending) -> i64
47func mp_sweep(p: *NxRequestPool, rows: *u8) -> i64
56func mp_normalize(kind: i64, src: *u8, n: i64, dst: *u8) -> i64
called by 2: mp_spawnmp_cancel
65func mp_find(p: *NxRequestPool, rows: *u8, kind: i64, data: *u8, n: i64) -> i64
called by 2: mp_spawnmp_cancel calls 2: mp_sweepmp_at
80func mp_spawn(p: *NxRequestPool, rows: *u8, body: *u8, control: *NxMcpControl) -> i64
106func mp_cancel(p: *NxRequestPool, rows: *u8, body: *u8, control: *NxMcpControl) -> i64
126func mo_prefix_id(src: *u8, n: i64, kind: *i64, off: *i64, len: *i64) -> i64
called by 2: mainmain calls 1: nx_ascii_is_digit
194func mpe_slen(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n }
195func mpe_cat(d: *u8, o: i64, s: *u8) -> i64 { var i: i64 = 0; var p: i64 = o; while s[i] != (0 as u8) { d[p] = s[i]; p = p + 1; i = i + 1 } return p }
196func mpe_catb(d: *u8, o: i64, s: *u8, n: i64) -> i64 { var i: i64 = 0; while i < n { d[o+i] = s[i]; i = i + 1 } return o + i }
197func mpe_catn(d: *u8, o: i64, v: i64) -> i64
213func mpe_cat_esc(d: *u8, o: i64, s: *u8, n: i64) -> i64
240func mpe_write_error_detail(fd: i64, id_kind: i64, id_ptr: *u8, id_len: i64, escape: i64, code: i64, stage: *u8, cause: *u8, measured: i64, next: *u8, detail:*u8, detail_n:i64) -> i64
279func mp_recover_pump(p: *NxRequestPool, rows: *u8, accept_input: i64, protocol_fd: i64, timeout_secs: i64) -> i64
318func mpe_http_header(src:*u8,n:i64,p:*i64,key:*u8,offset:*i64,length:*i64)->i64
331func mpe_http_field(d:*u8,o0:i64,src:*u8,n:i64,p:*i64,name:*u8,label:*u8)->i64
341func mpe_http_evidence(src:*u8,n:i64,p:*i64,out_len:*i64)->*u8
391func mpe_write_error(fd:i64,id_kind:i64,id_ptr:*u8,id_len:i64,escape:i64,code:i64,stage:*u8,cause:*u8,measured:i64,next:*u8)->i64