diff options
Diffstat (limited to 'proxy.h')
-rw-r--r-- | proxy.h | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -28,4 +28,21 @@ void proxy_delete(struct server_proxy *proxy); struct server_proxy *proxy_new(struct server *server, struct saddr *client, int fd); +struct server_local { + struct saddr local; + struct saddr client; + struct uring_task task; + + struct server *server; + struct list_head list; +}; + +bool local_open(struct server_local *local); + +void local_refdump(struct server_local *local); + +void local_delete(struct server_local *local); + +struct server_local *local_new(struct server *server, struct saddr *saddr); + #endif |