]> git.proxmox.com Git - mirror_edk2.git/blob - NetworkPkg/Application/IpsecConfig/Delete.h
35665b87d40120d2ddacc25496c46cd74aa6cebf
[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 SPDX-License-Identifier: BSD-2-Clause-Patent
8
9 **/
10
11 #ifndef __DELETE_H_
12 #define __DELETE_H_
13
14 typedef struct {
15 EFI_IPSEC_CONFIG_DATA_TYPE DataType;
16 POLICY_ENTRY_INDEXER Indexer;
17 EFI_STATUS Status; //Indicate whether deletion succeeds.
18 } DELETE_POLICY_ENTRY_CONTEXT;
19
20 /**
21 Flush or delete entry information in the database according to datatype.
22
23 @param[in] DataType The value of EFI_IPSEC_CONFIG_DATA_TYPE.
24 @param[in] ParamPackage The pointer to the ParamPackage list.
25
26 @retval EFI_SUCCESS Delete entry information successfully.
27 @retval EFI_NOT_FOUND Can't find the specified entry.
28 @retval Others Some mistaken case.
29 **/
30 EFI_STATUS
31 FlushOrDeletePolicyEntry (
32 IN EFI_IPSEC_CONFIG_DATA_TYPE DataType,
33 IN LIST_ENTRY *ParamPackage
34 );
35
36 #endif