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

Static Public Attributes

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

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.
Definition: XrdSfsFAttr.hh:80
XrdSfsFABuff * fabP
-> Additional memory that was allocated
Definition: XrdSfsFAttr.hh:79
const char * pfnP
The file path to act on (physical)
Definition: XrdSfsFAttr.hh:76
const char * path
The file path to act on (logical)
Definition: XrdSfsFAttr.hh:74
unsigned char rqst
Type of file attribute request (see below)
Definition: XrdSfsFAttr.hh:82
const char * pcgi
Opaque information (null if none)
Definition: XrdSfsFAttr.hh:75
XrdOucEnv * envP
Optional environmental information.
Definition: XrdSfsFAttr.hh:78
XrdSfsFAInfo * info
Pointer to attribute information.
Definition: XrdSfsFAttr.hh:77
unsigned char opts
Request options (see below)
Definition: XrdSfsFAttr.hh:83
unsigned short iNum
Number of info entries.
Definition: XrdSfsFAttr.hh:81

References nPfx.

◆ ~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
Definition: XrdSfsFAttr.hh:61

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 XrdOfs::FAttr().

◆ fabP

XrdSfsFABuff* XrdSfsFACtl::fabP

-> Additional memory that was allocated

Definition at line 79 of file XrdSfsFAttr.hh.

Referenced by ~XrdSfsFACtl().

◆ info

XrdSfsFAInfo* XrdSfsFACtl::info

Pointer to attribute information.

Definition at line 77 of file XrdSfsFAttr.hh.

Referenced by ~XrdSfsFACtl().

◆ iNum

unsigned short XrdSfsFACtl::iNum

Number of info entries.

Definition at line 81 of file XrdSfsFAttr.hh.

◆ 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 XrdOfs::FAttr().

◆ path

const char* XrdSfsFACtl::path

The file path to act on (logical)

Definition at line 74 of file XrdSfsFAttr.hh.

Referenced by XrdOfs::FAttr().

◆ pcgi

const char* XrdSfsFACtl::pcgi

Opaque information (null if none)

Definition at line 75 of file XrdSfsFAttr.hh.

Referenced by XrdOfs::FAttr().

◆ pfnP

const char* XrdSfsFACtl::pfnP

The file path to act on (physical)

Definition at line 76 of file XrdSfsFAttr.hh.

Referenced by 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 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: