Libu2f-emu
0.0.0
Universal 2nd Factor (U2F) Emulation C Library
|
Go to the source code of this file.
Data Structures | |
struct | transaction |
Represent a transaction: a request following by a response message. More... | |
Macros | |
#define | TRANSaCTION_H |
#define | TIMEOUT_SECONDS 5 |
Message timeout. More... | |
Functions | |
bool | transaction_timeout (const struct transaction *transaction) |
Check if a transaction timeout. More... | |
void | transaction_start (struct transaction *transaction, struct message *request) |
Start a transaction. More... | |
Variables | |
struct transaction | __attribute__ |
#define TIMEOUT_SECONDS 5 |
Message timeout.
#define TRANSaCTION_H |
void transaction_start | ( | struct transaction * | transaction, |
struct message * | request | ||
) |
Start a transaction.
transaction | The transaction to start. |
request | The corresponding request message. |
bool transaction_timeout | ( | const struct transaction * | transaction | ) |
Check if a transaction timeout.
transaction | The transaction. |
struct transaction __attribute__ |