xrootd
|
#include <XrdSfsNative.hh>
Public Member Functions | |
XrdSfsDirectory * | newDir (char *user=0, int monid=0) |
XrdSfsFile * | newFile (char *user=0, int monid=0) |
int | chmod (const char *Name, XrdSfsMode Mode, XrdOucErrInfo &out_error, const XrdSecClientName *client=0, const char *opaque=0) |
int | exists (const char *fileName, XrdSfsFileExistence &exists_flag, XrdOucErrInfo &out_error, const XrdSecClientName *client=0, const char *opaque=0) |
int | fsctl (const int cmd, const char *args, XrdOucErrInfo &out_error, const XrdSecClientName *client=0) |
int | getStats (char *buff, int blen) |
const char * | getVersion () |
int | mkdir (const char *dirName, XrdSfsMode Mode, XrdOucErrInfo &out_error, const XrdSecClientName *client=0, const char *opaque=0) |
int | prepare (XrdSfsPrep &pargs, XrdOucErrInfo &out_error, const XrdSecClientName *client=0) |
int | rem (const char *path, XrdOucErrInfo &out_error, const XrdSecClientName *client=0, const char *opaque=0) |
int | remdir (const char *dirName, XrdOucErrInfo &out_error, const XrdSecClientName *client=0, const char *opaque=0) |
int | rename (const char *oldFileName, const char *newFileName, XrdOucErrInfo &out_error, const XrdSecClientName *client=0, const char *opaqueO=0, const char *opaqueN=0) |
int | stat (const char *Name, struct stat *buf, XrdOucErrInfo &out_error, const XrdSecClientName *client=0, const char *opaque=0) |
int | stat (const char *Name, mode_t &mode, XrdOucErrInfo &out_error, const XrdSecClientName *client=0, const char *opaque=0) |
int | truncate (const char *Name, XrdSfsFileOffset fileOffset, XrdOucErrInfo &out_error, const XrdSecEntity *client=0, const char *opaque=0) |
XrdSfsNative (XrdSysError *lp) | |
virtual | ~XrdSfsNative () |
Public Member Functions inherited from XrdSfsFileSystem | |
virtual XrdSfsDirectory * | newDir (XrdOucErrInfo &eInfo) |
virtual XrdSfsFile * | newFile (XrdOucErrInfo &eInfo) |
virtual int | chksum (csFunc Func, const char *csName, const char *path, XrdOucErrInfo &eInfo, const XrdSecEntity *client=0, const char *opaque=0) |
virtual int | chmod (const char *path, XrdSfsMode mode, XrdOucErrInfo &eInfo, const XrdSecEntity *client=0, const char *opaque=0)=0 |
virtual void | Connect (const XrdSecEntity *client=0) |
virtual void | Disc (const XrdSecEntity *client=0) |
virtual void | EnvInfo (XrdOucEnv *envP) |
virtual int | exists (const char *path, XrdSfsFileExistence &eFlag, XrdOucErrInfo &eInfo, const XrdSecEntity *client=0, const char *opaque=0)=0 |
virtual int | FAttr (XrdSfsFACtl *faReq, XrdOucErrInfo &eInfo, const XrdSecEntity *client=0) |
uint64_t | Features () |
virtual int | FSctl (const int cmd, XrdSfsFSctl &args, XrdOucErrInfo &eInfo, const XrdSecEntity *client=0) |
virtual int | fsctl (const int cmd, const char *args, XrdOucErrInfo &eInfo, const XrdSecEntity *client=0)=0 |
virtual int | getChkPSize () |
virtual int | gpFile (gpfFunc &gpAct, XrdSfsGPFile &gpReq, XrdOucErrInfo &eInfo, const XrdSecEntity *client=0) |
virtual int | mkdir (const char *path, XrdSfsMode mode, XrdOucErrInfo &eInfo, const XrdSecEntity *client=0, const char *opaque=0)=0 |
virtual int | prepare (XrdSfsPrep &pargs, XrdOucErrInfo &eInfo, const XrdSecEntity *client=0)=0 |
virtual int | rem (const char *path, XrdOucErrInfo &eInfo, const XrdSecEntity *client=0, const char *opaque=0)=0 |
virtual int | remdir (const char *path, XrdOucErrInfo &eInfo, const XrdSecEntity *client=0, const char *opaque=0)=0 |
virtual int | rename (const char *oPath, const char *nPath, XrdOucErrInfo &eInfo, const XrdSecEntity *client=0, const char *opaqueO=0, const char *opaqueN=0)=0 |
virtual int | stat (const char *Name, struct stat *buf, XrdOucErrInfo &eInfo, const XrdSecEntity *client=0, const char *opaque=0)=0 |
virtual int | stat (const char *path, mode_t &mode, XrdOucErrInfo &eInfo, const XrdSecEntity *client=0, const char *opaque=0)=0 |
XrdSfsFileSystem () | |
Constructor and Destructor. | |
virtual | ~XrdSfsFileSystem () |
Static Public Member Functions | |
static int | Mkpath (const char *path, mode_t mode, const char *info=0) |
static int | Emsg (const char *, XrdOucErrInfo &, int, const char *x, const char *y="") |
Static Private Attributes | |
static XrdSysError * | eDest |
Additional Inherited Members | |
Public Types inherited from XrdSfsFileSystem | |
enum | csFunc { csCalc = 0 , csGet , csSize } |
enum | gpfFunc { gpfCancel =0 , gpfGet , gpfPut } |
Protected Attributes inherited from XrdSfsFileSystem | |
uint64_t | FeatureSet |
Adjust features at initialization. | |
XrdSfsNative::XrdSfsNative | ( | XrdSysError * | lp | ) |
|
inlinevirtual |
int XrdSfsNative::chmod | ( | const char * | Name, |
XrdSfsMode | Mode, | ||
XrdOucErrInfo & | out_error, | ||
const XrdSecClientName * | client = 0 , |
||
const char * | opaque = 0 |
||
) |
|
static |
int XrdSfsNative::exists | ( | const char * | fileName, |
XrdSfsFileExistence & | exists_flag, | ||
XrdOucErrInfo & | out_error, | ||
const XrdSecClientName * | client = 0 , |
||
const char * | opaque = 0 |
||
) |
int XrdSfsNative::fsctl | ( | const int | cmd, |
const char * | args, | ||
XrdOucErrInfo & | out_error, | ||
const XrdSecClientName * | client = 0 |
||
) |
|
inlinevirtual |
Return statistical information.
buff | - Pointer to the buffer where results are to be returned. Statistics should be in standard XML format. If buff is nil then only maximum size information is wanted. |
blen | - The length available in buff. |
Implements XrdSfsFileSystem.
|
virtual |
Get version string.
Implements XrdSfsFileSystem.
int XrdSfsNative::mkdir | ( | const char * | dirName, |
XrdSfsMode | Mode, | ||
XrdOucErrInfo & | out_error, | ||
const XrdSecClientName * | client = 0 , |
||
const char * | opaque = 0 |
||
) |
|
static |
|
inlinevirtual |
Obtain a new director object to be used for future directory requests.
user | - Text identifying the client responsible for this call. The pointer may be null if identification is missing. |
MonID | - The monitoring identifier assigned to this and all future requests using the returned object. |
Implements XrdSfsFileSystem.
|
inlinevirtual |
Obtain a new file object to be used for a future file requests.
user | - Text identifying the client responsible for this call. The pointer may be null if identification is missing. |
MonID | - The monitoring identifier assigned to this and all future requests using the returned object. |
Implements XrdSfsFileSystem.
|
inline |
int XrdSfsNative::rem | ( | const char * | path, |
XrdOucErrInfo & | out_error, | ||
const XrdSecClientName * | client = 0 , |
||
const char * | opaque = 0 |
||
) |
int XrdSfsNative::remdir | ( | const char * | dirName, |
XrdOucErrInfo & | out_error, | ||
const XrdSecClientName * | client = 0 , |
||
const char * | opaque = 0 |
||
) |
int XrdSfsNative::rename | ( | const char * | oldFileName, |
const char * | newFileName, | ||
XrdOucErrInfo & | out_error, | ||
const XrdSecClientName * | client = 0 , |
||
const char * | opaqueO = 0 , |
||
const char * | opaqueN = 0 |
||
) |
|
inline |
References stat.
int XrdSfsNative::stat | ( | const char * | Name, |
struct stat * | buf, | ||
XrdOucErrInfo & | out_error, | ||
const XrdSecClientName * | client = 0 , |
||
const char * | opaque = 0 |
||
) |
|
virtual |
Truncate a file.
path | - Pointer to the path of the file to be truncated. |
fsize | - The size that the file is to have. |
eInfo | - The object where error info is to be returned. |
client | - Client's identify (see common description). |
opaque | - path's CGI information (see common description). |
Implements XrdSfsFileSystem.
|
staticprivate |