]> git.proxmox.com Git - mirror_edk2.git/blob - NetworkPkg/Application/IpsecConfig/Delete.h
Fix a bug about the iSCSI DHCP dependency issue.
[mirror_edk2.git] / NetworkPkg / Application / IpsecConfig / Delete.h
1 /** @file
2 The internal structure and function declaration of delete policy entry function
3 in IpSecConfig application.
4
5 Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR>
6
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.
11
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.
14
15 **/
16
17 #ifndef __DELETE_H_
18 #define __DELETE_H_
19
20 typedef struct {
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;
25
26 /**
27 Flush or delete entry information in the database according to datatype.
28
29 @param[in] DataType The value of EFI_IPSEC_CONFIG_DATA_TYPE.
30 @param[in] ParamPackage The pointer to the ParamPackage list.
31
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.
35 **/
36 EFI_STATUS
37 FlushOrDeletePolicyEntry (
38 IN EFI_IPSEC_CONFIG_DATA_TYPE DataType,
39 IN LIST_ENTRY *ParamPackage
40 );
41
42 #endif