]> git.proxmox.com Git - mirror_edk2.git/blob - BaseTools/Source/C/FCE/VariableCommon.h
BaseTools/FCE: Add a tool FCE
[mirror_edk2.git] / BaseTools / Source / C / FCE / VariableCommon.h
1 /** @file
2
3 The header of common Variable.c TimeBasedVariable.c and MonotonicBasedVariable.c.
4
5 Copyright (c) 2011-2019, Intel Corporation. All rights reserved.<BR>
6 SPDX-License-Identifier: BSD-2-Clause-Patent
7
8 **/
9
10 #ifndef __VARIABLE_COMMON_H__
11 #define __VARIABLE_COMMON_H__
12
13 /**
14 Check the store variable is no-authenticated or not
15
16 @param VarToList The pointer to the header of Variable Store.
17
18 @retval TRUE If no-authenticated, return TRUE.
19 @retval FALSE Otherwise, return FALSE.
20 **/
21
22 BOOLEAN
23 CheckNormalVarStoreOrNot (
24 IN VOID *VariableStoreHeader
25 );
26 /**
27 Check the store variable is Monotonic based authenticated or not
28
29 @param VarToList The pointer to the header of Variable Store.
30
31 @retval TRUE If authenticated, return TRUE.
32 @retval FALSE Otherwise, return FALSE.
33 **/
34
35 BOOLEAN
36 CheckMonotonicBasedVarStore (
37 IN VOID *VariableStoreHeader
38 );
39
40 /**
41 Check the store variable is Time stamp authenticated or not
42
43 @param VarToList The pointer to the header of Variable Store.
44
45 @retval TRUE If authenticated, return TRUE.
46 @retval FALSE Otherwise, return FALSE.
47 **/
48 BOOLEAN
49 CheckTimeBasedVarStoreOrNot (
50 IN VOID *VariableStoreHeader
51 );
52
53
54
55 #endif // _EFI_VARIABLE_COMMON_H_