/*
- * include/types/lb_fwrr.h
+ * include/haproxy/lb_fwrr-t.h
* Types for Fast Weighted Round Robin load balancing algorithm.
*
* Copyright (C) 2000-2009 Willy Tarreau - w@1wt.eu
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef _TYPES_LB_FWRR_H
-#define _TYPES_LB_FWRR_H
+#ifndef _HAPROXY_LB_FWRR_T_H
+#define _HAPROXY_LB_FWRR_T_H
-#include <haproxy/api-t.h>
#include <import/ebtree.h>
/* This structure is used to apply fast weighted round robin on a server group */
struct fwrr_group bck; /* weighted round robin on the backup servers */
};
-#endif /* _TYPES_LB_FWRR_H */
+#endif /* _HAPROXY_LB_FWRR_T_H */
/*
* Local variables:
/*
- * include/proto/lb_fwrr.h
+ * include/haproxy/lb_fwrr.h
* Fast Weighted Round Robin load balancing algorithm.
*
* Copyright (C) 2000-2009 Willy Tarreau - w@1wt.eu
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef _PROTO_LB_FWRR_H
-#define _PROTO_LB_FWRR_H
+#ifndef _HAPROXY_LB_FWRR_H
+#define _HAPROXY_LB_FWRR_H
#include <haproxy/api.h>
+#include <haproxy/lb_fwrr-t.h>
#include <types/proxy.h>
#include <types/server.h>
void fwrr_init_server_groups(struct proxy *p);
struct server *fwrr_get_next_server(struct proxy *p, struct server *srvtoavoid);
-#endif /* _PROTO_LB_FWRR_H */
+#endif /* _HAPROXY_LB_FWRR_H */
/*
* Local variables:
#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/api-t.h>
#include <haproxy/thread.h>
-#include <types/lb_fwrr.h>
#include <types/lb_map.h>
#include <types/server.h>
#include <haproxy/lb_chash.h>
#include <haproxy/lb_fas.h>
#include <haproxy/lb_fwlc.h>
+#include <haproxy/lb_fwrr.h>
#include <haproxy/obj_type.h>
#include <haproxy/ticks.h>
#include <haproxy/time.h>
#include <proto/backend.h>
#include <proto/channel.h>
#include <proto/checks.h>
-#include <proto/lb_fwrr.h>
#include <proto/lb_map.h>
#include <proto/log.h>
#include <proto/payload.h>
#include <haproxy/lb_chash.h>
#include <haproxy/lb_fas.h>
#include <haproxy/lb_fwlc.h>
+#include <haproxy/lb_fwrr.h>
#include <haproxy/mailers-t.h>
#include <haproxy/obj_type-t.h>
#include <haproxy/pool.h>
#include <proto/checks.h>
#include <proto/stats.h>
#include <proto/filters.h>
-#include <proto/lb_fwrr.h>
#include <proto/lb_map.h>
#include <proto/listener.h>
#include <proto/log.h>