// Jackson Coxson #include #include #include #include #include /** * Starts your emotional damage * # Arguments * * `bind_addr` - The UDP socket to listen to * # Returns * A handle to stop further emotional damage. * Null on failure * # Safety * Don't be stupid */ int start_emotional_damage(const char *bind_addr); /** * Stops further emotional damage * # Arguments * * `handle` - The coping mechanism generated by start_emotional_damage * # Returns * The knowledge of knowing that you couldn't handle failure * # Safety * Don't be stupid */ void stop_emotional_damage(void); /** * Blocks until Wireguard is ready * # Arguments * * `timeout` - The timeout in miliseconds to wait for Wireguard * # Returns * 0 on success, -1 on failure */ int test_emotional_damage(int timeout);