Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-01-08 10:33:39

0001 #ifndef __XRDPFC_TYPES_HH__
0002 #define __XRDPFC_TYPES_HH__
0003 
0004 //----------------------------------------------------------------------------------
0005 // Copyright (c) 2014 by Board of Trustees of the Leland Stanford, Jr., University
0006 // Author: Alja Mrak-Tadel, Matevz  Tadel, Brian Bockelman
0007 //----------------------------------------------------------------------------------
0008 // XRootD is free software: you can redistribute it and/or modify
0009 // it under the terms of the GNU Lesser General Public License as published by
0010 // the Free Software Foundation, either version 3 of the License, or
0011 // (at your option) any later version.
0012 //
0013 // XRootD is distributed in the hope that it will be useful,
0014 // but WITHOUT ANY WARRANTY; without even the implied warranty of
0015 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
0016 // GNU General Public License for more details.
0017 //
0018 // You should have received a copy of the GNU Lesser General Public License
0019 // along with XRootD.  If not, see <http://www.gnu.org/licenses/>.
0020 //----------------------------------------------------------------------------------
0021 
0022 #include <cstdint>
0023 #include <vector>
0024 
0025 namespace XrdPfc
0026 {
0027 enum CkSumCheck_e { CSChk_Unknown = -1, CSChk_None = 0, CSChk_Cache = 1, CSChk_Net = 2, CSChk_Both = 3,
0028                     CSChk_TLS = 4 // Only used during configuration parsing.
0029 };
0030 
0031 typedef std::vector<uint32_t> vCkSum_t;
0032 }
0033 
0034 // #define XRDPFC_CKSUM_TEST
0035 
0036 #endif