]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
REORG: include: move frontend.h to haproxy/frontend.h
authorWilly Tarreau <w@1wt.eu>
Thu, 4 Jun 2020 09:23:07 +0000 (11:23 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 11 Jun 2020 08:18:57 +0000 (10:18 +0200)
There was no type file for this one, it only contains frontend_accept().

13 files changed:
contrib/prometheus-exporter/service-prometheus.c
include/haproxy/frontend.h [moved from include/proto/frontend.h with 87% similarity]
src/backend.c
src/cfgparse.c
src/cli.c
src/connection.c
src/flt_spoe.c
src/frontend.c
src/log.c
src/peers.c
src/ssl_sock.c
src/stats.c
src/stream.c

index c64385cdf65971ed647a40cdd065f31f364307c0..63d6919627f91b25ff7e18b163d46edf5a1bb4a4 100644 (file)
@@ -16,6 +16,7 @@
 #include <haproxy/action-t.h>
 #include <haproxy/api.h>
 #include <common/cfgparse.h>
+#include <haproxy/frontend.h>
 #include <haproxy/http.h>
 #include <haproxy/http_htx.h>
 #include <haproxy/htx.h>
@@ -27,7 +28,6 @@
 #include <proto/applet.h>
 #include <proto/backend.h>
 #include <haproxy/compression.h>
-#include <proto/frontend.h>
 #include <proto/listener.h>
 #include <haproxy/pipe.h>
 #include <proto/proxy.h>
similarity index 87%
rename from include/proto/frontend.h
rename to include/haproxy/frontend.h
index 37d484cf964841e699e4b3ec7bcbaa79b73d002f..114d8772482b1b3213b91e36b5159f4052c6fb67 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * include/proto/frontend.h
+ * include/haproxy/frontend.h
  * This file declares frontend-specific functions.
  *
  * Copyright (C) 2000-2011 Willy Tarreau - w@1wt.eu
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
-#ifndef _PROTO_FRONTEND_H
-#define _PROTO_FRONTEND_H
+#ifndef _HAPROXY_FRONTEND_H
+#define _HAPROXY_FRONTEND_H
 
-#include <haproxy/api.h>
 #include <types/stream.h>
 
 int frontend_accept(struct stream *s);
 
 
-#endif /* _PROTO_FRONTEND_H */
+#endif /* _HAPROXY_FRONTEND_H */
 
 /*
  * Local variables:
index 7169058110e42b28aea18900ed3205046919bcde..cab39c898d87b0804ba2ac79d37c774d63aad50f 100644 (file)
@@ -20,6 +20,7 @@
 #include <sys/types.h>
 
 #include <haproxy/api.h>
+#include <haproxy/frontend.h>
 #include <haproxy/hash.h>
 #include <haproxy/http.h>
 #include <haproxy/http_htx.h>
@@ -35,7 +36,6 @@
 #include <proto/backend.h>
 #include <proto/channel.h>
 #include <proto/checks.h>
-#include <proto/frontend.h>
 #include <proto/lb_chash.h>
 #include <proto/lb_fas.h>
 #include <proto/lb_fwlc.h>
index bf2373bf4e7378d0ddbeca4b79e87548acc00d30..e1d2394cfbb6535aa0cbd5f2d96b03a0b7696ec0 100644 (file)
@@ -41,6 +41,7 @@
 #include <haproxy/chunk.h>
 #include <haproxy/dns.h>
 #include <haproxy/errors.h>
+#include <haproxy/frontend.h>
 #include <haproxy/mailers-t.h>
 #include <haproxy/pool.h>
 #include <haproxy/tools.h>
@@ -61,7 +62,6 @@
 #include <proto/checks.h>
 #include <proto/stats.h>
 #include <proto/filters.h>
-#include <proto/frontend.h>
 #include <proto/http_rules.h>
 #include <proto/lb_chash.h>
 #include <proto/lb_fas.h>
index 7f51a9b366ea27ec68234fe40e6c02ac66b20d66..71e37f79d68b5e2e42400afbc2c3a8a93a638b09 100644 (file)
--- a/src/cli.c
+++ b/src/cli.c
@@ -29,6 +29,7 @@
 #include <haproxy/api.h>
 #include <common/cfgparse.h>
 #include <haproxy/dns-t.h>
+#include <haproxy/frontend.h>
 #include <haproxy/list.h>
 #include <haproxy/tools.h>
 #include <haproxy/ticks.h>
@@ -50,7 +51,6 @@
 #include <proto/stats.h>
 #include <haproxy/fd.h>
 #include <haproxy/freq_ctr.h>
-#include <proto/frontend.h>
 #include <proto/log.h>
 #include <proto/pattern.h>
 #include <haproxy/pipe.h>
index d7c77d287298bc4be94a5ab5bd960cdaec49652c..afe881cd9b5ebcb9305d2f69a9b6580548cc713d 100644 (file)
 
 #include <haproxy/api.h>
 #include <common/cfgparse.h>
+#include <haproxy/frontend.h>
 #include <haproxy/namespace.h>
 #include <haproxy/hash.h>
 #include <haproxy/net_helper.h>
 
 #include <proto/connection.h>
 #include <haproxy/fd.h>
-#include <proto/frontend.h>
 #include <proto/proto_tcp.h>
 #include <proto/stream_interface.h>
 #include <proto/sample.h>
index 91915233bf544baaa872298a1e4bf693113af2f4..7fe44cf48c5d910eded54af5e396cfcb638dbb40 100644 (file)
@@ -15,6 +15,7 @@
 #include <haproxy/action-t.h>
 #include <haproxy/api.h>
 #include <common/cfgparse.h>
+#include <haproxy/frontend.h>
 #include <haproxy/thread.h>
 #include <haproxy/pool.h>
 #include <haproxy/time.h>
@@ -28,7 +29,6 @@
 #include <proto/backend.h>
 #include <proto/filters.h>
 #include <haproxy/freq_ctr.h>
-#include <proto/frontend.h>
 #include <proto/http_rules.h>
 #include <proto/log.h>
 #include <proto/http_ana.h>
index a71dc091d2510233d23f6b71f9efcf17ef6a3306..0be29292d16b6625d647d406859d597c483c6b3f 100644 (file)
@@ -24,6 +24,7 @@
 
 #include <haproxy/api.h>
 #include <haproxy/chunk.h>
+#include <haproxy/frontend.h>
 #include <haproxy/tools.h>
 #include <haproxy/time.h>
 
@@ -33,7 +34,6 @@
 #include <haproxy/arg.h>
 #include <proto/channel.h>
 #include <haproxy/fd.h>
-#include <proto/frontend.h>
 #include <proto/log.h>
 #include <proto/proto_tcp.h>
 #include <proto/http_ana.h>
index 77eb2c6f9d0aedd16bde3e9218c1e30d46aa3174..7c62f6dfadc793b5a29b7f6913fbaf5cfe24d172 100644 (file)
--- a/src/log.c
+++ b/src/log.c
@@ -25,6 +25,7 @@
 #include <sys/uio.h>
 
 #include <haproxy/api.h>
+#include <haproxy/frontend.h>
 #include <haproxy/http.h>
 #include <haproxy/tools.h>
 #include <haproxy/time.h>
@@ -37,7 +38,6 @@
 #include <proto/applet.h>
 #include <proto/cli.h>
 #include <haproxy/fd.h>
-#include <proto/frontend.h>
 #include <proto/log.h>
 #include <haproxy/ring.h>
 #include <proto/sample.h>
index 4d16b41a4608d81e006ac6115af209fd03cffe8f..f4513a5d644886f72161eec0b7792b98e6f33351 100644 (file)
@@ -22,6 +22,7 @@
 
 #include <haproxy/api.h>
 #include <haproxy/dict.h>
+#include <haproxy/frontend.h>
 #include <haproxy/net_helper.h>
 #include <haproxy/time.h>
 #include <haproxy/tools.h>
@@ -38,7 +39,6 @@
 #include <proto/channel.h>
 #include <proto/cli.h>
 #include <haproxy/fd.h>
-#include <proto/frontend.h>
 #include <proto/log.h>
 #include <proto/mux_pt.h>
 #include <proto/peers.h>
index 45981cf383a632cf479e321dc84d977a9e52bd4f..d04de1c6b943a5a915c4e266285edd6594b3c55e 100644 (file)
@@ -47,6 +47,7 @@
 #include <haproxy/dynbuf.h>
 #include <haproxy/chunk.h>
 #include <haproxy/errors.h>
+#include <haproxy/frontend.h>
 #include <haproxy/openssl-compat.h>
 #include <haproxy/shctx.h>
 #include <haproxy/tools.h>
@@ -70,7 +71,6 @@
 #include <proto/cli.h>
 #include <haproxy/fd.h>
 #include <haproxy/freq_ctr.h>
-#include <proto/frontend.h>
 #include <proto/http_rules.h>
 #include <proto/listener.h>
 #include <proto/pattern.h>
index 8f6787489816e53c74fd238f585a3f65feebe467..79fff90625459542963af349470eeeab8cfc2e2f 100644 (file)
@@ -29,6 +29,7 @@
 #include <haproxy/compression.h>
 #include <haproxy/debug.h>
 #include <haproxy/dns.h>
+#include <haproxy/frontend.h>
 #include <haproxy/http.h>
 #include <haproxy/http_htx.h>
 #include <haproxy/htx.h>
@@ -53,7 +54,6 @@
 #include <proto/stats.h>
 #include <haproxy/fd.h>
 #include <haproxy/freq_ctr.h>
-#include <proto/frontend.h>
 #include <proto/log.h>
 #include <proto/pattern.h>
 #include <haproxy/pipe.h>
index 4bd8d517ba57610eb0bcc379dd6babdcd3ce0cfb..57a0d91c2b04407c6118a9629eed268865a566be 100644 (file)
@@ -21,6 +21,7 @@
 #include <haproxy/dict.h>
 #include <haproxy/dns.h>
 #include <haproxy/dynbuf.h>
+#include <haproxy/frontend.h>
 #include <haproxy/hlua.h>
 #include <haproxy/istbuf.h>
 #include <haproxy/thread.h>
@@ -45,7 +46,6 @@
 #include <haproxy/fd.h>
 #include <proto/filters.h>
 #include <haproxy/freq_ctr.h>
-#include <proto/frontend.h>
 #include <proto/http_rules.h>
 #include <proto/listener.h>
 #include <proto/log.h>