]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
REORG: include: move channel.h to haproxy/channel{,-t}.h
authorWilly Tarreau <w@1wt.eu>
Thu, 4 Jun 2020 19:07:02 +0000 (21:07 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 11 Jun 2020 08:18:58 +0000 (10:18 +0200)
The files were moved with no change. The callers were cleaned up a bit
and a few of them had channel.h removed since not needed.

37 files changed:
contrib/debug/flags.c
include/haproxy/channel-t.h [moved from include/types/channel.h with 99% similarity]
include/haproxy/channel.h [moved from include/proto/channel.h with 99% similarity]
include/haproxy/cli.h
include/haproxy/http_fetch.h
include/haproxy/stream_interface.h
include/proto/filters.h
include/proto/http_ana.h
include/types/http_ana.h
include/types/stream.h
src/acl.c
src/activity.c
src/applet.c
src/backend.c
src/cache.c
src/cfgparse.c
src/channel.c
src/cli.c
src/dns.c
src/flt_trace.c
src/frontend.c
src/h1.c
src/haproxy.c
src/hlua.c
src/http_ana.c
src/http_fetch.c
src/payload.c
src/peers.c
src/pool.c
src/proto_tcp.c
src/ssl_ckch.c
src/ssl_crtlist.c
src/ssl_sock.c
src/stats.c
src/stream.c
src/stream_interface.c
src/tcp_rules.c

index 0458639894258348086a7f20a69084c1708c5fd8..905cc2f2a0d9b0b7d0851ce205b7260fc326db91 100644 (file)
@@ -1,7 +1,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 
-#include <types/channel.h>
+#include <haproxy/channel-t.h>
 #include <haproxy/connection-t.h>
 #include <types/http_ana.h>
 #include <types/stream.h>
similarity index 99%
rename from include/types/channel.h
rename to include/haproxy/channel-t.h
index d3823f26261fd0e05e291ff49a6194cba1eff184..affa942f074aa0117742a63200e057d7092bcc1a 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * include/types/channel.h
+ * include/haproxy/channel-t.h
  * Channel management definitions, macros and inline functions.
  *
  * Copyright (C) 2000-2014 Willy Tarreau - w@1wt.eu
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
-#ifndef _TYPES_CHANNEL_H
-#define _TYPES_CHANNEL_H
+#ifndef _HAPROXY_CHANNEL_T_H
+#define _HAPROXY_CHANNEL_T_H
 
-#include <haproxy/api-t.h>
 #include <haproxy/buf-t.h>
+#include <haproxy/api-t.h>
 
 /* The CF_* macros designate Channel Flags, which may be ORed in the bit field
  * member 'flags' in struct channel. Here we have several types of flags :
@@ -301,7 +301,7 @@ struct channel {
        long.
  */
 
-#endif /* _TYPES_CHANNEL_H */
+#endif /* _HAPROXY_CHANNEL_T_H */
 
 /*
  * Local variables:
similarity index 99%
rename from include/proto/channel.h
rename to include/haproxy/channel.h
index 3ff81ad9ab9c55be32f07e2f4c51bdbd74d7f9f7..96f076e1fa60f483762291a6a04823b6417e80ea 100644 (file)
@@ -1,8 +1,8 @@
 /*
- * include/proto/channel.h
+ * include/haproxy/channel.h
  * Channel management definitions, macros and inline functions.
  *
- * Copyright (C) 2000-2014 Willy Tarreau - w@1wt.eu
+ * Copyright (C) 2000-2020 Willy Tarreau - w@1wt.eu
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
-#ifndef _PROTO_CHANNEL_H
-#define _PROTO_CHANNEL_H
-
-#include <inttypes.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
+#ifndef _HAPROXY_CHANNEL_H
+#define _HAPROXY_CHANNEL_H
 
 #include <haproxy/api.h>
-#include <haproxy/chunk.h>
+#include <haproxy/channel-t.h>
 #include <haproxy/dynbuf.h>
 #include <haproxy/global.h>
 #include <haproxy/htx.h>
 #include <haproxy/stream_interface-t.h>
+#include <haproxy/task.h>
 #include <haproxy/ticks.h>
 #include <haproxy/time.h>
 
-#include <types/channel.h>
-#include <types/stream.h>
-
 #include <proto/stream.h>
-#include <haproxy/task.h>
+#include <types/stream.h>
 
 /* perform minimal intializations, report 0 in case of error, 1 if OK. */
 int init_channel();
@@ -1020,7 +1013,7 @@ static inline int co_getchr(struct channel *chn)
 }
 
 
