mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-06 15:17:01 +02:00
MINOR: tcpcheck: export proxy_parse_tcpcheck()
Export proxy_parse_tcpcheck() in tcpcheck.h
This commit is contained in:
parent
5b1609f9da
commit
1582ccf9d3
@ -83,6 +83,10 @@ struct tcpcheck_rule *parse_tcpcheck_expect(char **args, int cur_arg, struct pro
|
|||||||
struct list *rules, unsigned int proto,
|
struct list *rules, unsigned int proto,
|
||||||
const char *file, int line, char **errmsg);
|
const char *file, int line, char **errmsg);
|
||||||
|
|
||||||
|
int proxy_parse_tcpcheck(char **args, int section, struct proxy *curpx,
|
||||||
|
const struct proxy *defpx, const char *file, int line,
|
||||||
|
char **errmsg);
|
||||||
|
|
||||||
int proxy_parse_tcp_check_opt(char **args, int cur_arg, struct proxy *curpx, const struct proxy *defpx,
|
int proxy_parse_tcp_check_opt(char **args, int cur_arg, struct proxy *curpx, const struct proxy *defpx,
|
||||||
const char *file, int line);
|
const char *file, int line);
|
||||||
int proxy_parse_redis_check_opt(char **args, int cur_arg, struct proxy *curpx, const struct proxy *defpx,
|
int proxy_parse_redis_check_opt(char **args, int cur_arg, struct proxy *curpx, const struct proxy *defpx,
|
||||||
|
@ -3877,9 +3877,9 @@ int add_tcpcheck_send_strs(struct tcpcheck_rules *rules, const char * const *str
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Parses the "tcp-check" proxy keyword */
|
/* Parses the "tcp-check" proxy keyword */
|
||||||
static int proxy_parse_tcpcheck(char **args, int section, struct proxy *curpx,
|
int proxy_parse_tcpcheck(char **args, int section, struct proxy *curpx,
|
||||||
const struct proxy *defpx, const char *file, int line,
|
const struct proxy *defpx, const char *file, int line,
|
||||||
char **errmsg)
|
char **errmsg)
|
||||||
{
|
{
|
||||||
struct tcpcheck_ruleset *rs = NULL;
|
struct tcpcheck_ruleset *rs = NULL;
|
||||||
struct tcpcheck_rule *chk = NULL;
|
struct tcpcheck_rule *chk = NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user