summaryrefslogtreecommitdiff
path: root/proxy.h
diff options
context:
space:
mode:
Diffstat (limited to 'proxy.h')
-rw-r--r--proxy.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/proxy.h b/proxy.h
index 0726351..75c078d 100644
--- a/proxy.h
+++ b/proxy.h
@@ -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