#ifndef fooproxyhfoo #define fooproxyhfoo struct server_proxy { struct sockaddr_in46 client; char clientstr[ADDRSTRLEN]; struct uring_task_buf clientbuf; struct uring_task clienttask; int cfd; struct sockaddr_in46 server; char serverstr[ADDRSTRLEN]; struct uring_task_buf serverbuf; struct uring_task servertask; int sfd; unsigned next_remote; struct server *scfg; struct list_head list; }; void proxy_refdump(struct server_proxy *proxy); struct server_proxy *proxy_new(struct cfg *cfg, struct server *scfg, struct sockaddr_in46 *client, int fd); #endif