Libu2f-emu  0.0.0
Universal 2nd Factor (U2F) Emulation C Library
Data Structures | Typedefs | Enumerations
u2f-emu-types.h File Reference
#include <stdint.h>
Include dependency graph for u2f-emu-types.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  u2f_emu_vdev_counter
 U2F virtual emulated device counter structure. More...
 
struct  u2f_emu_vdev_setup
 U2F virtual emulated device setup structure, containing all necessary elements to the device setup. More...
 

Typedefs

typedef struct u2f_emu_vdev u2f_emu_vdev
 Typedef forward declaration of u2f_emu_vdev. More...
 

Enumerations

enum  u2f_emu_rc {
  U2F_EMU_OK = 0, U2F_EMU_MEMORY_ERROR, U2F_EMU_TRANSPORT_ERROR, U2F_EMU_PERMISSION_ERROR,
  U2F_EMU_SUPPORTED_ERROR
}
 U2F-emu return code. More...
 
enum  u2f_emu_transport { U2F_EMU_APDU = 0, U2F_EMU_USB, U2F_EMU_BLUETOOTH, U2F_EMU_NFC }
 U2F-emu transport emulation. More...
 
enum  u2f_emu_apdu { U2F_EMU_EXTENDED = 0, U2F_EMU_SHORT }
 U2F-emu APDU format length. More...
 

Typedef Documentation

typedef struct u2f_emu_vdev u2f_emu_vdev

Typedef forward declaration of u2f_emu_vdev.

Enumeration Type Documentation

U2F-emu APDU format length.

Enumerator
U2F_EMU_EXTENDED 
U2F_EMU_SHORT 
enum u2f_emu_rc

U2F-emu return code.

Enumerator
U2F_EMU_OK 
U2F_EMU_MEMORY_ERROR 
U2F_EMU_TRANSPORT_ERROR 
U2F_EMU_PERMISSION_ERROR 
U2F_EMU_SUPPORTED_ERROR 

U2F-emu transport emulation.

Enumerator
U2F_EMU_APDU 
U2F_EMU_USB 
U2F_EMU_BLUETOOTH 
U2F_EMU_NFC