|
|
|||
File indexing completed on 2026-01-08 10:33:33
0001 #ifndef _XRDOSS_CONFIG_H 0002 #define _XRDOSS_CONFIG_H 0003 /******************************************************************************/ 0004 /* */ 0005 /* X r d O s s C o n f i g . h h */ 0006 /* */ 0007 /* (C) 2009 by the Board of Trustees of the Leland Stanford, Jr., University */ 0008 /* All Rights Reserved */ 0009 /* Produced by Andrew Hanushevsky for Stanford University under contract */ 0010 /* DE-AC02-76-SFO0515 with the Deprtment of Energy */ 0011 /* */ 0012 /* This file is part of the XRootD software suite. */ 0013 /* */ 0014 /* XRootD is free software: you can redistribute it and/or modify it under */ 0015 /* the terms of the GNU Lesser General Public License as published by the */ 0016 /* Free Software Foundation, either version 3 of the License, or (at your */ 0017 /* option) any later version. */ 0018 /* */ 0019 /* XRootD is distributed in the hope that it will be useful, but WITHOUT */ 0020 /* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or */ 0021 /* FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public */ 0022 /* License for more details. */ 0023 /* */ 0024 /* You should have received a copy of the GNU Lesser General Public License */ 0025 /* along with XRootD in a file called COPYING.LESSER (LGPL license) and file */ 0026 /* COPYING (GPL license). If not, see <http://www.gnu.org/licenses/>. */ 0027 /* */ 0028 /* The copyright holder's institutional names and contributor's names may not */ 0029 /* be used to endorse or promote products derived from this software without */ 0030 /* specific prior written permission of the institution or contributor. */ 0031 /******************************************************************************/ 0032 0033 #define XRDOSS_VERSION "2.0.0" 0034 0035 /* Constant to indicate all went well. 0036 */ 0037 #ifndef XrdOssOK 0038 #define XrdOssOK 0 0039 #endif 0040 0041 // Flags set in OptFlags 0042 // 0043 #define XrdOss_USRPRTY 0x00000001 0044 #define XrdOss_CacheFS 0x00000002 0045 0046 // Small structure to hold dual paths 0047 // 0048 struct OssDPath 0049 {OssDPath *Next; 0050 char *Path1; 0051 char *Path2; 0052 OssDPath(OssDPath *dP,char *p1,char *p2) : Next(dP),Path1(p1),Path2(p2) {} 0053 }; 0054 0055 class XrdOucString; 0056 0057 struct OssSpaceConfig 0058 {const XrdOucString& sName; 0059 const XrdOucString& sPath; 0060 const XrdOucString& mName; 0061 bool isXA; 0062 bool noFail; 0063 bool chkMnt; 0064 OssSpaceConfig(XrdOucString& sn, XrdOucString& sp, XrdOucString& mn) 0065 : sName(sn), sPath(sp), mName(mn), 0066 isXA(true), noFail(false), chkMnt(false) 0067 {} 0068 }; 0069 0070 #endif
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|