mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-22 22:31:28 +02:00
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.
This commit is contained in:
parent
2476ff102f
commit
b70596df0a
@ -23,8 +23,12 @@
|
|||||||
#define _HAPROXY_ACTION_T_H
|
#define _HAPROXY_ACTION_T_H
|
||||||
|
|
||||||
#include <haproxy/applet-t.h>
|
#include <haproxy/applet-t.h>
|
||||||
#include <haproxy/regex-t.h>
|
|
||||||
#include <haproxy/stick_table-t.h>
|
#include <haproxy/stick_table-t.h>
|
||||||
|
#include <haproxy/vars-t.h>
|
||||||
|
|
||||||
|
struct session;
|
||||||
|
struct stream;
|
||||||
|
struct proxy;
|
||||||
|
|
||||||
enum act_from {
|
enum act_from {
|
||||||
ACT_F_TCP_REQ_CON, /* tcp-request connection */
|
ACT_F_TCP_REQ_CON, /* tcp-request connection */
|
||||||
|
@ -28,6 +28,9 @@
|
|||||||
#include <haproxy/list.h>
|
#include <haproxy/list.h>
|
||||||
#include <haproxy/sample.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_cb(struct resolv_requester *requester, struct dns_counters *counters);
|
||||||
int act_resolution_error_cb(struct resolv_requester *requester, int error_code);
|
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);
|
const char *action_suggest(const char *word, const struct list *keywords, const char **extra);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user