10 #define COUNTER_FILENAME "counter"
void counter_free(struct u2f_emu_vdev_counter *vdev_counter)
Release the ressources used by the counter.
Definition: counter.c:125
U2F virtual emulated device counter structure.
Definition: u2f-emu-types.h:42
bool counter_new_epthemeral(struct u2f_emu_vdev_counter **counter_ref)
Create a new ephemeral counter.
Definition: counter.c:103
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.
Definition: counter.c:67