XRootD
XrdPfcTypes.hh
Go to the documentation of this file.
1
#ifndef __XRDPFC_TYPES_HH__
2
#define __XRDPFC_TYPES_HH__
3
4
//----------------------------------------------------------------------------------
5
// Copyright (c) 2014 by Board of Trustees of the Leland Stanford, Jr., University
6
// Author: Alja Mrak-Tadel, Matevz Tadel, Brian Bockelman
7
//----------------------------------------------------------------------------------
8
// XRootD is free software: you can redistribute it and/or modify
9
// it under the terms of the GNU Lesser General Public License as published by
10
// the Free Software Foundation, either version 3 of the License, or
11
// (at your option) any later version.
12
//
13
// XRootD is distributed in the hope that it will be useful,
14
// but WITHOUT ANY WARRANTY; without even the implied warranty of
15
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
// GNU General Public License for more details.
17
//
18
// You should have received a copy of the GNU Lesser General Public License
19
// along with XRootD. If not, see <http://www.gnu.org/licenses/>.
20
//----------------------------------------------------------------------------------
21
22
#include <cstdint>
23
#include <vector>
24
25
namespace
XrdPfc
26
{
27
enum
CkSumCheck_e
{
CSChk_Unknown
= -1,
CSChk_None
= 0,
CSChk_Cache
= 1,
CSChk_Net
= 2,
CSChk_Both
= 3,
28
CSChk_TLS
= 4
// Only used during configuration parsing.
29
};
30
31
typedef
std::vector<uint32_t>
vCkSum_t
;
32
}
33
34
// #define XRDPFC_CKSUM_TEST
35
36
#endif
XrdPfc
Definition:
XrdPfc.hh:41
XrdPfc::CkSumCheck_e
CkSumCheck_e
Definition:
XrdPfcTypes.hh:27
XrdPfc::CSChk_Both
@ CSChk_Both
Definition:
XrdPfcTypes.hh:27
XrdPfc::CSChk_Net
@ CSChk_Net
Definition:
XrdPfcTypes.hh:27
XrdPfc::CSChk_TLS
@ CSChk_TLS
Definition:
XrdPfcTypes.hh:28
XrdPfc::CSChk_Unknown
@ CSChk_Unknown
Definition:
XrdPfcTypes.hh:27
XrdPfc::CSChk_Cache
@ CSChk_Cache
Definition:
XrdPfcTypes.hh:27
XrdPfc::CSChk_None
@ CSChk_None
Definition:
XrdPfcTypes.hh:27
XrdPfc::vCkSum_t
std::vector< uint32_t > vCkSum_t
Definition:
XrdPfcTypes.hh:31
XrdPfc
XrdPfcTypes.hh
Generated by
1.9.1