From 31afd2aaaeb76a12e232eab0fb6a550b73948737 Mon Sep 17 00:00:00 2001 From: David Härdeman Date: Mon, 22 Jun 2020 10:50:15 +0200 Subject: Make struct cfg global and make the corresponding changes throughout --- proxy.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'proxy.h') diff --git a/proxy.h b/proxy.h index d0533e0..0726351 100644 --- a/proxy.h +++ b/proxy.h @@ -23,8 +23,9 @@ struct server_proxy { void proxy_refdump(struct server_proxy *proxy); -void proxy_delete(struct cfg *cfg, struct server_proxy *proxy); +void proxy_delete(struct server_proxy *proxy); -struct server_proxy *proxy_new(struct cfg *cfg, struct server *server, struct saddr *client, int fd); +struct server_proxy *proxy_new(struct server *server, struct saddr *client, + int fd); #endif -- cgit v1.2.3