]> git.kaiwu.me - haproxy.git/commitdiff
Revert "CLEANUP: tcpcheck: Don't needlessly expose proxy_parse_tcpcheck()"
authorWilliam Lallemand <wlallemand@haproxy.com>
Fri, 3 Apr 2026 12:15:11 +0000 (14:15 +0200)
committerWilliam Lallemand <wlallemand@haproxy.com>
Fri, 3 Apr 2026 12:15:11 +0000 (14:15 +0200)
This reverts commit 51e1562a0d4fe7fc5b808ec952ae4f03b4a5d85f.

include/haproxy/tcpcheck.h

index 0728847c91d3153dc409418ae43f43494531ff15..de40b1e31aa7feb667f4c61579eac4aef2b76a9d 100644 (file)
@@ -83,6 +83,10 @@ struct tcpcheck_rule *parse_tcpcheck_expect(char **args, int cur_arg, struct pro
                                             struct list *rules, unsigned int proto,
                                             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,
                              const char *file, int line);
 int proxy_parse_redis_check_opt(char **args, int cur_arg, struct proxy *curpx, const struct proxy *defpx,