code wiki / _hdl_build / nx_connect_events.nx

nx_connect_events.nx

buildroot/runtime/_hdl_build/nx_connect_events.nx

8803 B169 linesdepth 2pulls 3 transitivereach 0 importersview sourcekind tooltopic connect
docsdependenciesstructsconstsfunctions

about

nx_connect_events.nx -- CONNECT real-world MEETUP EVENTS + RSVP (the direct Meetup axis; the LDS census MU cell). Group-scoped events with capacity, IDEMPOTENT RSVP (rule 10), cancel-frees-seat, and the YOUTH-SAFETY wall extended to real-world gatherings: a MINOR may RSVP only to a YOUTH event and only while the confirmed roster carries >=2 adults (the Church two-deep norm as an admission invariant, mirroring nx_connect_lds_room). Age is the VERIFIED band (nx_connect_idage spine), and an UNKNOWN band is treated as MINOR (fail-closed). Zero fees BY CONSTRUCTION: organizer + RSVP prices live in a data table checked to be 0 for connection features -- the NEG-CONTROL is the documented Meetup model (organizer $23.99/month + $2 RSVP fee, banked: knowledge/library/conncomp_meetup_wiki.txt) which the same checker FLAGS. A no-wall incumbent admission model (Discord/Meetup-style: any adult, any minor, no structural wall) is the safety NEG-CONTROL: it admits exactly the lone-adult+minor contact ours refuses. 100% sovereign. license_tier: ORIGINAL expect_exit: 0

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_connect_events_lib.nx nx_connect_events.nx

imports: nx_syscalls.nxnx_connect_events_lib.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main sys_mmap sw sys_write ev_rsvp cxp ev_is_member cxp ↻ ev_has_active cxp ↻ ev_is_minor cxp ↻ ev_count_adults cxp ↻ ev_is_minor ↻ ev_count_active cxp ↻ ev_count_active ↻ tcheck sw ↻ ev_cancel cxp ↻ ev_count_adults ↻ ev_count_minors cxp ↻ ev_is_minor ↻ ev_roster_safe ev_count_minors ↻ ev_count_adults ↻ count_paid_connection sn sys_mmap ↻ sys_write ↻ ev_rsvp_nowall cxp ↻ ev_is_member ↻ ev_has_active ↻ ev_count_active ↻ sys_exit

structs

none

consts

15const K_MAGIC_2399: i64 = 2399

functions

17func sw(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 2: tcheckmain calls 1: sys_write
18func sn(v: i64) -> i64 { let bb: *u8=sys_mmap(28); var m: i64=v; if m<0{m=0-m;sys_write(1,"-" as *u8,1)} let t: *u8=sys_mmap(28); var k: i64=0; if m==0{t[0]=48 as u8;k=1} while m>0{t[k]=(48+(m%10)) as u8;m=m/10;k=k+1} var i: i64=0; while i<k{bb[i]=t[k-1-i];i=i+1} sys_write(1,bb,k); return 0 }
called by 1: main calls 2: sys_mmapsys_write
19func tcheck(pass: i64, label: *u8, fails: *i64) -> i64
called by 1: main calls 1: sw
24func count_paid_connection(prices: *i64, isconn: *i64, n: i64) -> i64
called by 1: main
30func main() -> i64