Nothing was changed.
/*
- * include/types/lb_map.h
+ * include/haproxy/lb_map-t.h
* Types for map-based load-balancing (RR and HASH)
*
* Copyright (C) 2000-2009 Willy Tarreau - w@1wt.eu
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef _TYPES_LB_MAP_H
-#define _TYPES_LB_MAP_H
+#ifndef _HAPROXY_LB_MAP_T_H
+#define _HAPROXY_LB_MAP_T_H
#include <haproxy/api-t.h>
#include <types/server.h>
int rr_idx; /* next server to be elected in round robin mode */
};
-#endif /* _TYPES_LB_MAP_H */
+#endif /* _HAPROXY_LB_MAP_T_H */
/*
* Local variables:
/*
- * include/proto/lb_map.h
+ * include/haproxy/lb_map.h
* Map-based load-balancing (RR and HASH)
*
* Copyright (C) 2000-2009 Willy Tarreau - w@1wt.eu
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef _PROTO_LB_MAP_H
-#define _PROTO_LB_MAP_H
+#ifndef _HAPROXY_LB_MAP_H
+#define _HAPROXY_LB_MAP_H
#include <haproxy/api.h>
#include <types/proxy.h>
struct server *map_get_server_rr(struct proxy *px, struct server *srvtoavoid);
struct server *map_get_server_hash(struct proxy *px, unsigned int hash);
-#endif /* _PROTO_LB_MAP_H */
+#endif /* _HAPROXY_LB_MAP_H */
/*
* Local variables:
#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/api-t.h>
#include <haproxy/thread.h>
-#include <types/lb_map.h>
#include <types/server.h>
/* Parameters for lbprm.algo */
#include <haproxy/lb_fas.h>
#include <haproxy/lb_fwlc.h>
#include <haproxy/lb_fwrr.h>
+#include <haproxy/lb_map.h>
#include <haproxy/obj_type.h>
#include <haproxy/payload.h>
#include <haproxy/session.h>
#include <haproxy/arg.h>
#include <proto/backend.h>
#include <proto/channel.h>
-#include <proto/lb_map.h>
#include <proto/log.h>
#include <haproxy/protocol.h>
#include <proto/http_ana.h>
#include <haproxy/lb_fas.h>
#include <haproxy/lb_fwlc.h>
#include <haproxy/lb_fwrr.h>
+#include <haproxy/lb_map.h>
#include <haproxy/listener.h>
#include <haproxy/mailers-t.h>
#include <haproxy/obj_type-t.h>
#include <proto/backend.h>
#include <proto/channel.h>
#include <proto/filters.h>
-#include <proto/lb_map.h>
#include <proto/log.h>
#include <haproxy/protocol.h>
#include <proto/http_ana.h>
*/
#include <haproxy/api.h>
+#include <haproxy/lb_map.h>
#include <import/eb32tree.h>
#include <types/server.h>
#include <proto/backend.h>
-#include <proto/lb_map.h>
#include <proto/queue.h>
/* this function updates the map according to server <srv>'s new state.