-#endif /* _PROTO_CHANNEL_H */
+#endif /* _HAPROXY_CHANNEL_H */
 
 /*
  * Local variables:
index 36bcb2b9182810ca156dd9177e67e73fa347776c..6257c247f5563da310129ecf4fa96410a8ee70bf 100644 (file)
@@ -24,9 +24,9 @@
 #define _HAPROXY_CLI_H
 
 #include <haproxy/applet-t.h>
+#include <haproxy/channel-t.h>
 #include <haproxy/cli-t.h>
 #include <haproxy/global.h>
-#include <types/channel.h>
 #include <types/stream.h>
 
 
index 549d77329ef6e244ef0cb7930992663352f0fc85..c409b1633c8b01a444156f5bb028af5c0990947b 100644 (file)
@@ -24,9 +24,9 @@
 
 #include <haproxy/arg-t.h>
 #include <haproxy/api.h>
+#include <haproxy/channel-t.h>
 #include <haproxy/check-t.h>
 #include <haproxy/sample-t.h>
-#include <types/channel.h>
 
 struct htx *smp_prefetch_htx(struct sample *smp, struct channel *chn, struct check *check, int vol);
 int val_hdr(struct arg *arg, char **err_msg);
index 7322dd187aa3bfea78c3c50756d05fea9a8a6bae..653ae39e90e93a283ed814a0033dbcd112388431 100644 (file)
@@ -24,9 +24,9 @@
 
 #include <haproxy/applet.h>
 #include <haproxy/api.h>
+#include <haproxy/channel.h>
 #include <haproxy/connection.h>
 #include <haproxy/stream_interface-t.h>
-#include <proto/channel.h>
 #include <types/stream.h>
 
 
index 2ece1894dd31b36486d3cb0588e54a48159eec23..9e8cc74f886032901d7cef8d12563d56a3b005be 100644 (file)
 #ifndef _PROTO_FILTERS_H
 #define _PROTO_FILTERS_H
 
-#include <types/channel.h>
+#include <haproxy/channel.h>
 #include <types/filters.h>
 #include <types/http_ana.h>
 #include <types/proxy.h>
 #include <types/stream.h>
 
-#include <proto/channel.h>
-
 extern const char *trace_flt_id;
 extern const char *http_comp_flt_id;
 extern const char *cache_store_flt_id;
index 00a38121b6305076a6e8fa40f9f1f994f65a72c2..8648865ddeddcec0bf2e6c1920cd1d1757d65355 100644 (file)
@@ -23,8 +23,8 @@
 #define _PROTO_PROTO_HTTP_H
 
 #include <haproxy/api.h>
+#include <haproxy/channel-t.h>
 #include <haproxy/htx.h>
-#include <types/channel.h>
 #include <types/http_ana.h>
 #include <types/stream.h>
 
index 4dd8e3336030e8862167dee5eaf6ef18b163db82..6ebe772bfe2d901ddb2cf57acffafb40b44b3d2e 100644 (file)
 #ifndef _TYPES_PROTO_HTTP_H
 #define _TYPES_PROTO_HTTP_H
 
+#include <haproxy/channel-t.h>
 #include <haproxy/api-t.h>
 #include <haproxy/http-t.h>
-
-#include <types/channel.h>
 #include <haproxy/http_htx-t.h>
 
 /* These are the flags that are found in txn->flags */
index a67d1926e72ba06e5a420c939c349030595f0d1a..2a5fb77f4e88f0474da808c04c600f4422547563 100644 (file)
@@ -29,6 +29,7 @@
 #include <arpa/inet.h>
 
 #include <haproxy/api-t.h>
+#include <haproxy/channel-t.h>
 #include <haproxy/dynbuf-t.h>
 #include <haproxy/hlua-t.h>
 #include <haproxy/list-t.h>
@@ -37,7 +38,6 @@
 #include <haproxy/stream_interface-t.h>
 #include <haproxy/vars-t.h>
 
-#include <types/channel.h>
 #include <types/filters.h>
 #include <types/http_ana.h>
 #include <types/proxy.h>
