]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUILD: action: add the relevant structures for function arguments
authorWilly Tarreau <w@1wt.eu>
Wed, 6 Oct 2021 07:09:01 +0000 (09:09 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 6 Oct 2021 23:36:51 +0000 (01:36 +0200)
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.

include/haproxy/action-t.h
include/haproxy/action.h

index fd85d27070328040e8d47afcfe517e428cd8f086..08f250897c898af2f1c9543463e41d872ae475d1 100644 (file)
 #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 */
index a85d7a0c19e7c1703f230f5687b5a011f2177ba8..9ea5847c9f31a4ffb4c51f67479f418e5054dd5b 100644 (file)
@@ -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);