nx_printer_query.nx
buildroot/runtime/nx_printer_query.nx
about
nx_printer_query.nx -- LIVE driver: query a real IPP printer and print the honest truth.
Composes R0 codec + R1 health + R2 transport against the operator's Brother at 192.168.8.127:631.
READ-ONLY (Get-Printer-Attributes) -> never-brick. license_tier: ORIGINAL
dependencies 7 imports · 0 importers
imports: nx_syscalls.nxnx_ipp_codec.nxnx_printer_health.nxnx_ipp_transport.nxnx_printer_security.nxnx_printer_waste.nxnx_printer_conform.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| 12 | const K_MAGIC_131072: i64 = 131072 |
functions
| 14 | func p(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 } |
| 15 | func pn(v: i64) -> i64 |
| 25 | func phex16(v: i64) -> i64 calls 1: sys_write |
| 32 | func state_label(s: i64) -> *u8 |
| 38 | func sev_label(s: i64) -> *u8 called by 1: print_reasons |
| 45 | func verdict_label(v: i64) -> *u8 |
| 51 | func psec_label(v: i64) -> *u8 |
| 57 | func yn(flags: i64, bit: i64) -> i64 calls 1: p |
| 61 | func sup_label(v: i64) -> *u8 |
| 67 | func dup_label(v: i64) -> *u8 |
| 75 | func print_attr_str(body: *u8, n: i64, name: *u8) -> i64 |
| 87 | func print_reasons(body: *u8, n: i64, pstate: i64) -> i64 |
| 131 | func main() -> i64 calls 1: p |