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 272 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 394 of file XrdOssApi.hh.

394#define Check_RO(act, flags, path, opname) \
395 XRDEXP_REMOTE & (flags = PathOpts(path)); \
396 if (flags & XRDEXP_NOTRW) \
397 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 399 of file XrdOssApi.hh.

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

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

◆ spAssign

#define spAssign   1