tpm2-tss  master
TPM Software stack 2.0 TCG spec compliant implementation
fapi_types.h
1 /* SPDX-License-Identifier: BSD-2-Clause */
2 /*******************************************************************************
3  * Copyright 2018-2019, Fraunhofer SIT sponsored by Infineon Technologies AG
4  * All rights reserved.
5  ******************************************************************************/
6 #ifndef FAPI_TYPES_H
7 #define FAPI_TYPES_H
8 
9 #include <stdlib.h>
10 #include <stdint.h>
11 #include <stdbool.h>
12 
15 typedef struct {
16  size_t size;
17  uint8_t *buffer;
18 } UINT8_ARY;
19 
24 typedef struct str_node {
25  char *str;
26  bool free_string;
27  struct str_node *next;
28 } NODE_STR_T;
29 
34 typedef struct object_node {
35  void *object;
36  size_t size;
37  struct object_node *next;
39 
40 #endif /* FAPI_TYPES_H */
Definition: fapi_types.h:15
Definition: fapi_types.h:34
void * object
Definition: fapi_types.h:35
struct object_node * next
Definition: fapi_types.h:37
size_t size
Definition: fapi_types.h:36
Definition: fapi_types.h:24
struct str_node * next
Definition: fapi_types.h:27
bool free_string
Definition: fapi_types.h:26
char * str
Definition: fapi_types.h:25