mirror of https://github.com/BOINC/boinc.git
Drupal: Add pass-through wrappers for job file input and output
https://dev.gridrepublic.org/browse/DBOINCP-184
This commit is contained in:
parent
5c107dbfdd
commit
1f25997d33
|
@ -132,6 +132,18 @@ function boincwork_menu() {
|
|||
'access arguments' => array('access content'),
|
||||
'type' => MENU_CALLBACK
|
||||
);
|
||||
$items['job_file.php'] = array(
|
||||
'title' => 'Job file input',
|
||||
'page callback' => 'boincwork_job_file',
|
||||
'access arguments' => array('access content'),
|
||||
'type' => MENU_CALLBACK
|
||||
);
|
||||
$items['get_output.php'] = array(
|
||||
'title' => 'Get output file',
|
||||
'page callback' => 'boincwork_get_output',
|
||||
'access arguments' => array('access content'),
|
||||
'type' => MENU_CALLBACK
|
||||
);
|
||||
$items['get_project_config.php'] = array(
|
||||
'title' => 'Project config',
|
||||
'page callback' => 'boincwork_get_project_config',
|
||||
|
@ -1043,6 +1055,22 @@ function boincwork_server_status() {
|
|||
include_boinc('user/server_status.php');
|
||||
}
|
||||
|
||||
/**
|
||||
* Page callback for the job input file RPC (job_file.php).
|
||||
* RPC for managing job input files
|
||||
*/
|
||||
function boincwork_job_file() {
|
||||
include_boinc('user/job_file.php');
|
||||
}
|
||||
|
||||
/**
|
||||
* Page callback for the output file request RPC (get_output.php).
|
||||
* Get output file from remote job submission
|
||||
*/
|
||||
function boincwork_get_output() {
|
||||
include_boinc('user/get_output.php');
|
||||
}
|
||||
|
||||
/**
|
||||
* Page callback for the project config RPC (get_project_config.php).
|
||||
* Get the project configuration XML; used by client software
|
||||
|
|
Loading…
Reference in New Issue