#include <proto/backend.h>
#include <haproxy/compression.h>
#include <haproxy/pipe.h>
-#include <proto/proxy.h>
+#include <haproxy/proxy.h>
#include <haproxy/sample.h>
#include <proto/server.h>
#include <haproxy/ssl_sock.h>
#include <haproxy/api.h>
#include <haproxy/list-t.h>
#include <haproxy/log.h>
-#include <proto/proxy.h>
+#include <haproxy/proxy.h>
/* configuration sections */
#define CFG_NONE 0
#include <import/ebmbtree.h>
+#include <haproxy/arg-t.h>
#include <haproxy/list-t.h>
#include <haproxy/pattern-t.h>
#include <haproxy/api-t.h>
-#include <types/proxy.h>
#include <types/server.h>
#include <haproxy/freq_ctr-t.h>
#include <haproxy/hlua-t.h>
#include <haproxy/obj_type-t.h>
+#include <haproxy/proxy-t.h>
#include <haproxy/api-t.h>
#include <haproxy/xref-t.h>
-#include <types/proxy.h>
#include <types/stream.h>
/* flags for appctx->state */
#include <haproxy/check-t.h>
#include <haproxy/list-t.h>
#include <haproxy/mailers.h>
-#include <types/proxy.h>
+#include <haproxy/proxy-t.h>
#include <types/server.h>
const char *get_check_status_description(short check_status);
#define _HAPROXY_HTTP_FCGI_H
#include <haproxy/fcgi-app-t.h>
-#include <types/proxy.h>
+#include <haproxy/proxy-t.h>
#include <types/stream.h>
struct fcgi_app *fcgi_app_find_by_name(const char *name);
#include <haproxy/channel.h>
#include <haproxy/filters-t.h>
#include <haproxy/http_ana-t.h>
-#include <types/proxy.h>
+#include <haproxy/proxy-t.h>
#include <types/stream.h>
extern const char *trace_flt_id;
#ifndef _HAPROXY_FLT_HTTP_COMP_H
#define _HAPROXY_FLT_HTTP_COMP_H
-#include <types/proxy.h>
+#include <haproxy/proxy-t.h>
int check_implicit_http_comp_flt(struct proxy *proxy);
#include <haproxy/vars-t.h>
#include <haproxy/mworker-t.h>
-#include <types/proxy.h>
+#include <haproxy/proxy-t.h>
extern struct global global;
extern int pid; /* current process id */
#include <import/ebpttree.h>
#include <haproxy/list-t.h>
+#include <haproxy/proxy-t.h>
#include <haproxy/regex-t.h>
#include <haproxy/xref-t.h>
-#include <types/proxy.h>
#include <types/server.h>
#include <haproxy/stick_table-t.h>
#include <import/ist.h>
#include <haproxy/buf-t.h>
#include <haproxy/http_htx-t.h>
+#include <haproxy/proxy-t.h>
#include <haproxy/regex-t.h>
-#include <types/proxy.h>
extern struct buffer http_err_chunks[HTTP_ERR_SIZE];
extern struct http_reply http_err_replies[HTTP_ERR_SIZE];
#include <haproxy/api.h>
#include <haproxy/list.h>
#include <haproxy/action-t.h>
-#include <types/proxy.h>
+#include <haproxy/proxy-t.h>
extern struct action_kw_list http_req_keywords;
extern struct action_kw_list http_res_keywords;
#include <haproxy/api.h>
#include <haproxy/lb_fas-t.h>
-#include <types/proxy.h>
+#include <haproxy/proxy-t.h>
#include <types/server.h>
struct server *fas_get_next_server(struct proxy *p, struct server *srvtoavoid);
#include <haproxy/api.h>
#include <haproxy/lb_fwlc-t.h>
-#include <types/proxy.h>
+#include <haproxy/proxy-t.h>
#include <types/server.h>
struct server *fwlc_get_next_server(struct proxy *p, struct server *srvtoavoid);
#include <haproxy/api.h>
#include <haproxy/lb_fwrr-t.h>
-#include <types/proxy.h>
+#include <haproxy/proxy-t.h>
#include <types/server.h>
void fwrr_init_server_groups(struct proxy *p);
#define _HAPROXY_LB_MAP_H
#include <haproxy/api.h>
-#include <types/proxy.h>
+#include <haproxy/proxy-t.h>
#include <types/server.h>
void recalc_server_map(struct proxy *px);
#include <haproxy/api.h>
#include <haproxy/log-t.h>
#include <haproxy/pool-t.h>
+#include <haproxy/proxy-t.h>
#include <haproxy/thread-t.h>
#include <proto/stream.h>
-#include <types/proxy.h>
extern struct pool_head *pool_head_requri;
extern struct pool_head *pool_head_uniqueid;
#include <haproxy/listener-t.h>
#include <haproxy/obj_type-t.h>
#include <haproxy/pool.h>
-#include <types/proxy.h>
+#include <haproxy/proxy-t.h>
#include <types/server.h>
#include <types/stream.h>
#include <haproxy/stream_interface-t.h>
#include <haproxy/connection.h>
#include <haproxy/obj_type.h>
#include <haproxy/peers-t.h>
+#include <haproxy/proxy-t.h>
#include <haproxy/time.h>
-#include <types/proxy.h>
#include <haproxy/stick_table-t.h>
#include <types/stream.h>
/*
- * include/types/proxy.h
+ * include/haproxy/proxy-t.h
* This file defines everything related to proxies.
*
* Copyright (C) 2000-2011 Willy Tarreau - w@1wt.eu
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef _TYPES_PROXY_H
-#define _TYPES_PROXY_H
+#ifndef _HAPROXY_PROXY_T_H
+#define _HAPROXY_PROXY_T_H
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
+#include <import/eb32tree.h>
+#include <import/ebpttree.h>
+
#include <haproxy/arg-t.h>
-#include <haproxy/api-t.h>
#include <haproxy/check-t.h>
-#include <haproxy/chunk.h>
#include <haproxy/counters-t.h>
-#include <haproxy/http-t.h>
+#include <haproxy/freq_ctr-t.h>
#include <haproxy/list-t.h>
#include <haproxy/obj_type-t.h>
-#include <haproxy/thread.h>
-
-#include <import/eb32tree.h>
-#include <import/ebistree.h>
-
-#include <haproxy/acl-t.h>
+#include <haproxy/thread-t.h>
+#include <haproxy/api-t.h>
#include <types/backend.h>
-#include <haproxy/freq_ctr-t.h>
-#include <haproxy/sample-t.h>
#include <types/server.h>
-#include <haproxy/stick_table-t.h>
/* values for proxy->state */
enum pr_state {
unsigned int mode;
};
-#endif /* _TYPES_PROXY_H */
+#endif /* _HAPROXY_PROXY_T_H */
/*
* Local variables:
/*
- * include/proto/proxy.h
+ * include/haproxy/proxy.h
* This file defines function prototypes for proxy management.
*
* Copyright (C) 2000-2011 Willy Tarreau - w@1wt.eu
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef _PROTO_PROXY_H
-#define _PROTO_PROXY_H
+#ifndef _HAPROXY_PROXY_H
+#define _HAPROXY_PROXY_H
#include <haproxy/applet-t.h>
#include <haproxy/api.h>
+#include <haproxy/freq_ctr.h>
#include <haproxy/listener-t.h>
+#include <haproxy/proxy-t.h>
#include <haproxy/ticks.h>
#include <haproxy/time.h>
-#include <haproxy/global-t.h>
-#include <types/proxy.h>
-#include <haproxy/freq_ctr.h>
+#include <types/server.h>
extern struct proxy *proxies_list;
extern struct eb_root used_proxy_id; /* list of proxy IDs in use */
return 0;
}
-#endif /* _PROTO_PROXY_H */
+#endif /* _HAPROXY_PROXY_H */
/*
* Local variables:
#include <haproxy/openssl-compat.h>
#include <haproxy/ssl_sock-t.h>
#include <haproxy/pool-t.h>
+#include <haproxy/proxy-t.h>
#include <haproxy/thread.h>
-#include <types/proxy.h>
-
extern struct list tlskeys_reference;
extern int sslconns;
extern int totalsslconns;
#define _PROTO_BACKEND_H
#include <haproxy/api.h>
+#include <haproxy/proxy-t.h>
#include <haproxy/time.h>
#include <types/backend.h>
-#include <types/proxy.h>
#include <types/server.h>
#include <types/stream.h>
#include <haproxy/api.h>
#include <haproxy/pool.h>
+#include <haproxy/proxy-t.h>
-#include <types/proxy.h>
#include <types/queue.h>
#include <types/stream.h>
#include <types/server.h>
#include <haproxy/applet-t.h>
#include <haproxy/api.h>
#include <haproxy/dns-t.h>
+#include <haproxy/proxy-t.h>
#include <haproxy/task.h>
#include <haproxy/time.h>
-#include <types/proxy.h>
#include <types/queue.h>
#include <types/server.h>
#include <haproxy/dynbuf-t.h>
#include <haproxy/filters-t.h>
#include <haproxy/list-t.h>
+#include <haproxy/proxy-t.h>
#include <haproxy/thread.h>
#include <haproxy/freq_ctr-t.h>
-#include <types/proxy.h>
#include <haproxy/sample-t.h>
#include <types/stream.h>
#include <haproxy/task-t.h>
#include <haproxy/http_ana-t.h>
#include <haproxy/list-t.h>
#include <haproxy/obj_type-t.h>
+#include <haproxy/proxy-t.h>
#include <haproxy/session-t.h>
#include <haproxy/stream_interface-t.h>
#include <haproxy/vars-t.h>
-#include <types/proxy.h>
#include <types/queue.h>
#include <types/server.h>
#include <haproxy/task-t.h>
#include <haproxy/list.h>
#include <haproxy/log.h>
#include <haproxy/pattern.h>
+#include <haproxy/proxy-t.h>
#include <haproxy/tools.h>
#include <haproxy/global.h>
#include <haproxy/arg.h>
-#include <proto/proxy.h>
#include <haproxy/sample.h>
#include <haproxy/stick_table.h>
#include <haproxy/pool.h>
#include <haproxy/list.h>
#include <haproxy/log.h>
+#include <haproxy/proxy.h>
#include <haproxy/task.h>
#include <haproxy/tools.h>
-#include <proto/proxy.h>
#include <haproxy/stick_table.h>
#include <haproxy/log.h>
#include <haproxy/obj_type.h>
#include <haproxy/payload.h>
+#include <haproxy/proxy.h>
#include <haproxy/session.h>
#include <haproxy/ssl_sock.h>
#include <haproxy/stream_interface.h>
#include <proto/backend.h>
#include <haproxy/protocol.h>
#include <haproxy/proto_tcp.h>
-#include <proto/proxy.h>
#include <proto/queue.h>
#include <haproxy/sample.h>
#include <proto/server.h>
#include <haproxy/http_htx.h>
#include <haproxy/http_rules.h>
#include <haproxy/log.h>
+#include <haproxy/proxy.h>
#include <haproxy/shctx.h>
#include <haproxy/stream_interface.h>
#include <import/eb32tree.h>
#include <import/sha1.h>
-#include <types/proxy.h>
-
-#include <proto/proxy.h>
#include <proto/stream.h>
#include <haproxy/http_rules.h>
#include <haproxy/listener.h>
#include <haproxy/peers.h>
+#include <haproxy/proxy.h>
#include <haproxy/sample.h>
#include <haproxy/stats-t.h>
#include <haproxy/protocol.h>
-#include <proto/proxy.h>
#include <proto/server.h>
#include <haproxy/stick_table.h>
#include <haproxy/obj_type-t.h>
#include <haproxy/peers-t.h>
#include <haproxy/pool.h>
+#include <haproxy/proxy.h>
#include <haproxy/session.h>
#include <haproxy/stats-t.h>
#include <haproxy/tools.h>
#include <proto/backend.h>
#include <haproxy/protocol.h>
-#include <proto/proxy.h>
#include <haproxy/peers.h>
#include <haproxy/sample.h>
#include <proto/server.h>
#include <haproxy/h1.h>
#include <haproxy/htx.h>
#include <haproxy/log.h>
+#include <haproxy/proxy.h>
#include <haproxy/signal.h>
#include <haproxy/ssl_sock.h>
#include <haproxy/stats-t.h>
#include <haproxy/port_range.h>
#include <haproxy/proto_tcp.h>
#include <haproxy/protocol.h>
-#include <proto/proxy.h>
#include <proto/server.h>
#include <haproxy/proto_udp.h>
#include <haproxy/sample.h>
#include <haproxy/mworker-t.h>
#include <haproxy/pattern-t.h>
#include <haproxy/peers.h>
+#include <haproxy/proxy.h>
#include <haproxy/sample-t.h>
#include <haproxy/session.h>
#include <haproxy/stats-t.h>
#include <haproxy/freq_ctr.h>
#include <haproxy/pipe.h>
#include <haproxy/protocol.h>
-#include <proto/proxy.h>
#include <proto/stream.h>
#include <proto/server.h>
#include <haproxy/errors.h>
#include <haproxy/http_rules.h>
#include <haproxy/log.h>
+#include <haproxy/proxy.h>
#include <haproxy/sample.h>
#include <haproxy/stats-t.h>
#include <haproxy/stream_interface.h>
#include <haproxy/fd.h>
#include <proto/server.h>
#include <haproxy/proto_udp.h>
-#include <proto/proxy.h>
struct list dns_resolvers = LIST_HEAD_INIT(dns_resolvers);
struct list dns_srvrq_list = LIST_HEAD_INIT(dns_srvrq_list);
#include <haproxy/http_fetch.h>
#include <haproxy/http_htx.h>
#include <haproxy/log.h>
+#include <haproxy/proxy-t.h>
#include <haproxy/regex.h>
#include <haproxy/sample.h>
#include <haproxy/session.h>
#include <haproxy/global.h>
-#include <proto/proxy.h>
#include <proto/server.h>
/* Global list of all FCGI applications */
#include <common/cfgparse.h>
#include <haproxy/htx.h>
#include <haproxy/list.h>
+#include <haproxy/proxy-t.h>
#include <haproxy/sample.h>
#include <haproxy/tools.h>
-#include <types/proxy.h>
-
#include <proto/stream.h>
const char *http_comp_flt_id = "compression filter";
#include <haproxy/signal.h>
#include <haproxy/thread.h>
#include <haproxy/pool.h>
+#include <haproxy/proxy.h>
#include <haproxy/session.h>
#include <haproxy/stream_interface.h>
#include <haproxy/task.h>
#include <haproxy/arg.h>
#include <proto/backend.h>
#include <haproxy/freq_ctr.h>
-#include <proto/proxy.h>
#include <proto/spoe.h>
#include <proto/stream.h>
#include <haproxy/http_htx.h>
#include <haproxy/htx.h>
#include <haproxy/log.h>
+#include <haproxy/proxy-t.h>
#include <haproxy/tools.h>
#include <haproxy/time.h>
#include <haproxy/global.h>
-#include <types/proxy.h>
#include <types/stream.h>
#include <proto/stream.h>
#include <haproxy/frontend.h>
#include <haproxy/http_ana.h>
#include <haproxy/log.h>
+#include <haproxy/proxy.h>
#include <haproxy/sample.h>
#include <haproxy/stream_interface.h>
#include <haproxy/task.h>
#include <haproxy/arg.h>
#include <haproxy/fd.h>
#include <haproxy/proto_tcp.h>
-#include <proto/proxy.h>
#include <proto/stream.h>
/* Finish a stream accept() for a proxy (TCP or HTTP). It returns a negative
#include <haproxy/openssl-compat.h>
#include <haproxy/pattern.h>
#include <haproxy/peers.h>
+#include <haproxy/proxy.h>
#include <haproxy/sample.h>
#include <haproxy/regex.h>
#include <haproxy/session.h>
#include <proto/backend.h>
#include <haproxy/fd.h>
#include <haproxy/protocol.h>
-#include <proto/proxy.h>
#include <proto/queue.h>
#include <proto/server.h>
#include <proto/stream.h>
#include <haproxy/obj_type.h>
#include <haproxy/pattern.h>
#include <haproxy/payload.h>
+#include <haproxy/proxy-t.h>
#include <haproxy/sample.h>
#include <haproxy/session.h>
#include <haproxy/stats-t.h>
#include <haproxy/tools.h>
#include <haproxy/vars.h>
-#include <types/proxy.h>
-
#include <haproxy/arg.h>
#include <proto/queue.h>
#include <proto/server.h>
#include <haproxy/http.h>
#include <haproxy/log.h>
#include <haproxy/net_helper.h>
+#include <haproxy/pattern-t.h>
+#include <haproxy/proxy.h>
#include <haproxy/regex.h>
#include <haproxy/stats.h>
#include <haproxy/time.h>
-#include <types/proxy.h>
-
-#include <proto/proxy.h>
#include <proto/server.h>
#include <haproxy/stick_table.h>
#include <haproxy/htx.h>
#include <haproxy/log.h>
#include <haproxy/net_helper.h>
+#include <haproxy/proxy.h>
#include <haproxy/regex.h>
#include <haproxy/stats.h>
#include <haproxy/stream_interface.h>
#include <haproxy/capture-t.h>
-#include <proto/proxy.h>
#include <proto/server.h>
#include <proto/stream.h>
#include <haproxy/list.h>
#include <haproxy/log.h>
#include <haproxy/net_helper.h>
+#include <haproxy/proxy-t.h>
#include <haproxy/regex.h>
#include <haproxy/session-t.h>
#include <haproxy/ssl_sock.h>
#include <haproxy/stream_interface.h>
-#include <types/proxy.h>
-
#include <proto/stream.h>
#include <haproxy/trace.h>
#include <import/ebistree.h>
#include <haproxy/pipe-t.h>
-#include <types/proxy.h>
+#include <haproxy/proxy-t.h>
#include <haproxy/http_htx.h>
#include <haproxy/log.h>
#include <haproxy/log.h>
#include <haproxy/mworker.h>
#include <haproxy/peers.h>
+#include <haproxy/proxy-t.h>
#include <haproxy/signal.h>
#include <haproxy/stream_interface.h>
#include <haproxy/version.h>
#include <haproxy/global.h>
#include <haproxy/fd.h>
-#include <proto/proxy.h>
#include <proto/stream.h>
#include <haproxy/net_helper.h>
#include <haproxy/obj_type-t.h>
#include <haproxy/peers.h>
+#include <haproxy/proxy.h>
#include <haproxy/task.h>
#include <haproxy/session-t.h>
#include <haproxy/signal.h>
#include <haproxy/thread.h>
#include <haproxy/fd.h>
-#include <proto/proxy.h>
#include <proto/stream.h>
#include <haproxy/stick_table.h>
#include <haproxy/list.h>
#include <haproxy/listener.h>
#include <haproxy/log.h>
+#include <haproxy/proxy-t.h>
#include <haproxy/sample.h>
#include <haproxy/tools.h>
#include <haproxy/namespace.h>
#include <haproxy/port_range.h>
#include <haproxy/protocol.h>
#include <haproxy/proto_tcp.h>
-#include <proto/proxy.h>
#include <proto/server.h>
#include <haproxy/tcp_rules.h>
#include <haproxy/obj_type-t.h>
#include <haproxy/peers.h>
#include <haproxy/pool.h>
+#include <haproxy/proxy.h>
#include <haproxy/stats-t.h>
#include <haproxy/stream_interface.h>
#include <haproxy/task.h>
#include <proto/backend.h>
#include <haproxy/fd.h>
#include <haproxy/proto_tcp.h>
-#include <proto/proxy.h>
#include <proto/server.h>
#include <haproxy/signal.h>
#include <proto/stream.h>
#include <haproxy/log.h>
#include <haproxy/net_helper.h>
#include <haproxy/protobuf.h>
+#include <haproxy/proxy.h>
#include <haproxy/regex.h>
#include <haproxy/sample.h>
#include <haproxy/tools.h>
#include <haproxy/base64.h>
#include <haproxy/arg.h>
-#include <proto/proxy.h>
#include <haproxy/sink.h>
#include <haproxy/stick_table.h>
#include <haproxy/listener.h>
#include <haproxy/log.h>
#include <haproxy/pool.h>
+#include <haproxy/proxy.h>
#include <haproxy/session.h>
#include <haproxy/tcp_rules.h>
#include <haproxy/vars.h>
-#include <proto/proxy.h>
#include <proto/stream.h>
DECLARE_POOL(pool_head_session, "session", sizeof(struct session));
#include <haproxy/log.h>
#include <haproxy/openssl-compat.h>
#include <haproxy/pattern-t.h>
+#include <haproxy/proxy.h>
#include <haproxy/shctx.h>
#include <haproxy/ssl_ckch.h>
#include <haproxy/ssl_crtlist.h>
#include <haproxy/freq_ctr.h>
#include <haproxy/proto_tcp.h>
#include <proto/server.h>
-#include <proto/proxy.h>
#include <proto/stream.h>
/* ***** READ THIS before adding code here! *****
#include <haproxy/log.h>
#include <haproxy/map-t.h>
#include <haproxy/pattern-t.h>
+#include <haproxy/proxy.h>
#include <haproxy/session.h>
#include <haproxy/ssl_sock.h>
#include <haproxy/stats.h>
#include <haproxy/fd.h>
#include <haproxy/freq_ctr.h>
#include <haproxy/pipe.h>
-#include <proto/proxy.h>
#include <proto/stream.h>
#include <proto/server.h>
#include <haproxy/log.h>
#include <haproxy/net_helper.h>
#include <haproxy/peers.h>
+#include <haproxy/proxy.h>
#include <haproxy/stats-t.h>
#include <haproxy/stream_interface.h>
#include <haproxy/task.h>
#include <import/ebmbtree.h>
#include <import/ebsttree.h>
+#include <import/ebistree.h>
#include <haproxy/arg.h>
#include <haproxy/proto_tcp.h>
-#include <proto/proxy.h>
#include <haproxy/sample.h>
#include <proto/stream.h>
#include <haproxy/stick_table.h>
#include <unistd.h>
#include <fcntl.h>
+#include <import/ebistree.h>
+
#include <haproxy/acl.h>
#include <haproxy/action.h>
#include <haproxy/applet.h>
#include <haproxy/htx.h>
#include <haproxy/log.h>
#include <haproxy/pool.h>
+#include <haproxy/proxy.h>
#include <haproxy/session.h>
#include <haproxy/stats-t.h>
#include <haproxy/stream_interface.h>
#include <haproxy/freq_ctr.h>
#include <proto/stream.h>
#include <haproxy/pipe.h>
-#include <proto/proxy.h>
#include <proto/queue.h>
#include <proto/server.h>
#include <haproxy/stick_table.h>
#include <haproxy/connection.h>
#include <haproxy/dynbuf.h>
#include <haproxy/http_htx.h>
+#include <haproxy/proxy.h>
#include <haproxy/stream_interface.h>
#include <haproxy/tools.h>
#include <haproxy/ticks.h>
#include <haproxy/task.h>
#include <haproxy/pipe.h>
-#include <proto/proxy.h>
#include <proto/stream.h>
#include <haproxy/pipe-t.h>
#include <haproxy/fd.h>
#include <haproxy/freq_ctr.h>
-#include <proto/proxy.h>
#include <proto/stream.h>
DECLARE_POOL(pool_head_task, "task", sizeof(struct task));
#include <haproxy/global.h>
#include <haproxy/list.h>
#include <haproxy/log.h>
+#include <haproxy/proxy.h>
#include <haproxy/sample.h>
#include <haproxy/stream_interface.h>
#include <haproxy/tcp_rules.h>
#include <haproxy/arg-t.h>
-#include <proto/proxy.h>
#include <haproxy/stick_table.h>
#include <proto/stream.h>