File indexing completed on 2025-01-18 10:15:38
0001 #ifndef __XRDOUCEXPORT_HH_
0002 #define __XRDOUCEXPORT_HH_
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029
0030
0031
0032
0033 #include "XrdSys/XrdSysError.hh"
0034 #include "XrdOuc/XrdOucPList.hh"
0035 #include "XrdOuc/XrdOucStream.hh"
0036
0037
0038
0039
0040
0041
0042 #define XRDEXP_READONLY 0x0000000000000001LL
0043 #define XRDEXP_FORCERO 0x0000000000000002LL
0044 #define XRDEXP_ROW_X 0x0000000300000000LL
0045 #define XRDEXP_NOTRW 0x0000000000000003LL
0046 #define XRDEXP_NODREAD 0x0000000000000004LL
0047 #define XRDEXP_DREAD_X 0x0000000400000000LL
0048 #define XRDEXP_RCREATE 0x0000000000000008LL
0049 #define XRDEXP_RCREATE_X 0x0000000800000000LL
0050 #define XRDEXP_NOCHECK 0x0000000000000010LL
0051 #define XRDEXP_CHECK_X 0x0000001000000000LL
0052 #define XRDEXP_STAGE 0x0000000000000020LL
0053 #define XRDEXP_STAGE_X 0x0000002000000000LL
0054 #define XRDEXP_MIG 0x0000000000000400LL
0055 #define XRDEXP_MIG_X 0x0000040000000000LL
0056 #define XRDEXP_MMAP 0x0000000000000800LL
0057 #define XRDEXP_MMAP_X 0x0000080000000000LL
0058 #define XRDEXP_MLOK 0x0000000000001000LL
0059 #define XRDEXP_MLOK_X 0x0000100000000000LL
0060 #define XRDEXP_MKEEP 0x0000000000002000LL
0061 #define XRDEXP_MKEEP_X 0x0000200000000000LL
0062 #define XRDEXP_PURGE 0x0000000000004000LL
0063 #define XRDEXP_PURGE_X 0x0000400000000000LL
0064 #define XRDEXP_NOXATTR 0x0000000000008000LL
0065 #define XRDEXP_NOXATTR_X 0x0000800000000000LL
0066 #define XRDEXP_INPLACE 0x0000000000010000LL
0067 #define XRDEXP_INPLACE_X 0x0001000000000000LL
0068 #define XRDEXP_MWMODE 0x0000000000020000LL
0069 #define XRDEXP_MWMODE_X 0x0002000000000000LL
0070 #define XRDEXP_PFCACHE 0x0000000000040000LL
0071 #define XRDEXP_PFCACHE_X 0x0004000000000000LL
0072 #define XRDEXP_LOCAL 0x0000000000080000LL
0073 #define XRDEXP_LOCAL_X 0x0008000000000000LL
0074 #define XRDEXP_GLBLRO 0x0000000000100000LL
0075 #define XRDEXP_GLBLRO_X 0x0018000000000000LL
0076 #define XRDEXP_STAGEMM 0x0000000000200020LL
0077
0078
0079
0080 #define XRDEXP_AVAILABLE 0xff000000ff000000LL
0081 #define XRDEXP_MASKSHIFT 32
0082 #define XRDEXP_SETTINGS 0x00000000ffffffffLL
0083
0084 #define XRDEXP_MEMAP 0x0000000000003800LL
0085 #define XRDEXP_REMOTE 0x0000000000000420LL
0086 #define XRDEXP_MIGPRG 0x0000000000004400LL
0087
0088 #define XRDEXP_ROOTDIR 0x0000000001000000LL
0089
0090
0091
0092
0093 #define XRDEXP_NOLK 0LL
0094 #define XRDEXP_NOLK_X 0LL
0095
0096
0097
0098
0099
0100 class XrdOucPListAnchor;
0101
0102 class XrdOucExport
0103 {
0104 public:
0105
0106 static unsigned long long ParseDefs(XrdOucStream &Config, XrdSysError &Eroute,
0107 unsigned long long Flags);
0108
0109 static XrdOucPList *ParsePath(XrdOucStream &Config, XrdSysError &Eroute,
0110 XrdOucPListAnchor &Export,
0111 unsigned long long Defopts);
0112
0113 XrdOucExport() {}
0114 ~XrdOucExport() {}
0115
0116 private:
0117 };
0118 #endif