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 fd85d27..08f2508 100644
--- a/include/haproxy/action-t.h
+++ b/include/haproxy/action-t.h
@@ -23,8 +23,12 @@
#define _HAPROXY_ACTION_T_H
#include <haproxy/applet-t.h>
-#include <haproxy/regex-t.h>
#include <haproxy/stick_table-t.h>
+#include <haproxy/vars-t.h>
+
+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 a85d7a0..9ea5847 100644
--- a/include/haproxy/action.h
+++ b/include/haproxy/action.h
@@ -28,6 +28,9 @@
#include <haproxy/list.h>
#include <haproxy/sample.h>
+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);