XRootD
Loading...
Searching...
No Matches
XrdSfsFACtl Struct Reference

#include <XrdSfsFAttr.hh>

+ Collaboration diagram for XrdSfsFACtl:

Public Types

enum  RQST : char {
  faDel = 0 ,
  faGet ,
  faLst ,
  faSet ,
  faFence
}
 

Public Member Functions

 XrdSfsFACtl (const char *p, const char *opq, int anum)
 
 ~XrdSfsFACtl ()
 

Public Attributes

XrdOucEnvenvP
 Optional environmental information.
 
XrdSfsFABufffabP
 -> Additional memory that was allocated
 
XrdSfsFAInfoinfo
 Pointer to attribute information.
 
unsigned short iNum
 Number of info entries.
 
char nPfx [2]
 The namespace being used.
 
unsigned char opts
 Request options (see below)
 
const char * path
 The file path to act on (logical)
 
const char * pcgi
 Opaque information (null if none)
 
const char * pfnP
 The file path to act on (physical)
 
unsigned char rqst
 Type of file attribute request (see below)
 

Static Public Attributes

static const int accChk = 0x01
 Perform access check.
 
static const int newAtr = 0x02
 For set the attribute must not exist.
 
static const int retval = 0x1c
 Above plus return actual attr value.
 
static const int retvsz = 0x0c
 Above plus return size of attr value.
 
static const int xplode = 0x04
 Construct an info vec from faList.
 

Detailed Description

Definition at line 72 of file XrdSfsFAttr.hh.

Member Enumeration Documentation

◆ RQST

enum XrdSfsFACtl::RQST : char
Enumerator
faDel 
faGet 
faLst 
faSet 
faFence 

Definition at line 85 of file XrdSfsFAttr.hh.

Constructor & Destructor Documentation

◆ XrdSfsFACtl()

XrdSfsFACtl::XrdSfsFACtl ( const char * p,
const char * opq,
int anum )
inline

Definition at line 93 of file XrdSfsFAttr.hh.

94 : path(p), pcgi(opq), pfnP(0), info(0), envP(0),
95 fabP(0), iNum(anum), rqst(255), opts(0)
96 {nPfx[0] = 0; nPfx[1] = 0;}
char nPfx[2]
The namespace being used.
XrdSfsFABuff * fabP
-> Additional memory that was allocated
const char * pfnP
The file path to act on (physical)
const char * path
The file path to act on (logical)
unsigned char rqst
Type of file attribute request (see below)
const char * pcgi
Opaque information (null if none)
XrdOucEnv * envP
Optional environmental information.
XrdSfsFAInfo * info
Pointer to attribute information.
unsigned char opts
Request options (see below)
unsigned short iNum
Number of info entries.

References envP, fabP, info, iNum, nPfx, opts, path, pcgi, pfnP, and rqst.

◆ ~XrdSfsFACtl()

XrdSfsFACtl::~XrdSfsFACtl ( )
inline

Definition at line 98 of file XrdSfsFAttr.hh.

98 {XrdSfsFABuff *dP, *nP = fabP;
99 while((dP = nP)) {nP = nP->next; free(dP);}
100 if (info) delete [] info;
101 }
XrdSfsFABuff * next

References fabP, info, and XrdSfsFABuff::next.

Member Data Documentation

◆ accChk

const int XrdSfsFACtl::accChk = 0x01
static

Perform access check.

Definition at line 87 of file XrdSfsFAttr.hh.

Referenced by XrdOfs::FAttr().

◆ envP

XrdOucEnv* XrdSfsFACtl::envP

Optional environmental information.

Definition at line 78 of file XrdSfsFAttr.hh.

Referenced by XrdSfsFACtl(), and XrdOfs::FAttr().

◆ fabP

XrdSfsFABuff* XrdSfsFACtl::fabP

-> Additional memory that was allocated

Definition at line 79 of file XrdSfsFAttr.hh.

Referenced by XrdSfsFACtl(), and ~XrdSfsFACtl().

◆ info

XrdSfsFAInfo* XrdSfsFACtl::info

Pointer to attribute information.

Definition at line 77 of file XrdSfsFAttr.hh.

Referenced by XrdSfsFACtl(), and ~XrdSfsFACtl().

◆ iNum

unsigned short XrdSfsFACtl::iNum

Number of info entries.

Definition at line 81 of file XrdSfsFAttr.hh.

Referenced by XrdSfsFACtl().

◆ newAtr

const int XrdSfsFACtl::newAtr = 0x02
static

For set the attribute must not exist.

Definition at line 88 of file XrdSfsFAttr.hh.

◆ nPfx

char XrdSfsFACtl::nPfx[2]

The namespace being used.

Definition at line 80 of file XrdSfsFAttr.hh.

Referenced by XrdSfsFACtl().

◆ opts

unsigned char XrdSfsFACtl::opts

Request options (see below)

Definition at line 83 of file XrdSfsFAttr.hh.

Referenced by XrdSfsFACtl(), and XrdOfs::FAttr().

◆ path

const char* XrdSfsFACtl::path

The file path to act on (logical)

Definition at line 74 of file XrdSfsFAttr.hh.

Referenced by XrdSfsFACtl(), and XrdOfs::FAttr().

◆ pcgi

const char* XrdSfsFACtl::pcgi

Opaque information (null if none)

Definition at line 75 of file XrdSfsFAttr.hh.

Referenced by XrdSfsFACtl(), and XrdOfs::FAttr().

◆ pfnP

const char* XrdSfsFACtl::pfnP

The file path to act on (physical)

Definition at line 76 of file XrdSfsFAttr.hh.

Referenced by XrdSfsFACtl(), and XrdOfs::FAttr().

◆ retval

const int XrdSfsFACtl::retval = 0x1c
static

Above plus return actual attr value.

Definition at line 91 of file XrdSfsFAttr.hh.

◆ retvsz

const int XrdSfsFACtl::retvsz = 0x0c
static

Above plus return size of attr value.

Definition at line 90 of file XrdSfsFAttr.hh.

◆ rqst

unsigned char XrdSfsFACtl::rqst

Type of file attribute request (see below)

Definition at line 82 of file XrdSfsFAttr.hh.

Referenced by XrdSfsFACtl(), and XrdOfs::FAttr().

◆ xplode

const int XrdSfsFACtl::xplode = 0x04
static

Construct an info vec from faList.

Definition at line 89 of file XrdSfsFAttr.hh.


The documentation for this struct was generated from the following file: