BUILD: resolvers: define missing types in resolvers.h

proxy, server, stream_interface and list were used but not defined. Let's
define them as well as act_rule and drop action-t.h.
This commit is contained in:
Willy Tarreau 2021-10-06 09:18:37 +02:00
parent 59be17a29a
commit d2d968a9bf

View File

@ -22,9 +22,14 @@
#ifndef _HAPROXY_RESOLVERS_H #ifndef _HAPROXY_RESOLVERS_H
#define _HAPROXY_RESOLVERS_H #define _HAPROXY_RESOLVERS_H
#include <haproxy/action-t.h>
#include <haproxy/resolvers-t.h> #include <haproxy/resolvers-t.h>
struct proxy;
struct server;
struct stream_interface;
struct act_rule;
struct list;
extern struct list sec_resolvers; extern struct list sec_resolvers;
extern unsigned int resolv_failed_resolutions; extern unsigned int resolv_failed_resolutions;