2008-08-06 18:36:30 +00:00
|
|
|
// This file is part of BOINC.
|
2008-03-20 03:13:30 +00:00
|
|
|
// http://boinc.berkeley.edu
|
|
|
|
// Copyright (C) 2008 University of California
|
|
|
|
//
|
2008-08-06 18:36:30 +00:00
|
|
|
// BOINC 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,
|
|
|
|
// either version 3 of the License, or (at your option) any later version.
|
2008-03-20 03:13:30 +00:00
|
|
|
//
|
2008-08-06 18:36:30 +00:00
|
|
|
// BOINC is distributed in the hope that it will be useful,
|
2008-03-20 03:13:30 +00:00
|
|
|
// 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.
|
|
|
|
//
|
2008-08-06 18:36:30 +00:00
|
|
|
// You should have received a copy of the GNU Lesser General Public License
|
|
|
|
// along with BOINC. If not, see <http://www.gnu.org/licenses/>.
|
2008-03-20 03:13:30 +00:00
|
|
|
|
|
|
|
#include "boinc_db.h"
|
|
|
|
#include "server_types.h"
|
|
|
|
|
2009-01-20 21:31:13 +00:00
|
|
|
// reasons for the planning function to reject a host
|
|
|
|
|
|
|
|
#define PLAN_REJECT_PREFS 1
|
|
|
|
#define PLAN_REJECT_NO_COPROC 2
|
|
|
|
#define PLAN_REJECT_COPROC_VERSION 3
|
|
|
|
#define PLAN_REJECT_COPROC_MEM 4
|
|
|
|
#define PLAN_REJECT_COPROC_SPEED 5
|
2009-01-23 19:36:17 +00:00
|
|
|
#define PLAN_REJECT_UNKNOWN 6
|
2009-01-20 21:31:13 +00:00
|
|
|
|
|
|
|
extern int app_plan(SCHEDULER_REQUEST&, char* plan_class, HOST_USAGE&);
|