2 The internal structure and function declaration of delete policy entry function
3 in IpSecConfig application.
5 Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR>
7 This program and the accompanying materials
8 are licensed and made available under the terms and conditions of the BSD License
9 which accompanies this distribution. The full text of the license may be found at
10 http://opensource.org/licenses/bsd-license.php.
12 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
13 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
21 EFI_IPSEC_CONFIG_DATA_TYPE DataType
;
22 POLICY_ENTRY_INDEXER Indexer
;
23 EFI_STATUS Status
; //Indicate whether deletion succeeds.
24 } DELETE_POLICY_ENTRY_CONTEXT
;
27 Flush or delete entry information in the database according to datatype.
29 @param[in] DataType The value of EFI_IPSEC_CONFIG_DATA_TYPE.
30 @param[in] ParamPackage The pointer to the ParamPackage list.
32 @retval EFI_SUCCESS Delete entry information successfully.
33 @retval EFI_NOT_FOUND Can't find the specified entry.
34 @retval Others Some mistaken case.
37 FlushOrDeletePolicyEntry (
38 IN EFI_IPSEC_CONFIG_DATA_TYPE DataType
,
39 IN LIST_ENTRY
*ParamPackage