Vadim Bendebury | bbd7900 | 2015-05-31 14:44:07 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2015 The Chromium OS Authors. All rights reserved. |
| 3 | * Use of this source code is governed by a BSD-style license that can be |
| 4 | * found in the LICENSE file. |
| 5 | */ |
| 6 | |
| 7 | #ifndef __TPM2_GETCAPABILITY_FP_H |
| 8 | #define __TPM2_GETCAPABILITY_FP_H |
| 9 | |
| 10 | typedef struct { |
| 11 | TPM_CAP capability; |
| 12 | UINT32 propertyCount; |
| 13 | UINT32 property; |
| 14 | } GetCapability_In; |
| 15 | |
| 16 | typedef struct { |
| 17 | TPMI_YES_NO moreData; |
| 18 | TPMS_CAPABILITY_DATA capabilityData; |
| 19 | } GetCapability_Out; |
| 20 | |
| 21 | TPM_RC TPM2_GetCapability( |
| 22 | GetCapability_In *in, // IN: input parameter list |
| 23 | GetCapability_Out *out // OUT: output parameter list |
| 24 | ); |
| 25 | |
| 26 | #endif // __TPM2_GETCAPABILITY_FP_H |