#pragma once #include #include #include #include #include "socks5.h" #include "tor_os.h" #include "tor_ctl.h" #include "evt_core.h" #include "algo_skel.h" #define PORT_SIZE 10 struct donar_server_ctx { struct tor_os_str tos; struct tor_ctl tctl; struct evt_core_ctx evts; uint16_t ports[PORT_SIZE]; }; void donar_server(struct donar_server_ctx* ctx, struct algo_skel* algo, char* udp_host, char* udp_port);