code wiki / _hdl_build / nx_email_webmail_daemon.nx
nx_email_webmail_daemon.nx
buildroot/runtime/_hdl_build/nx_email_webmail_daemon.nx
about
nx_email_webmail_daemon.nx -- runnable webmail server: bind 127.0.0.1:8025
and serve the mailbox UI in an accept loop. Browse http://127.0.0.1:8025/
(loopback only -- user opts in to any public bind separately).
license_tier: ORIGINAL
dependencies 2 imports · 0 importers
imports: nx_email_webmail.nxnx_syscalls.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
| 7 | const WD_MAGIC_100000: i64 = 100000 |
| 9 | const WD_PORT: i64 = 0x1F59 // 8025 |
| 10 | const WD_PREFIX: *u8 = "knowledge/status/jmail/" |
| 11 | const WD_BOX: *u8 = "self@jasonewest.com" |
functions
| 13 | func wd_addr(out: *u8, port: i64) -> i64 called by 1: main |
| 21 | func wd_puts(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 } |
| 23 | func main() -> i64 |