OPTIGA™ Trust M
Host Library Documentation
optiga_lib_types.h File Reference

This file contains the type definitions for the fundamental data types. More...

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdint.h>
Include dependency graph for optiga_lib_types.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  data_blob
 Structure to specify a byte stream consisting of length and data pointer. More...
 
#define FALSE   (0U)
 Definition for false. More...
 
#define TRUE   (1U)
 Definition for true. More...
 
#define _STATIC_H   static
 
#define _STATIC_INLINE   static inline
 
typedef char char_t
 Typedef for one byte integer. More...
 
typedef double double_t
 Typedef for a double word. More...
 
typedef float float_t
 Typedef for a float. More...
 
typedef uint8_t bool_t
 Typedef for a boolean. More...
 
typedef void * hdl_t
 typedef for handles More...
 
typedef uint16_t optiga_lib_status_t
 typedef for OPTIGA host library status More...
 
typedef void Void
 Typedef for a void. More...
 
typedef void(* upper_layer_callback_t) (void *upper_layer_ctx, optiga_lib_status_t event)
 typedef for application event handler More...
 
typedef void(* callback_handler_t) (void *callback_ctx, optiga_lib_status_t event)
 typedef for event callback handler More...
 
typedef struct data_blob data_blob_t
 Structure to specify a byte stream consisting of length and data pointer. More...
 

Detailed Description

This file contains the type definitions for the fundamental data types.

Author
Infineon Technologies AG

Definition in file optiga_lib_types.h.

Macro Definition Documentation

◆ _STATIC_H

#define _STATIC_H   static

Definition at line 114 of file optiga_lib_types.h.

◆ _STATIC_INLINE

#define _STATIC_INLINE   static inline

Definition at line 120 of file optiga_lib_types.h.

◆ FALSE

#define FALSE   (0U)

Definition for false.

Definition at line 66 of file optiga_lib_types.h.

◆ TRUE

#define TRUE   (1U)

Definition for true.

Definition at line 71 of file optiga_lib_types.h.

Typedef Documentation

◆ bool_t

typedef uint8_t bool_t

Typedef for a boolean.

Definition at line 84 of file optiga_lib_types.h.

◆ callback_handler_t

typedef void(* callback_handler_t) (void *callback_ctx, optiga_lib_status_t event)

typedef for event callback handler

Definition at line 99 of file optiga_lib_types.h.

◆ char_t

typedef char char_t

Typedef for one byte integer.

Definition at line 75 of file optiga_lib_types.h.

◆ data_blob_t

typedef struct data_blob data_blob_t

Structure to specify a byte stream consisting of length and data pointer.

◆ double_t

typedef double double_t

Typedef for a double word.

Definition at line 78 of file optiga_lib_types.h.

◆ float_t

typedef float float_t

Typedef for a float.

Definition at line 81 of file optiga_lib_types.h.

◆ hdl_t

typedef void* hdl_t

typedef for handles

Definition at line 87 of file optiga_lib_types.h.

◆ optiga_lib_status_t

typedef uint16_t optiga_lib_status_t

typedef for OPTIGA host library status

Definition at line 90 of file optiga_lib_types.h.

◆ upper_layer_callback_t

typedef void(* upper_layer_callback_t) (void *upper_layer_ctx, optiga_lib_status_t event)

typedef for application event handler

Definition at line 96 of file optiga_lib_types.h.

◆ Void

typedef void Void

Typedef for a void.

Definition at line 93 of file optiga_lib_types.h.