![]() |
ROOT
6.06/09
Reference Guide
|
#include "NetErrors.h"
#include "TCastorFile.h"
#include "TError.h"
#include <stdlib.h>
#include <errno.h>
#include <stage_api.h>
#include <rfio_api.h>
#include <Cns_api.h>
#include <Cglobals.h>
#include <rfio_constants.h>
Go to the source code of this file.
Macros | |
#define | RFIO_KERNEL |
#define | RFIO_USE_CASTOR_V2 "RFIO_USE_CASTOR_V2" |
#define | RFIO_HSM_BASETYPE 0x0 |
#define | RFIO_HSM_CNS RFIO_HSM_BASETYPE+1 |
Functions | |
int | rfio_HsmIf_reqtoput (char *) |
int | rfio_parse (char *, char **, char **) |
int | rfio_HsmIf_IsHsmFile (const char *) |
char * | getconfent (char *, char *, int) |
static int | UseCastor2API () |
static const char * | GetAuthProto (TString &url) |
Determine the authentication protocol to be tried first from the url string or from defaults. More... | |
ClassImp (TCastorFile) TCastorFile | |
Create a TCastorFile. More... | |
#define RFIO_HSM_BASETYPE 0x0 |
Definition at line 75 of file TCastorFile.cxx.
#define RFIO_HSM_CNS RFIO_HSM_BASETYPE+1 |
Definition at line 76 of file TCastorFile.cxx.
Referenced by TCastorFile::FindServerAndPath().
#define RFIO_KERNEL |
Definition at line 67 of file TCastorFile.cxx.
#define RFIO_USE_CASTOR_V2 "RFIO_USE_CASTOR_V2" |
Definition at line 74 of file TCastorFile.cxx.
Referenced by UseCastor2API().
ClassImp | ( | TCastorFile | ) |
Create a TCastorFile.
A TCastorFile is like a normal TNetFile except that it obtains the remote node (disk server) via the CASTOR API, once the disk server and the local file path are determined, the file will be accessed via the rootd daemon. File names have to be specified like: castor:/castor/cern.ch/user/r/rdm/bla.root. The other arguments are the same as for TNetFile and TFile.
Definition at line 157 of file TCastorFile.cxx.
|
static |
Determine the authentication protocol to be tried first from the url string or from defaults.
The auth option, if any, is removed from 'url'.
Definition at line 127 of file TCastorFile.cxx.
Referenced by ClassImp().
char* getconfent | ( | char * | , |
char * | , | ||
int | |||
) |
Referenced by UseCastor2API().
int rfio_HsmIf_IsHsmFile | ( | const char * | ) |
Referenced by TCastorFile::FindServerAndPath().
int rfio_HsmIf_reqtoput | ( | char * | ) |
Referenced by TCastorFile::SysClose().
int rfio_parse | ( | char * | , |
char ** | , | ||
char ** | |||
) |
Referenced by TCastorFile::FindServerAndPath().
|
static |
Definition at line 101 of file TCastorFile.cxx.
Referenced by TCastorFile::FindServerAndPath(), TCastorFile::SysClose(), and TCastorFile::WriteBuffer().