From: Willy Tarreau Date: Wed, 6 Oct 2021 07:09:01 +0000 (+0200) Subject: BUILD: action: add the relevant structures for function arguments X-Git-Tag: v2.5-dev9~107 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b70596df0a4e4f614d16e29e990974f51ba63e77;p=thirdparty%2Fhaproxy.git BUILD: action: add the relevant structures for function arguments Some structures are inherited via intermediary includes (e.g. dns_counters comes from a long path). Let's define the missing ones and includes vars-t that is needed in the structure. --- diff --git a/include/haproxy/action-t.h b/include/haproxy/action-t.h index fd85d27070..08f250897c 100644 --- a/include/haproxy/action-t.h +++ b/include/haproxy/action-t.h @@ -23,8 +23,12 @@ #define _HAPROXY_ACTION_T_H #include -#include #include +#include + +struct session; +struct stream; +struct proxy; enum act_from { ACT_F_TCP_REQ_CON, /* tcp-request connection */ diff --git a/include/haproxy/action.h b/include/haproxy/action.h index a85d7a0c19..9ea5847c9f 100644 --- a/include/haproxy/action.h +++ b/include/haproxy/action.h @@ -28,6 +28,9 @@ #include #include +struct resolv_requester; +struct dns_counters; + int act_resolution_cb(struct resolv_requester *requester, struct dns_counters *counters); int act_resolution_error_cb(struct resolv_requester *requester, int error_code); const char *action_suggest(const char *word, const struct list *keywords, const char **extra);