|
xrootd
|
#include <XrdBwm.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 XrdSecEntity *client, const char *opaque=0) |
| int | exists (const char *fileName, XrdSfsFileExistence &exists_flag, XrdOucErrInfo &out_error, const XrdSecEntity *client, const char *opaque=0) |
| int | fsctl (const int cmd, const char *args, XrdOucErrInfo &out_error, const XrdSecEntity *client) |
| int | getStats (char *buff, int blen) |
| const char * | getVersion () |
| int | mkdir (const char *dirName, XrdSfsMode Mode, XrdOucErrInfo &out_error, const XrdSecEntity *client, const char *opaque=0) |
| int | prepare (XrdSfsPrep &pargs, XrdOucErrInfo &out_error, const XrdSecEntity *client=0) |
| int | rem (const char *path, XrdOucErrInfo &out_error, const XrdSecEntity *client, const char *info=0) |
| int | remdir (const char *dirName, XrdOucErrInfo &out_error, const XrdSecEntity *client, const char *info=0) |
| int | rename (const char *oldFileName, const char *newFileName, XrdOucErrInfo &out_error, const XrdSecEntity *client, const char *infoO=0, const char *infoN=0) |
| int | stat (const char *Name, struct stat *buf, XrdOucErrInfo &out_error, const XrdSecEntity *client, const char *opaque=0) |
| int | stat (const char *Name, mode_t &mode, XrdOucErrInfo &out_error, const XrdSecEntity *client, const char *opaque=0) |
| int | truncate (const char *Name, XrdSfsFileOffset fileOffset, XrdOucErrInfo &out_error, const XrdSecEntity *client=0, const char *opaque=0) |
| virtual int | Configure (XrdSysError &) |
| XrdBwm () | |
| virtual | ~XrdBwm () |
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 void | Connect (const XrdSecEntity *client=0) |
| virtual void | Disc (const XrdSecEntity *client=0) |
| virtual void | EnvInfo (XrdOucEnv *envP) |
| 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 | getChkPSize () |
| virtual int | gpFile (gpfFunc &gpAct, XrdSfsGPFile &gpReq, XrdOucErrInfo &eInfo, const XrdSecEntity *client=0) |
| XrdSfsFileSystem () | |
| Constructor and Destructor. More... | |
| virtual | ~XrdSfsFileSystem () |
Public Attributes | |
| XrdVersionInfo * | myVersion |
| char * | ConfigFN |
| char * | HostName |
| char * | HostPref |
| char * | myDomain |
| int | myDomLen |
| char | Authorize |
| char | Reserved [7] |
Protected Member Functions | |
| virtual int | ConfigXeq (char *var, XrdOucStream &, XrdSysError &) |
| int | Emsg (const char *, XrdOucErrInfo &, int, const char *, const char *y="") |
| int | Emsg (const char *, XrdOucErrInfo &, const char *, const char *, const char *y="") |
| int | Stall (XrdOucErrInfo &, int, const char *) |
Private Member Functions | |
| int | remove (const char type, const char *path, XrdOucErrInfo &out_error, const XrdSecEntity *client, const char *opaque) |
| int | setupAuth (XrdSysError &) |
| int | setupPolicy (XrdSysError &) |
| int | xalib (XrdOucStream &, XrdSysError &) |
| int | xlog (XrdOucStream &, XrdSysError &) |
| int | xpol (XrdOucStream &, XrdSysError &) |
| int | xtrace (XrdOucStream &, XrdSysError &) |
Private Attributes | |
| XrdAccAuthorize * | Authorization |
| char * | AuthLib |
| char * | AuthParm |
| XrdBwmLogger * | Logger |
| XrdBwmPolicy * | Policy |
| char * | PolLib |
| char * | PolParm |
| char * | locResp |
| int | locRlen |
| int | PolSlotsIn |
| int | PolSlotsOut |
| XrdSysMutex | ocMutex |
Static Private Attributes | |
| static XrdBwmHandle * | dummyHandle |
Friends | |
| class | XrdBwmDirectory |
| class | XrdBwmFile |
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. More... | |
| XrdBwm::XrdBwm | ( | ) |
|
inlinevirtual |
|
virtual |
Change file mode settings.
| path | - Pointer to the path of the file in question. |
| mode | - The new file mode setting. |
| eInfo | - The object where error info or results are to be returned. |
| client | - Client's identify (see common description). |
| opaque | - Path's CGI information (see common description). |
Implements XrdSfsFileSystem.
|
virtual |
|
protectedvirtual |
|
protected |
|
protected |
|
virtual |
Return directory/file existence information (short stat).
| path | - Pointer to the path of the file/directory in question. |
| eFlag | - Where the results are to be returned. |
| 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.
|
virtual |
Perform a filesystem control operation (version 1)
| cmd | - The operation to be performed: SFS_FSCTL_LOCATE Locate a file or file servers SFS_FSCTL_STATCC Return cluster config status SFS_FSCTL_STATFS Return physical filesystem information SFS_FSCTL_STATLS Return logical filesystem information SFS_FSCTL_STATXA Return extended attributes |
| args | - Arguments specific to cmd. SFS_FSCTL_LOCATE args points to the path to be located "" path is the first exported path "*" return all current servers "*‍/" return servers exporting path o/w return servers having the path SFS_FSCTL_STATFS Path in the filesystem in question. SFS_FSCTL_STATLS Path in the filesystem in question. SFS_FSCTL_STATXA Path of the file whose xattr is wanted. |
| eInfo | - The object where error info or results are to be returned. |
| client | - Client's identify (see common description). |
Implements XrdSfsFileSystem.
|
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.
|
virtual |
Create a directory.
| path | - Pointer to the path of the directory to be created. |
| mode | - The directory mode setting. |
| 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.
|
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.
References XrdBwmDirectory.
|
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.
References XrdBwmFile.
|
virtual |
Prepare a file for future processing.
| pargs | - The preapre arguments. |
| eInfo | - The object where error info is to be returned. |
| client | - Client's identify (see common description). |
Implements XrdSfsFileSystem.
|
inlinevirtual |
Remove a file.
| path | - Pointer to the path of the file to be removed. |
| 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.
References remove().
|
inlinevirtual |
Remove a directory.
| path | - Pointer to the path of the directory to be removed. |
| 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.
References remove().
|
private |
|
virtual |
Rename a file or directory.
| oPath | - Pointer to the path to be renamed. |
| nPath | - Pointer to the path oPath is to have. |
| eInfo | - The object where error info is to be returned. |
| client | - Client's identify (see common description). |
| opaqueO | - oPath's CGI information (see common description). |
| opaqueN | - nPath's CGI information (see common description). |
Implements XrdSfsFileSystem.
|
private |
|
private |
|
protected |
|
virtual |
Return mode information on a file or directory.
| path | - Pointer to the path in question. |
| mode | - Where full mode information is to be returned. |
| 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.
|
virtual |
Return state information on a file or directory.
| path | - Pointer to the path in question. |
| buf | - Pointer to the structure where info it to be returned. |
| 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.
|
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.
|
private |
|
private |
|
private |
|
private |
|
friend |
Referenced by newDir().
|
friend |
Referenced by newFile().
|
private |
|
private |
| char XrdBwm::Authorize |
|
private |
| char* XrdBwm::ConfigFN |
|
staticprivate |
| char* XrdBwm::HostName |
| char* XrdBwm::HostPref |
|
private |
|
private |
|
private |
| char* XrdBwm::myDomain |
| int XrdBwm::myDomLen |
| XrdVersionInfo* XrdBwm::myVersion |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
| char XrdBwm::Reserved[7] |