]> git.proxmox.com Git - mirror_edk2.git/blame - NetworkPkg/Application/IpsecConfig/Delete.h
NetworkPkg: INF/DEC file updates to EDK II packages
[mirror_edk2.git] / NetworkPkg / Application / IpsecConfig / Delete.h
CommitLineData
a3bcde70
HT
1/** @file\r
2 The internal structure and function declaration of delete policy entry function\r
3 in IpSecConfig application.\r
4\r
5 Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR>\r
6\r
7 This program and the accompanying materials\r
8 are licensed and made available under the terms and conditions of the BSD License\r
9 which accompanies this distribution. The full text of the license may be found at\r
10 http://opensource.org/licenses/bsd-license.php.\r
11\r
12 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
13 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
14\r
15**/\r
16\r
17#ifndef __DELETE_H_\r
18#define __DELETE_H_\r
19\r
20typedef struct {\r
21 EFI_IPSEC_CONFIG_DATA_TYPE DataType;\r
22 POLICY_ENTRY_INDEXER Indexer;\r
23 EFI_STATUS Status; //Indicate whether deletion succeeds.\r
24} DELETE_POLICY_ENTRY_CONTEXT;\r
25\r
26/**\r
27 Flush or delete entry information in the database according to datatype.\r
28\r
29 @param[in] DataType The value of EFI_IPSEC_CONFIG_DATA_TYPE.\r
30 @param[in] ParamPackage The pointer to the ParamPackage list.\r
31\r
32 @retval EFI_SUCCESS Delete entry information successfully.\r
33 @retval EFI_NOT_FOUND Can't find the specified entry.\r
34 @retval Others Some mistaken case.\r
35**/\r
36EFI_STATUS\r
37FlushOrDeletePolicyEntry (\r
38 IN EFI_IPSEC_CONFIG_DATA_TYPE DataType,\r
39 IN LIST_ENTRY *ParamPackage\r
40 );\r
41\r
42#endif\r