mirror of
https://github.com/BOINC/boinc.git
synced 2025-02-26 20:45:07 +00:00

A "remote input file" is located on a data server other than the project server. Previously these could be specified only in the input template, which was of limited utility. Add new ways of specifying remote input files: 1) in the create_work program, a remote input file can be specified with command-line args --remote_file name URL nbytes MD5 or by the same syntax in stdin when creating multiple jobs 2) add a variant of create_work() called create_work2(), which takes a vector of INFILE_DESC structures that can specify either local or remote files
37 lines
1.1 KiB
C++
37 lines
1.1 KiB
C++
// This file is part of BOINC.
|
|
// http://boinc.berkeley.edu
|
|
// Copyright (C) 2011 University of California
|
|
//
|
|
// 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.
|
|
//
|
|
// BOINC 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 BOINC. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
#ifndef _PROCESS_INPUT_TEMPLATE_
|
|
#define _PROCESS_INPUT_TEMPLATE_
|
|
|
|
#include <vector>
|
|
|
|
#include "boinc_db.h"
|
|
#include "sched_config.h"
|
|
#include "backend_lib.h"
|
|
|
|
extern int process_input_template(
|
|
WORKUNIT& wu,
|
|
char* tmplate,
|
|
std::vector<INFILE_DESC> &infiles,
|
|
SCHED_CONFIG& config_loc,
|
|
const char* command_line,
|
|
const char* additional_xml
|
|
);
|
|
|
|
#endif
|