Libu2f-emu
0.0.0
Universal 2nd Factor (U2F) Emulation C Library
|
Go to the source code of this file.
Macros | |
#define | COUNTER_FILENAME "counter" |
Functions | |
bool | counter_new_from_dir (const char *pathname, struct u2f_emu_vdev_counter **counter_ref) |
Create a new counter that sync with the counter file inside the setup directory. More... | |
bool | counter_new_epthemeral (struct u2f_emu_vdev_counter **counter_ref) |
Create a new ephemeral counter. More... | |
void | counter_free (struct u2f_emu_vdev_counter *vdev_counter) |
Release the ressources used by the counter. More... | |
#define COUNTER_FILENAME "counter" |
void counter_free | ( | struct u2f_emu_vdev_counter * | vdev_counter | ) |
Release the ressources used by the counter.
vdev_counter | The virtual device counter to release. |
bool counter_new_epthemeral | ( | struct u2f_emu_vdev_counter ** | counter_ref | ) |
Create a new ephemeral counter.
counter_ref | The reference to the counter to create. |
bool counter_new_from_dir | ( | const char * | pathname, |
struct u2f_emu_vdev_counter ** | counter_ref | ||
) |
Create a new counter that sync with the counter file inside the setup directory.
pathname | The pathname of the setup directory. |
counter_ref | The reference to the counter to create. |