REORG: include: move lb_fas.h to haproxy/lb_fas{,-t}.h

Nothing fancy, includes were already OK. The proto didn't reference the
type, this was fixed. Still references proxy.h and server.h from types/.
This commit is contained in:
Willy Tarreau
2020-06-04 14:37:38 +02:00
parent fbe8da3320
commit b5fc3bf6dc
5 changed files with 12 additions and 12 deletions

View File

@@ -23,10 +23,10 @@
#define _TYPES_BACKEND_H
#include <haproxy/lb_chash-t.h>
#include <haproxy/lb_fas-t.h>
#include <haproxy/api-t.h>
#include <haproxy/thread.h>
#include <types/lb_fas.h>
#include <types/lb_fwlc.h>
#include <types/lb_fwrr.h>
#include <types/lb_map.h>

View File

@@ -1,40 +0,0 @@
/*
* include/types/lb_fash
* Types for First Available Server load balancing algorithm.
*
* Copyright (C) 2000-2012 Willy Tarreau - w@1wt.eu
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation, version 2.1
* exclusively.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef _TYPES_LB_FAS_H
#define _TYPES_LB_FAS_H
#include <haproxy/api-t.h>
#include <import/ebtree.h>
struct lb_fas {
struct eb_root act; /* weighted least conns on the active servers */
struct eb_root bck; /* weighted least conns on the backup servers */
};
#endif /* _TYPES_LB_FAS_H */
/*
* Local variables:
* c-indent-level: 8
* c-basic-offset: 8
* End:
*/