aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/platform.rs
Commit message (Collapse)AuthorAgeFilesLines
* windows: defensively check if it is service mode at paexit()dilluti0n2026-07-141-1/+5
| | | | | It is unlikely that there is a `paexit` call in the service path, but there is no harm in checking for it.
* windows: use paexit instead std::process::exitdilluti0n2026-07-131-1/+1
| | | | See error message
* windows: fix nit build failuredilluti0n2026-07-131-1/+1
|
* linux: move firewall rule handling to mod ruledilluti0n2026-07-081-1/+1
|
* Move platform-dependant codes to mod platformdilluti0n2026-07-081-2/+8
|
* Move cleanup/trap_exit/RUNNING to platform modulesdilluti0n2026-03-011-0/+3
| | | | | | | | - Remove global RUNNING, trap_exit, EnsureCleanup, MESSAGE_AT_RUN from main.rs - Move each into platform-specific modules (linux.rs, windows.rs) - Move MESSAGE_AT_RUN to platform.rs - Inline cleanup logic into run() instead of separate cleanup() fn - Remove service_run_1() indirection in windows.rs
* platform: drop pub on internal constdilluti0n2026-01-221-2/+2
|
* Refactor handle_packet to reuse external buffer for packet handlingdilluti0n2025-09-111-0/+2
| | | | This removes unnecessary allocations per packet handling.
* Update copyright notices to notice email instead of github linkdilluti0n2025-09-051-1/+1
|
* Add license document and copyright notice headersdilluti0n2025-09-051-0/+17
|
* minor: move platform-specific codes to seperate filesdilluti0n2025-08-061-0/+11