#include <haproxy/action-t.h>
#include <haproxy/applet.h>
+#include <haproxy/backend.h>
#include <haproxy/api.h>
#include <common/cfgparse.h>
#include <haproxy/frontend.h>
#include <haproxy/pool.h>
#include <haproxy/list.h>
-#include <proto/backend.h>
#include <haproxy/compression.h>
#include <haproxy/pipe.h>
#include <haproxy/proxy.h>
/*
- * include/types/backend.h
+ * include/haproxy/backend-t.h
* This file assembles definitions for backends
*
* Copyright (C) 2000-2012 Willy Tarreau - w@1wt.eu
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef _TYPES_BACKEND_H
-#define _TYPES_BACKEND_H
+#ifndef _HAPROXY_BACKEND_T_H
+#define _HAPROXY_BACKEND_T_H
#include <haproxy/lb_chash-t.h>
#include <haproxy/lb_fas-t.h>
#include <haproxy/lb_fwlc-t.h>
#include <haproxy/lb_fwrr-t.h>
#include <haproxy/lb_map-t.h>
+#include <haproxy/thread-t.h>
#include <haproxy/api-t.h>
-#include <haproxy/thread.h>
-
#include <types/server.h>
/* Parameters for lbprm.algo */
void (*server_drop_conn)(struct server *); /* to be called when connection is dropped */
};
-#endif /* _TYPES_BACKEND_H */
+#endif /* _HAPROXY_BACKEND_T_H */
/*
* Local variables:
/*
- * include/proto/backend.h
+ * include/haproxy/backend.h
* Functions prototypes for the backend.
*
* Copyright (C) 2000-2012 Willy Tarreau - w@1wt.eu
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef _PROTO_BACKEND_H
-#define _PROTO_BACKEND_H
+#ifndef _HAPROXY_BACKEND_H
+#define _HAPROXY_BACKEND_H
+#include <haproxy/backend-t.h>
#include <haproxy/api.h>
#include <haproxy/proxy-t.h>
#include <haproxy/time.h>
-
-#include <types/backend.h>
#include <types/server.h>
#include <types/stream.h>
*/
void set_backend_down(struct proxy *be);
-#endif /* _PROTO_BACKEND_H */
+#endif /* _HAPROXY_BACKEND_H */
/*
* Local variables:
#include <import/ebpttree.h>
#include <haproxy/arg-t.h>
+#include <haproxy/backend-t.h>
#include <haproxy/check-t.h>
#include <haproxy/counters-t.h>
#include <haproxy/freq_ctr-t.h>
#include <haproxy/obj_type-t.h>
#include <haproxy/thread-t.h>
#include <haproxy/api-t.h>
-#include <types/backend.h>
#include <types/server.h>
/* values for proxy->state */
#ifndef _PROTO_QUEUE_H
#define _PROTO_QUEUE_H
+#include <haproxy/backend.h>
#include <haproxy/api.h>
#include <haproxy/pool.h>
#include <haproxy/proxy-t.h>
#include <types/stream.h>
#include <types/server.h>
-#include <proto/backend.h>
-
extern struct pool_head *pool_head_pendconn;
struct pendconn *pendconn_add(struct stream *strm);
#include <sys/types.h>
#include <haproxy/acl.h>
+#include <haproxy/backend.h>
#include <haproxy/api.h>
#include <haproxy/channel.h>
#include <haproxy/check.h>
#include <haproxy/global.h>
#include <haproxy/arg.h>
-#include <proto/backend.h>
#include <haproxy/protocol.h>
#include <haproxy/proto_tcp.h>
#include <proto/queue.h>
#include <haproxy/acl.h>
#include <haproxy/action-t.h>
#include <haproxy/auth.h>
+#include <haproxy/backend.h>
#include <haproxy/api.h>
#include <haproxy/capture.h>
#include <common/cfgparse.h>
#include <haproxy/global.h>
-#include <proto/backend.h>
#include <haproxy/protocol.h>
#include <haproxy/peers.h>
#include <haproxy/sample.h>
#include <haproxy/global.h>
#include <haproxy/arg.h>
-#include <proto/backend.h>
#include <haproxy/fd.h>
#include <proto/queue.h>
#include <haproxy/port_range.h>
#include <haproxy/global.h>
#include <haproxy/activity.h>
-#include <proto/backend.h>
#include <haproxy/compression.h>
#include <haproxy/fd.h>
#include <haproxy/freq_ctr.h>
#include <haproxy/global.h>
#include <haproxy/arg.h>
-#include <proto/backend.h>
#include <haproxy/freq_ctr.h>
#include <proto/stream.h>
#include <haproxy/activity.h>
#include <haproxy/arg.h>
-#include <proto/backend.h>
#include <haproxy/fd.h>
#include <haproxy/protocol.h>
#include <proto/queue.h>
#include <haproxy/acl.h>
#include <haproxy/action-t.h>
+#include <haproxy/backend.h>
#include <haproxy/api.h>
#include <haproxy/base64.h>
#include <haproxy/channel.h>
*
*/
+#include <haproxy/backend.h>
#include <haproxy/api.h>
#include <haproxy/tools.h>
#include <import/eb32tree.h>
#include <types/server.h>
-
-#include <proto/backend.h>
#include <proto/queue.h>
/* Return next tree node after <node> which must still be in the tree, or be
*
*/
+#include <haproxy/backend.h>
#include <haproxy/api.h>
#include <import/eb32tree.h>
#include <types/server.h>
-
-#include <proto/backend.h>
#include <proto/queue.h>
*
*/
+#include <haproxy/backend.h>
#include <haproxy/api.h>
#include <import/eb32tree.h>
#include <types/server.h>
-
-#include <proto/backend.h>
#include <proto/queue.h>
*
*/
+#include <haproxy/backend.h>
#include <haproxy/api.h>
#include <import/eb32tree.h>
#include <types/server.h>
-
-#include <proto/backend.h>
#include <proto/queue.h>
static inline void fwrr_remove_from_tree(struct server *s);
*
*/
+#include <haproxy/backend.h>
#include <haproxy/api.h>
#include <haproxy/lb_map.h>
#include <import/eb32tree.h>
#include <types/server.h>
-
-#include <proto/backend.h>
#include <proto/queue.h>
/* this function updates the map according to server <srv>'s new state.
#include <haproxy/capture-t.h>
-#include <proto/backend.h>
#include <haproxy/fd.h>
#include <haproxy/proto_tcp.h>
#include <proto/server.h>
* - a pendconn_add() is only performed by the stream which will own the
* pendconn ; the pendconn is allocated at this moment and returned ; it is
* added to either the server or the proxy's queue while holding this
- * queue's lock.
+s * queue's lock.
*
* - the pendconn is then met by a thread walking over the proxy or server's
* queue with the respective lock held. This lock is exclusive and the
* - a pendconn doesn't switch between queues, it stays where it is.
*/
+#include <haproxy/backend.h>
#include <haproxy/api.h>
#include <haproxy/http_rules.h>
#include <haproxy/pool.h>
#include <errno.h>
#include <haproxy/applet-t.h>
+#include <haproxy/backend.h>
#include <haproxy/api.h>
#include <import/xxhash.h>
#include <sys/types.h>
#include <haproxy/applet-t.h>
+#include <haproxy/backend.h>
#include <haproxy/api.h>
#include <common/cfgparse.h>
#include <haproxy/channel.h>
#include <haproxy/version.h>
#include <haproxy/base64.h>
-#include <proto/backend.h>
#include <haproxy/fd.h>
#include <haproxy/freq_ctr.h>
#include <haproxy/pipe.h>
#include <haproxy/acl.h>
#include <haproxy/action.h>
#include <haproxy/applet.h>
+#include <haproxy/backend.h>
#include <haproxy/api.h>
#include <haproxy/capture.h>
#include <common/cfgparse.h>
#include <haproxy/activity.h>
#include <haproxy/arg.h>
-#include <proto/backend.h>
#include <haproxy/fd.h>
#include <haproxy/freq_ctr.h>
#include <proto/stream.h>