xrootd
Classes | Macros | Typedefs | Enumerations
XrdSfsInterface.hh File Reference
#include <string.h>
#include <errno.h>
#include <sys/types.h>
#include <sys/stat.h>
#include "XrdOuc/XrdOucErrInfo.hh"
#include "XrdOuc/XrdOucIOVec.hh"
#include "XrdOuc/XrdOucSFVec.hh"
Include dependency graph for XrdSfsInterface.hh:

Go to the source code of this file.

Classes

struct  XrdSfsFSctl
 < SFS_FSCTL_PLUGIN/PLUGIO parameters More...
 
struct  XrdSfsPrep
 < Prepare parameters More...
 

Macros

#define SFS_O_RDONLY   0
 
#define SFS_O_WRONLY   1
 
#define SFS_O_RDWR   2
 
#define SFS_O_CREAT   0x100
 
#define SFS_O_TRUNC   0x200
 
#define SFS_O_MULTIW   0x400
 
#define SFS_O_POSC   0x0100000
 
#define SFS_O_FORCE   0x0200000
 
#define SFS_O_HNAME   0x0400000
 
#define SFS_O_LOCAL   0x0800000
 
#define SFS_O_NOWAIT   0x01000000
 
#define SFS_O_RAWIO   0x02000000
 
#define SFS_O_RESET   0x04000000
 
#define SFS_O_REPLICA   0x08000000
 
#define SFS_O_MKPTH   0x00004000
 
#define SFS_O_LOCATE   0x10000000
 
#define SFS_O_STAT   0x20000000
 
#define SFS_O_META   0x40000000
 
#define SFS_FCTL_GETFD   1
 
#define SFS_FCTL_STATV   2
 
#define SFS_FCTL_SPEC1   3
 
#define SFS_SFIO_FDVAL   0x80000000
 
#define SFS_FSCTL_CMD   255
 
#define SFS_FSCTL_LOCATE   1
 
#define SFS_FSCTL_STATFS   2
 
#define SFS_FSCTL_STATLS   3
 
#define SFS_FSCTL_STATXA   4
 
#define SFS_FSCTL_STATCC   5
 
#define SFS_FSCTL_PLUGIN   8
 
#define SFS_FSCTL_PLUGIO   16
 
#define SFS_STALL   1
 
#define SFS_OK   0
 
#define SFS_ERROR   -1
 
#define SFS_REDIRECT   -256
 
#define SFS_STARTED   -512
 
#define SFS_DATA   -1024
 
#define SFS_DATAVEC   -2048
 
#define SFS_LCLPRFX   "/=/"
 
#define SFS_LCLPLEN   3
 
#define SFS_LCLPATH(x)   !strncmp(x, SFS_LCLPRFX, SFS_LCLPLEN)
 
#define SFS_LCLPRFY   "/="
 
#define SFS_LCLROOT(x)
 
#define Prep_PRTY0   0
 
#define Prep_PRTY1   1
 
#define Prep_PRTY2   2
 
#define Prep_PRTY3   3
 
#define Prep_PMASK   3
 
#define Prep_SENDAOK   4
 
#define Prep_SENDERR   8
 
#define Prep_SENDACK   12
 
#define Prep_WMODE   16
 
#define Prep_STAGE   32
 
#define Prep_COLOC   64
 
#define Prep_FRESH   128
 

Typedefs

typedef long long XrdSfsFileOffset
 
typedef int XrdSfsFileOpenMode
 
typedef int XrdSfsMode
 
typedef int XrdSfsXferSize
 

Enumerations

enum  XrdSfsFileExistence {
  XrdSfsFileExistNo, XrdSfsFileExistIsFile, XrdSfsFileExistIsDirectory, XrdSfsFileExistIsOffline,
  XrdSfsFileExistIsOther
}
 

Macro Definition Documentation

#define Prep_COLOC   64
#define Prep_FRESH   128
#define Prep_PMASK   3
#define Prep_PRTY0   0
#define Prep_PRTY1   1
#define Prep_PRTY2   2
#define Prep_PRTY3   3
#define Prep_SENDACK   12
#define Prep_SENDAOK   4
#define Prep_SENDERR   8
#define Prep_STAGE   32
#define Prep_WMODE   16
#define SFS_DATA   -1024
#define SFS_DATAVEC   -2048
#define SFS_ERROR   -1
#define SFS_FCTL_GETFD   1
#define SFS_FCTL_SPEC1   3
#define SFS_FCTL_STATV   2
#define SFS_FSCTL_CMD   255
#define SFS_FSCTL_LOCATE   1
#define SFS_FSCTL_PLUGIN   8
#define SFS_FSCTL_PLUGIO   16
#define SFS_FSCTL_STATCC   5
#define SFS_FSCTL_STATFS   2
#define SFS_FSCTL_STATLS   3
#define SFS_FSCTL_STATXA   4
#define SFS_LCLPATH (   x)    !strncmp(x, SFS_LCLPRFX, SFS_LCLPLEN)
#define SFS_LCLPLEN   3
#define SFS_LCLPRFX   "/=/"
#define SFS_LCLPRFY   "/="
#define SFS_LCLROOT (   x)
Value:
!strncmp(x, SFS_LCLPRFX, SFS_LCLPLEN-1) \
&& (*(x+SFS_LCLPLEN-1) == '/' || *(x+SFS_LCLPLEN-1) == 0)
#define SFS_LCLPRFX
Definition: XrdSfsInterface.hh:108
#define SFS_LCLPLEN
Definition: XrdSfsInterface.hh:109
#define SFS_O_CREAT   0x100
#define SFS_O_FORCE   0x0200000
#define SFS_O_HNAME   0x0400000
#define SFS_O_LOCAL   0x0800000
#define SFS_O_LOCATE   0x10000000
#define SFS_O_META   0x40000000
#define SFS_O_MKPTH   0x00004000
#define SFS_O_MULTIW   0x400
#define SFS_O_NOWAIT   0x01000000
#define SFS_O_POSC   0x0100000
#define SFS_O_RAWIO   0x02000000
#define SFS_O_RDONLY   0
#define SFS_O_RDWR   2
#define SFS_O_REPLICA   0x08000000
#define SFS_O_RESET   0x04000000
#define SFS_O_STAT   0x20000000
#define SFS_O_TRUNC   0x200
#define SFS_O_WRONLY   1
#define SFS_OK   0
#define SFS_REDIRECT   -256
#define SFS_SFIO_FDVAL   0x80000000
#define SFS_STALL   1
#define SFS_STARTED   -512

Typedef Documentation

typedef long long XrdSfsFileOffset
typedef int XrdSfsFileOpenMode
typedef int XrdSfsMode
typedef int XrdSfsXferSize

Enumeration Type Documentation

Enumerator
XrdSfsFileExistNo 
XrdSfsFileExistIsFile 
XrdSfsFileExistIsDirectory 
XrdSfsFileExistIsOffline 
XrdSfsFileExistIsOther