nx_box_lib.nx
buildroot/runtime/nx_box_lib.nx
about
nx_box_lib.nx -- Nishi Box (F503): matter-scoped LEGAL DMS on the immutable CID plane.
Adds the LEGAL layer ON TOP of the existing /office doc suite (nx_docx/xlsx/pptx storage):
matter-scoping, privilege/work-product tags, PRIVILEGE LOG generation (e-discovery), and
BATES numbering. Versioned by construction (CID plane). DRY: reuses nx_matter_lib helpers
(mt_field/mt_streq/mt_catcopy + reg_*/canon_encode). LIB (no main). license_tier: ORIGINAL
dependencies 1 imports · 3 importers
imports: nx_matter_lib.nx
imported by: nx_box.nxnx_box_gate.nxnx_matter_intake_lib.nx
structs
| none |
consts
| 8 | const K_MAGIC_100000: i64 = 100000 |
| 9 | const K_MAGIC_2048: i64 = 2048 |
| 10 | const K_MAGIC_1048576: i64 = 1048576 |
functions
| 13 | func box_bates(prefix: *u8, seq: i64, out: *u8) -> i64 |
| 28 | func box_doc_put(prefix: *u8, matter: *u8, docid: *u8, title: *u8, cid: *u8, priv: *u8, bates: *u8) -> i64 |
| 54 | func box_matter_scan(prefix: *u8, matter: *u8, priv_out: *i64, batesbuf: *u8) -> i64 |