+++ /dev/null
-/** @file\r
- The internal structure and function declaration of the implementation\r
- to go through each entry in IpSecConfig application.\r
-\r
- Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR>\r
-\r
- SPDX-License-Identifier: BSD-2-Clause-Patent\r
-\r
-**/\r
-\r
-#ifndef _FOREACH_H_\r
-#define _FOREACH_H_\r
-\r
-/**\r
- The prototype for the DumpSpdEntry()/DumpSadEntry()/DumpPadEntry().\r
- Print EFI_IPSEC_CONFIG_SELECTOR and corresponding content.\r
-\r
- @param[in] Selector The pointer to the EFI_IPSEC_CONFIG_SELECTOR union.\r
- @param[in] Data The pointer to the corresponding data.\r
- @param[in] Context The pointer to the Index in SPD/SAD/PAD Database.\r
-\r
- @retval EFI_SUCCESS Dump SPD/SAD/PAD information successfully.\r
-**/\r
-typedef\r
-EFI_STATUS\r
-(*VISIT_POLICY_ENTRY) (\r
- IN EFI_IPSEC_CONFIG_SELECTOR *Selector,\r
- IN VOID *Data,\r
- IN VOID *Context\r
- );\r
-\r
-/**\r
- Enumerate all entry in the database to execute a specified operation according to datatype.\r
-\r
- @param[in] DataType The value of EFI_IPSEC_CONFIG_DATA_TYPE.\r
- @param[in] Routine The pointer to function of a specified operation.\r
- @param[in] Context The pointer to the context of a function.\r
-\r
- @retval EFI_SUCCESS Execute specified operation successfully.\r
-**/\r
-EFI_STATUS\r
-ForeachPolicyEntry (\r
- IN EFI_IPSEC_CONFIG_DATA_TYPE DataType,\r
- IN VISIT_POLICY_ENTRY Routine,\r
- IN VOID *Context\r
- );\r
-\r
-#endif\r