code wiki / _hdl_build / nx_invite_issue_cli.nx
nx_invite_issue_cli.nx
buildroot/runtime/_hdl_build/nx_invite_issue_cli.nx
about
nx_invite_issue_cli.nx -- issue ONE single-use, expiring invite token into a doc-portal invite store and
print the 64-hex SECRET to hand the invitee. The store path = "<daemon-storefile>.invites" (the daemon's
dad_invite_path derives this). Run it against a local file then ship that file to the NAS invite path (first
invite), OR run it on the NAS. Composes inv_issue (nx_invite_token.nx).
nx_invite_issue_cli <invite_store_path> <realm> <level> <ttl_seconds>
license_tier: ORIGINAL
dependencies 1 imports · 0 importers
imports: nx_invite_token.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
| none |
functions
| 9 | func iic_pe(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(2,s,n); return 0 } called by 1: main |
| 10 | func iic_pp(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 } called by 1: main |
| 11 | func iic_strlen(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} return n } called by 1: main |
| 12 | func iic_atoi(s: *u8) -> i64 { var v: i64=0; var i: i64=0; while s[i]!=(0 as u8){ let c: i64=s[i] as i64; if c>=48 { if c<=57 { v=v*10+(c-48) } } i=i+1 } return v } called by 1: main |
| 14 | func main(argc: i64, argv: *i64) -> i64 |