XRootD
Loading...
Searching...
No Matches
XrdOssApi.hh File Reference
#include <sys/types.h>
#include <cerrno>
#include "XrdSys/XrdSysHeaders.hh"
#include "XrdOss/XrdOss.hh"
#include "XrdOss/XrdOssConfig.hh"
#include "XrdOss/XrdOssError.hh"
#include "XrdOss/XrdOssStatInfo.hh"
#include "XrdOuc/XrdOucExport.hh"
#include "XrdOuc/XrdOucPList.hh"
#include "XrdOuc/XrdOucStream.hh"
#include "XrdSys/XrdSysError.hh"
#include "XrdSys/XrdSysPthread.hh"
+ Include dependency graph for XrdOssApi.hh:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  XrdOssDir
 
class  XrdOssFile
 
class  XrdOssSys
 
union  XrdOssSys.__unnamed0__
 

Macros

#define Check_RO(act, flags, path, opname)
 
#define Check_RW(act, path, opname)
 
#define spAssign   1
 

Class Documentation

◆ XrdOssSys.__unnamed0__

union XrdOssSys.__unnamed0__

Definition at line 265 of file XrdOssApi.hh.

+ Collaboration diagram for XrdOssSys.__unnamed0__:
Class Members
XrdOssStatInfo_t STT_Func
XrdOssStatInfo2_t STT_Fund

Macro Definition Documentation

◆ Check_RO

#define Check_RO ( act,
flags,
path,
opname )
Value:
XRDEXP_REMOTE & (flags = PathOpts(path)); \
if (flags & XRDEXP_NOTRW) \
return OssEroute.Emsg(#act, -XRDOSS_E8005, opname, path)
XrdSysError OssEroute
#define XRDOSS_E8005
#define XRDEXP_NOTRW
#define XRDEXP_REMOTE

Definition at line 387 of file XrdOssApi.hh.

387#define Check_RO(act, flags, path, opname) \
388 XRDEXP_REMOTE & (flags = PathOpts(path)); \
389 if (flags & XRDEXP_NOTRW) \
390 return OssEroute.Emsg(#act, -XRDOSS_E8005, opname, path)

Referenced by XrdOssSys::Create(), XrdOssSys::Remdir(), XrdOssSys::Rename(), and XrdOssSys::Unlink().

◆ Check_RW

#define Check_RW ( act,
path,
opname )
Value:
if (PathOpts(path) & XRDEXP_NOTRW) \
return OssEroute.Emsg(#act, -XRDOSS_E8005, opname, path)

Definition at line 392 of file XrdOssApi.hh.

392#define Check_RW(act, path, opname) \
393 if (PathOpts(path) & XRDEXP_NOTRW) \
394 return OssEroute.Emsg(#act, -XRDOSS_E8005, opname, path)

Referenced by XrdOssSys::Mkdir(), and XrdOssSys::Truncate().

◆ spAssign

#define spAssign   1