audk/BaseTools/Source/C/FCE/VariableCommon.h
Shenglei Zhang 3c59d94637 BaseTools/FCE: Add a tool FCE
FCE is a tool to retrieve and change HII configuration data in
Firmware Device(*.fd) files.
https://bugzilla.tianocore.org/show_bug.cgi?id=1848

Cc: Bob Feng <bob.c.feng@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Signed-off-by: Shenglei Zhang <shenglei.zhang@intel.com>
Reviewed-by: Bob Feng <bob.c.feng@intel.com>
2019-07-04 11:34:56 +08:00

56 lines
1.3 KiB
C

/** @file
The header of common Variable.c TimeBasedVariable.c and MonotonicBasedVariable.c.
Copyright (c) 2011-2019, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#ifndef __VARIABLE_COMMON_H__
#define __VARIABLE_COMMON_H__
/**
Check the store variable is no-authenticated or not
@param VarToList The pointer to the header of Variable Store.
@retval TRUE If no-authenticated, return TRUE.
@retval FALSE Otherwise, return FALSE.
**/
BOOLEAN
CheckNormalVarStoreOrNot (
IN VOID *VariableStoreHeader
);
/**
Check the store variable is Monotonic based authenticated or not
@param VarToList The pointer to the header of Variable Store.
@retval TRUE If authenticated, return TRUE.
@retval FALSE Otherwise, return FALSE.
**/
BOOLEAN
CheckMonotonicBasedVarStore (
IN VOID *VariableStoreHeader
);
/**
Check the store variable is Time stamp authenticated or not
@param VarToList The pointer to the header of Variable Store.
@retval TRUE If authenticated, return TRUE.
@retval FALSE Otherwise, return FALSE.
**/
BOOLEAN
CheckTimeBasedVarStoreOrNot (
IN VOID *VariableStoreHeader
);
#endif // _EFI_VARIABLE_COMMON_H_