]>
Commit | Line | Data |
---|---|---|
a3bcde70 HT |
1 | /** @file\r |
2 | The internal structure and function declaration of \r | |
3 | match policy entry function 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 _MATCH_H_\r | |
18 | #define _MATCH_H_\r | |
19 | \r | |
20 | /**\r | |
21 | The prototype for the MatchSpdEntry()/MatchSadEntry()/MatchPadEntry().\r | |
22 | The functionality is to find the matching SPD/SAD/PAD with Indexer.\r | |
23 | \r | |
24 | @param[in] Selector The pointer to the EFI_IPSEC_CONFIG_SELECTOR union.\r | |
25 | @param[in] Data The pointer to corresponding Data.\r | |
26 | @param[in] Indexer The pointer to the POLICY_ENTRY_INDEXER union.\r | |
27 | \r | |
28 | @retval TRUE The matched SPD/SAD/PAD is found.\r | |
29 | @retval FALSE The matched SPD/SAD/PAD is not found.\r | |
30 | **/\r | |
31 | typedef\r | |
32 | BOOLEAN\r | |
33 | (* MATCH_POLICY_ENTRY) (\r | |
34 | IN EFI_IPSEC_CONFIG_SELECTOR *Selector,\r | |
35 | IN VOID *Data,\r | |
36 | IN POLICY_ENTRY_INDEXER *Indexer\r | |
37 | );\r | |
38 | \r | |
39 | extern MATCH_POLICY_ENTRY mMatchPolicyEntry[];\r | |
40 | \r | |
41 | #endif\r |