REORG: include: move frontend.h to haproxy/frontend.h

There was no type file for this one, it only contains frontend_accept().
This commit is contained in:
Willy Tarreau 2020-06-04 11:23:07 +02:00
parent 278161c1b8
commit 762d7a5117
13 changed files with 16 additions and 17 deletions

View File

@ -16,6 +16,7 @@
#include <haproxy/action-t.h> #include <haproxy/action-t.h>
#include <haproxy/api.h> #include <haproxy/api.h>
#include <common/cfgparse.h> #include <common/cfgparse.h>
#include <haproxy/frontend.h>
#include <haproxy/http.h> #include <haproxy/http.h>
#include <haproxy/http_htx.h> #include <haproxy/http_htx.h>
#include <haproxy/htx.h> #include <haproxy/htx.h>
@ -27,7 +28,6 @@
#include <proto/applet.h> #include <proto/applet.h>
#include <proto/backend.h> #include <proto/backend.h>
#include <haproxy/compression.h> #include <haproxy/compression.h>
#include <proto/frontend.h>
#include <proto/listener.h> #include <proto/listener.h>
#include <haproxy/pipe.h> #include <haproxy/pipe.h>
#include <proto/proxy.h> #include <proto/proxy.h>

View File

@ -1,5 +1,5 @@
/* /*
* include/proto/frontend.h * include/haproxy/frontend.h
* This file declares frontend-specific functions. * This file declares frontend-specific functions.
* *
* Copyright (C) 2000-2011 Willy Tarreau - w@1wt.eu * Copyright (C) 2000-2011 Willy Tarreau - w@1wt.eu
@ -19,16 +19,15 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#ifndef _PROTO_FRONTEND_H #ifndef _HAPROXY_FRONTEND_H
#define _PROTO_FRONTEND_H #define _HAPROXY_FRONTEND_H
#include <haproxy/api.h>
#include <types/stream.h> #include <types/stream.h>
int frontend_accept(struct stream *s); int frontend_accept(struct stream *s);
#endif /* _PROTO_FRONTEND_H */ #endif /* _HAPROXY_FRONTEND_H */
/* /*
* Local variables: * Local variables:

View File

@ -20,6 +20,7 @@
#include <sys/types.h> #include <sys/types.h>
#include <haproxy/api.h> #include <haproxy/api.h>
#include <haproxy/frontend.h>
#include <haproxy/hash.h> #include <haproxy/hash.h>
#include <haproxy/http.h> #include <haproxy/http.h>
#include <haproxy/http_htx.h> #include <haproxy/http_htx.h>
@ -35,7 +36,6 @@
#include <proto/backend.h> #include <proto/backend.h>
#include <proto/channel.h> #include <proto/channel.h>
#include <proto/checks.h> #include <proto/checks.h>
#include <proto/frontend.h>
#include <proto/lb_chash.h> #include <proto/lb_chash.h>
#include <proto/lb_fas.h> #include <proto/lb_fas.h>
#include <proto/lb_fwlc.h> #include <proto/lb_fwlc.h>

View File

@ -41,6 +41,7 @@
#include <haproxy/chunk.h> #include <haproxy/chunk.h>
#include <haproxy/dns.h> #include <haproxy/dns.h>
#include <haproxy/errors.h> #include <haproxy/errors.h>
#include <haproxy/frontend.h>
#include <haproxy/mailers-t.h> #include <haproxy/mailers-t.h>
#include <haproxy/pool.h> #include <haproxy/pool.h>
#include <haproxy/tools.h> #include <haproxy/tools.h>
@ -61,7 +62,6 @@
#include <proto/checks.h> #include <proto/checks.h>
#include <proto/stats.h> #include <proto/stats.h>
#include <proto/filters.h> #include <proto/filters.h>
#include <proto/frontend.h>
#include <proto/http_rules.h> #include <proto/http_rules.h>
#include <proto/lb_chash.h> #include <proto/lb_chash.h>
#include <proto/lb_fas.h> #include <proto/lb_fas.h>

View File

@ -29,6 +29,7 @@
#include <haproxy/api.h> #include <haproxy/api.h>
#include <common/cfgparse.h> #include <common/cfgparse.h>
#include <haproxy/dns-t.h> #include <haproxy/dns-t.h>
#include <haproxy/frontend.h>
#include <haproxy/list.h> #include <haproxy/list.h>
#include <haproxy/tools.h> #include <haproxy/tools.h>
#include <haproxy/ticks.h> #include <haproxy/ticks.h>
@ -50,7 +51,6 @@
#include <proto/stats.h> #include <proto/stats.h>
#include <haproxy/fd.h> #include <haproxy/fd.h>
#include <haproxy/freq_ctr.h> #include <haproxy/freq_ctr.h>
#include <proto/frontend.h>
#include <proto/log.h> #include <proto/log.h>
#include <proto/pattern.h> #include <proto/pattern.h>
#include <haproxy/pipe.h> #include <haproxy/pipe.h>

View File

@ -14,13 +14,13 @@
#include <haproxy/api.h> #include <haproxy/api.h>
#include <common/cfgparse.h> #include <common/cfgparse.h>
#include <haproxy/frontend.h>
#include <haproxy/namespace.h> #include <haproxy/namespace.h>
#include <haproxy/hash.h> #include <haproxy/hash.h>
#include <haproxy/net_helper.h> #include <haproxy/net_helper.h>
#include <proto/connection.h> #include <proto/connection.h>
#include <haproxy/fd.h> #include <haproxy/fd.h>
#include <proto/frontend.h>
#include <proto/proto_tcp.h> #include <proto/proto_tcp.h>
#include <proto/stream_interface.h> #include <proto/stream_interface.h>
#include <proto/sample.h> #include <proto/sample.h>

View File

@ -15,6 +15,7 @@
#include <haproxy/action-t.h> #include <haproxy/action-t.h>
#include <haproxy/api.h> #include <haproxy/api.h>
#include <common/cfgparse.h> #include <common/cfgparse.h>
#include <haproxy/frontend.h>
#include <haproxy/thread.h> #include <haproxy/thread.h>
#include <haproxy/pool.h> #include <haproxy/pool.h>
#include <haproxy/time.h> #include <haproxy/time.h>
@ -28,7 +29,6 @@
#include <proto/backend.h> #include <proto/backend.h>
#include <proto/filters.h> #include <proto/filters.h>
#include <haproxy/freq_ctr.h> #include <haproxy/freq_ctr.h>
#include <proto/frontend.h>
#include <proto/http_rules.h> #include <proto/http_rules.h>
#include <proto/log.h> #include <proto/log.h>
#include <proto/http_ana.h> #include <proto/http_ana.h>

View File

@ -24,6 +24,7 @@
#include <haproxy/api.h> #include <haproxy/api.h>
#include <haproxy/chunk.h> #include <haproxy/chunk.h>
#include <haproxy/frontend.h>
#include <haproxy/tools.h> #include <haproxy/tools.h>
#include <haproxy/time.h> #include <haproxy/time.h>
@ -33,7 +34,6 @@
#include <haproxy/arg.h> #include <haproxy/arg.h>
#include <proto/channel.h> #include <proto/channel.h>
#include <haproxy/fd.h> #include <haproxy/fd.h>
#include <proto/frontend.h>
#include <proto/log.h> #include <proto/log.h>
#include <proto/proto_tcp.h> #include <proto/proto_tcp.h>
#include <proto/http_ana.h> #include <proto/http_ana.h>

View File

@ -25,6 +25,7 @@
#include <sys/uio.h> #include <sys/uio.h>
#include <haproxy/api.h> #include <haproxy/api.h>
#include <haproxy/frontend.h>
#include <haproxy/http.h> #include <haproxy/http.h>
#include <haproxy/tools.h> #include <haproxy/tools.h>
#include <haproxy/time.h> #include <haproxy/time.h>
@ -37,7 +38,6 @@
#include <proto/applet.h> #include <proto/applet.h>
#include <proto/cli.h> #include <proto/cli.h>
#include <haproxy/fd.h> #include <haproxy/fd.h>
#include <proto/frontend.h>
#include <proto/log.h> #include <proto/log.h>
#include <haproxy/ring.h> #include <haproxy/ring.h>
#include <proto/sample.h> #include <proto/sample.h>

View File

@ -22,6 +22,7 @@
#include <haproxy/api.h> #include <haproxy/api.h>
#include <haproxy/dict.h> #include <haproxy/dict.h>
#include <haproxy/frontend.h>
#include <haproxy/net_helper.h> #include <haproxy/net_helper.h>
#include <haproxy/time.h> #include <haproxy/time.h>
#include <haproxy/tools.h> #include <haproxy/tools.h>
@ -38,7 +39,6 @@
#include <proto/channel.h> #include <proto/channel.h>
#include <proto/cli.h> #include <proto/cli.h>
#include <haproxy/fd.h> #include <haproxy/fd.h>
#include <proto/frontend.h>
#include <proto/log.h> #include <proto/log.h>
#include <proto/mux_pt.h> #include <proto/mux_pt.h>
#include <proto/peers.h> #include <proto/peers.h>

View File

@ -47,6 +47,7 @@
#include <haproxy/dynbuf.h> #include <haproxy/dynbuf.h>
#include <haproxy/chunk.h> #include <haproxy/chunk.h>
#include <haproxy/errors.h> #include <haproxy/errors.h>
#include <haproxy/frontend.h>
#include <haproxy/openssl-compat.h> #include <haproxy/openssl-compat.h>
#include <haproxy/shctx.h> #include <haproxy/shctx.h>
#include <haproxy/tools.h> #include <haproxy/tools.h>
@ -70,7 +71,6 @@
#include <proto/cli.h> #include <proto/cli.h>
#include <haproxy/fd.h> #include <haproxy/fd.h>
#include <haproxy/freq_ctr.h> #include <haproxy/freq_ctr.h>
#include <proto/frontend.h>
#include <proto/http_rules.h> #include <proto/http_rules.h>
#include <proto/listener.h> #include <proto/listener.h>
#include <proto/pattern.h> #include <proto/pattern.h>

View File

@ -29,6 +29,7 @@
#include <haproxy/compression.h> #include <haproxy/compression.h>
#include <haproxy/debug.h> #include <haproxy/debug.h>
#include <haproxy/dns.h> #include <haproxy/dns.h>
#include <haproxy/frontend.h>
#include <haproxy/http.h> #include <haproxy/http.h>
#include <haproxy/http_htx.h> #include <haproxy/http_htx.h>
#include <haproxy/htx.h> #include <haproxy/htx.h>
@ -53,7 +54,6 @@
#include <proto/stats.h> #include <proto/stats.h>
#include <haproxy/fd.h> #include <haproxy/fd.h>
#include <haproxy/freq_ctr.h> #include <haproxy/freq_ctr.h>
#include <proto/frontend.h>
#include <proto/log.h> #include <proto/log.h>
#include <proto/pattern.h> #include <proto/pattern.h>
#include <haproxy/pipe.h> #include <haproxy/pipe.h>

View File

@ -21,6 +21,7 @@
#include <haproxy/dict.h> #include <haproxy/dict.h>
#include <haproxy/dns.h> #include <haproxy/dns.h>
#include <haproxy/dynbuf.h> #include <haproxy/dynbuf.h>
#include <haproxy/frontend.h>
#include <haproxy/hlua.h> #include <haproxy/hlua.h>
#include <haproxy/istbuf.h> #include <haproxy/istbuf.h>
#include <haproxy/thread.h> #include <haproxy/thread.h>
@ -45,7 +46,6 @@
#include <haproxy/fd.h> #include <haproxy/fd.h>
#include <proto/filters.h> #include <proto/filters.h>
#include <haproxy/freq_ctr.h> #include <haproxy/freq_ctr.h>
#include <proto/frontend.h>
#include <proto/http_rules.h> #include <proto/http_rules.h>
#include <proto/listener.h> #include <proto/listener.h>
#include <proto/log.h> #include <proto/log.h>