index 259b79a7b96f0696b629a87828f9be4de9e8245a..275087de7ed5a880a525fee9033249fa55726fbe 100644 (file)
--- a/src/acl.c
+++ b/src/acl.c
@@ -24,7 +24,6 @@
 #include <haproxy/global.h>
 
 #include <haproxy/arg.h>
-#include <proto/channel.h>
 #include <proto/log.h>
 #include <proto/proxy.h>
 #include <haproxy/sample.h>
index 29977d2a7a1a79d2e1c7905a930b96719e4f80a6..92bce339c6c82487827454817433025680add21e 100644 (file)
 
 #include <haproxy/api.h>
 #include <common/cfgparse.h>
+#include <haproxy/channel.h>
 #include <haproxy/cli.h>
 #include <haproxy/stream_interface.h>
 #include <haproxy/tools.h>
 #include <haproxy/thread-t.h>
 #include <haproxy/activity-t.h>
-#include <proto/channel.h>
 #include <haproxy/freq_ctr.h>
 
 
index 36607aa88c27c7eb2574d59883566fe29417c1ca..e27e2a6e29bdb61f62d4e7db9d3c1bde21067cc0 100644 (file)
 
 #include <haproxy/applet.h>
 #include <haproxy/api.h>
+#include <haproxy/channel.h>
 #include <haproxy/list.h>
 #include <haproxy/stream_interface.h>
 #include <haproxy/task.h>
-#include <proto/channel.h>
 #include <proto/stream.h>
 
 unsigned int nb_applets = 0;
index f06cf64f2b8b91c5a39c53975bd09c3ff1f32165..d4805d74105dc459f202928a7e7f677f4054d328 100644 (file)
@@ -21,6 +21,7 @@
 
 #include <haproxy/acl.h>
 #include <haproxy/api.h>
+#include <haproxy/channel.h>
 #include <haproxy/check.h>
 #include <haproxy/frontend.h>
 #include <haproxy/hash.h>
@@ -46,7 +47,6 @@
 
 #include <haproxy/arg.h>
 #include <proto/backend.h>
-#include <proto/channel.h>
 #include <proto/log.h>
 #include <haproxy/protocol.h>
 #include <proto/http_ana.h>
index 8a97f4ef3f18de6fe9334e232729f61cf687cffd..80bc545d4db1b22b737b788a292183f2134c345a 100644 (file)
@@ -12,6 +12,7 @@
 
 #include <haproxy/action-t.h>
 #include <haproxy/api.h>
+#include <haproxy/channel.h>
 #include <haproxy/cli.h>
 #include <haproxy/http_htx.h>
 #include <haproxy/http_rules.h>
@@ -23,7 +24,6 @@
 #include <types/filters.h>
 #include <types/proxy.h>
 
-#include <proto/channel.h>
 #include <proto/proxy.h>
 #include <proto/filters.h>
 #include <proto/http_ana.h>
index 429954ca18091b460ba4f35964c039f8102400fb..15f768eecf0c1e43475eb9a9108e30e130fb37fe 100644 (file)
@@ -39,6 +39,7 @@
 #include <haproxy/api.h>
 #include <haproxy/capture.h>
 #include <common/cfgparse.h>
+#include <haproxy/channel.h>
 #include <haproxy/check.h>
 #include <haproxy/chunk.h>
 #include <haproxy/connection.h>
@@ -69,7 +70,6 @@
 #include <haproxy/global.h>
 
 #include <proto/backend.h>
-#include <proto/channel.h>
 #include <proto/filters.h>
 #include <proto/log.h>
 #include <haproxy/protocol.h>
index ae5c981c7246009c79c6874e864c8e05b7737a47..a3b7b9e3ea56e06e527510d6a82e31a0beae716f 100644 (file)
@@ -17,8 +17,7 @@
 
 #include <haproxy/api.h>
 #include <haproxy/buf.h>
