diff options
author | David Härdeman <david@hardeman.nu> | 2020-06-22 10:50:15 +0200 |
---|---|---|
committer | David Härdeman <david@hardeman.nu> | 2020-06-22 10:50:15 +0200 |
commit | 31afd2aaaeb76a12e232eab0fb6a550b73948737 (patch) | |
tree | 7125a54d09904eef6c558a682cff0a7976529fad /proxy.h | |
parent | 41dc97f5d0dbcfe4399656c9aabb597f6366ca23 (diff) |
Make struct cfg global and make the corresponding changes throughout
Diffstat (limited to 'proxy.h')
-rw-r--r-- | proxy.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 |