-
-#include <proto/channel.h>
+#include <haproxy/channel.h>
 
 
 /* Schedule up to <bytes> more bytes to be forwarded via the channel without
index d72fb5b876bf99a318c206ffde0858f09291504b..9e6b56ac35b807f020016225e83aafe486e3c2fd 100644 (file)
--- a/src/cli.c
+++ b/src/cli.c
@@ -29,6 +29,7 @@
 #include <haproxy/applet-t.h>
 #include <haproxy/api.h>
 #include <common/cfgparse.h>
+#include <haproxy/channel.h>
 #include <haproxy/check.h>
 #include <haproxy/cli.h>
 #include <haproxy/dns-t.h>
@@ -53,7 +54,6 @@
 
 #include <haproxy/activity.h>
 #include <proto/backend.h>
-#include <proto/channel.h>
 #include <haproxy/compression.h>
 #include <haproxy/fd.h>
 #include <haproxy/freq_ctr.h>
index 799c7eb99718b662fe861a2df88087f39fe1bc63..54c078009f0201d869de572621720c89b40ce4b1 100644 (file)
--- a/src/dns.c
+++ b/src/dns.c
@@ -23,6 +23,7 @@
 #include <haproxy/api.h>
 #include <common/cfgparse.h>
 #include <haproxy/check.h>
+#include <haproxy/channel.h>
 #include <haproxy/cli.h>
 #include <haproxy/dns.h>
 #include <haproxy/errors.h>
@@ -39,7 +40,6 @@
 
 #include <haproxy/global.h>
 
-#include <proto/channel.h>
 #include <haproxy/fd.h>
 #include <proto/http_ana.h>
 #include <proto/log.h>
index 1c200cefcae766cb83bc464e1f75613019764baa..aaf63d37f92248a72b0abf417848fee569ce9bf3 100644 (file)
 #include <ctype.h>
 
 #include <haproxy/api.h>
+#include <haproxy/channel-t.h>
 #include <haproxy/http_htx.h>
 #include <haproxy/htx.h>
 #include <haproxy/tools.h>
 #include <haproxy/time.h>
 
-#include <types/channel.h>
 #include <types/filters.h>
 #include <haproxy/global.h>
 #include <types/proxy.h>
index 5f3d6cf1186b839392643ecb224d3a08477420ba..63ab35699a768eecb2128df86e2497ef90efe6a9 100644 (file)
@@ -35,7 +35,6 @@
 #include <haproxy/global.h>
 
 #include <haproxy/arg.h>
-#include <proto/channel.h>
 #include <haproxy/fd.h>
 #include <proto/log.h>
 #include <haproxy/proto_tcp.h>
index 9ac575b7d699db5c8c53654029bf3cfd8bc9b86f..80f8192b25f3ee618bf695cf2b1d8b50e716cb14 100644 (file)
--- a/src/h1.c
+++ b/src/h1.c
@@ -15,8 +15,6 @@
 #include <haproxy/h1.h>
 #include <haproxy/http-hdr.h>
 
-#include <proto/channel.h>
-
 /* Parse the Content-Length header field of an HTTP/1 request. The function
  * checks all possible occurrences of a comma-delimited value, and verifies
  * if any of them doesn't match a previous value. It returns <0 if a value
index e3b140b892912aba2d2c96aedca055e418705353..44e4ff32b0ce4b39533e57f63f97f352afdb2394 100644 (file)
 #include <haproxy/activity.h>
 #include <haproxy/arg.h>
 #include <proto/backend.h>
-#include <proto/channel.h>
 #include <haproxy/fd.h>
 #include <proto/filters.h>
 #include <proto/log.h>
index 804f9fa92c56d823b0256e010c232dfc54958dba..fbca16f64e87823f922ca27c5af3549687813e30 100644 (file)
@@ -26,6 +26,7 @@
 #include <import/ebpttree.h>
 
 #include <common/cfgparse.h>
+#include <haproxy/channel.h>
 #include <haproxy/cli.h>
 #include <haproxy/connection.h>
 #include <haproxy/http_htx.h>
@@ -53,7 +54,6 @@
 #include <types/proxy.h>
 
 #include <haproxy/arg.h>
-#include <proto/channel.h>
 #include <proto/queue.h>
 #include <proto/http_ana.h>
 #include <proto/server.h>
index 4675a2d0de36ffa48075d94b83c456192e442122..ee43a69e7b790c54c928a36322290e66803ed638 100644 (file)
@@ -14,6 +14,7 @@
 #include <haproxy/action-t.h>
 #include <haproxy/api.h>
 #include <haproxy/base64.h>
+#include <haproxy/channel.h>
 #include <haproxy/check.h>
 #include <haproxy/connection.h>
 #include <haproxy/http.h>
@@ -28,7 +29,6 @@
 
 #include <haproxy/capture-t.h>
 
-#include <proto/channel.h>
 #include <proto/filters.h>
 #include <proto/log.h>
 #include <proto/http_ana.h>
index f617aa9def758c7f9b195bc90ae20054ceb80768..7209fc669c5b1f8a531189bd08d328f73eeb32d9 100644 (file)
@@ -19,6 +19,7 @@
 #include <haproxy/auth.h>
 #include <haproxy/api.h>
 #include <haproxy/base64.h>
+#include <haproxy/channel.h>
 #include <haproxy/chunk.h>
 #include <haproxy/connection.h>
 #include <haproxy/global.h>
@@ -35,7 +36,6 @@
 #include <haproxy/version.h>
 
 #include <haproxy/arg.h>
-#include <proto/channel.h>
 #include <proto/log.h>
 #include <proto/http_ana.h>
 #include <proto/stream.h>
index c4f8b2cf9e26551b0ee15098dd89c076cca6e33b..c84a124f897e1edc0286cb2117a33a16efb5eb9a 100644 (file)
 
 #include <haproxy/acl.h>
 #include <haproxy/api.h>
+#include <haproxy/channel.h>
 #include <haproxy/connection.h>
 #include <haproxy/net_helper.h>
 #include <haproxy/payload.h>
 #include <haproxy/pattern.h>
 #include <haproxy/htx.h>
 #include <haproxy/arg.h>
-#include <proto/channel.h>
 #include <haproxy/sample.h>
 #include <proto/http_ana.h>
 
index ee5b1caa70878dcf8ad770224fd7ee016203ffd2..c5d8095915bdcd72eb1d5bc744e6c05c65794f86 100644 (file)
@@ -22,6 +22,7 @@
 
 #include <haproxy/applet.h>
 #include <haproxy/api.h>
+#include <haproxy/channel.h>
 #include <haproxy/cli.h>
 #include <haproxy/dict.h>
 #include <haproxy/frontend.h>
@@ -37,7 +38,6 @@
 #include <haproxy/tools.h>
 #include <haproxy/thread.h>
 
-#include <proto/channel.h>
 #include <haproxy/fd.h>
 #include <proto/log.h>
 #include <proto/proxy.h>
index a811c77e0a5feb4c2608b13d3f4e2c826f1f5610..41d9c449a227ef9f0365adf2718e313fb01f66ac 100644 (file)
@@ -13,6 +13,7 @@
 
 #include <haproxy/applet-t.h>
 #include <haproxy/api.h>
+#include <haproxy/channel.h>
 #include <haproxy/cli.h>
 #include <haproxy/global.h>
 
@@ -26,7 +27,6 @@
 
 #include <haproxy/activity-t.h>
 
-#include <proto/channel.h>
 #include <proto/log.h>
 
 #ifdef CONFIG_HAP_LOCAL_POOLS
index 43a0029e1d96ada2951715761e388844f69f1147..e25bbdb844058b0354e098d1a4db65b734f5748a 100644 (file)
@@ -32,6 +32,7 @@
 
 #include <haproxy/action-t.h>
 #include <haproxy/api.h>
+#include <haproxy/channel.h>
 #include <haproxy/connection.h>
 #include <haproxy/errors.h>
 #include <haproxy/global.h>
@@ -45,7 +46,6 @@
 #include <types/stream.h>
 
 #include <haproxy/arg.h>
-#include <proto/channel.h>
 #include <haproxy/fd.h>
 #include <proto/log.h>
 #include <haproxy/port_range.h>
index f971bee7ce5f14dcc39b15813da6ced866eff076..43fe01d3bd893b6aeb1e629e214a6f68fdb2fde2 100644 (file)
@@ -22,6 +22,7 @@
 #include <sys/types.h>
 
 #include <haproxy/base64.h>
+#include <haproxy/channel.h>
 #include <haproxy/cli.h>
 #include <haproxy/errors.h>
 #include <haproxy/ssl_ckch.h>
@@ -32,8 +33,6 @@
 
 #include <import/ebsttree.h>
 
-#include <proto/channel.h>
-
 /* Uncommitted CKCH transaction */
 
 static struct {
index 118a6d1bea1a6c277f4d59293d435f3819bafb94..3890ca833e2b6981109459c9fbb830042024e171 100644 (file)
@@ -15,6 +15,7 @@
 #include <sys/stat.h>
 #include <sys/types.h>
 
+#include <haproxy/channel.h>
 #include <haproxy/cli.h>
 #include <haproxy/errors.h>
 #include <haproxy/ssl_ckch.h>
@@ -27,8 +28,6 @@
 #include <import/ebpttree.h>
 #include <import/ebsttree.h>
 
-#include <proto/channel.h>
-
 /* release ssl bind conf */
 void ssl_sock_free_ssl_conf(struct ssl_bind_conf *conf)
 {
index 88c60c773282fa26c2dda35747ce7b027057cc19..6ce493a6070c9aabc2a57418a230a5cfe3da0096 100644 (file)
@@ -45,6 +45,7 @@
 #include <import/xxhash.h>
 
 #include <haproxy/dynbuf.h>
+#include <haproxy/channel.h>
 #include <haproxy/chunk.h>
 #include <haproxy/cli.h>
 #include <haproxy/connection.h>
@@ -72,7 +73,6 @@
 #include <import/ebsttree.h>
 
 #include <haproxy/arg.h>
-#include <proto/channel.h>
 #include <haproxy/fd.h>
 #include <haproxy/freq_ctr.h>
 #include <haproxy/proto_tcp.h>
index a4620563cb052137cb7d8f627c7eaef930702c97..573721566fe16ed5e3f98e646816ca64b2a9e5bb 100644 (file)
@@ -27,6 +27,7 @@
 #include <haproxy/applet-t.h>
 #include <haproxy/api.h>
 #include <common/cfgparse.h>
+#include <haproxy/channel.h>
 #include <haproxy/check.h>
 #include <haproxy/cli.h>
 #include <haproxy/compression.h>
@@ -55,7 +56,6 @@
 #include <haproxy/base64.h>
 
 #include <proto/backend.h>
-#include <proto/channel.h>
 #include <haproxy/fd.h>
 #include <haproxy/freq_ctr.h>
 #include <proto/log.h>
index 32964f9b57df9e93ac69a1562ebe8e16b0a08a6a..6ec17947f0895bff471fb41fa3deda0c773230b6 100644 (file)
@@ -20,6 +20,7 @@
 #include <haproxy/api.h>
 #include <haproxy/capture.h>
 #include <common/cfgparse.h>
+#include <haproxy/channel.h>
 #include <haproxy/check.h>
 #include <haproxy/cli.h>
 #include <haproxy/connection.h>
@@ -46,7 +47,6 @@
 #include <haproxy/activity.h>
 #include <haproxy/arg.h>
 #include <proto/backend.h>
-#include <proto/channel.h>
 #include <haproxy/fd.h>
 #include <proto/filters.h>
 #include <haproxy/freq_ctr.h>
index cbc8a23cf08d19a901c69dbf53bc4cfd43d77f74..6b6b76d6c52c58543f40e39294996a7801bd59a0 100644 (file)
@@ -21,6 +21,7 @@
 
 #include <haproxy/applet.h>
 #include <haproxy/api.h>
+#include <haproxy/channel.h>
 #include <haproxy/connection.h>
 #include <haproxy/dynbuf.h>
 #include <haproxy/http_htx.h>
@@ -30,7 +31,6 @@
 #include <haproxy/time.h>
 #include <haproxy/task.h>
 
-#include <proto/channel.h>
 #include <haproxy/pipe.h>
 #include <proto/proxy.h>
 #include <proto/stream.h>
index ef78d20177adb0483123e4306e27c03aac3568e1..e7abdd76f03e404ba44de3bd191973a9fd3357de 100644 (file)
@@ -14,6 +14,7 @@
 #include <haproxy/api.h>
 #include <haproxy/capture-t.h>
 #include <common/cfgparse.h>
+#include <haproxy/channel.h>
 #include <haproxy/connection.h>
 #include <haproxy/global.h>
 #include <haproxy/list.h>
@@ -26,7 +27,6 @@
 
 #include <haproxy/arg-t.h>
 
-#include <proto/channel.h>
 #include <proto/log.h>
 #include <proto/proxy.h>
 #include <haproxy/stick_table.h>