Added resumable loading, along with signal handling.
This version can store state after receiving SIGINT. This is achieved by polling FIFO read state;
This commit is contained in:
@@ -1,11 +1,14 @@
|
||||
#pragma once
|
||||
#include <cstdint>
|
||||
#include <memory>
|
||||
#include "U2F_CMD.hpp"
|
||||
#include "U2FMessage.hpp"
|
||||
|
||||
struct U2F_Init_CMD : U2F_CMD
|
||||
{
|
||||
uint64_t nonce;
|
||||
|
||||
public:
|
||||
static U2F_Init_CMD get();
|
||||
U2F_Init_CMD(const std::shared_ptr<U2FMessage> uMsg);
|
||||
virtual void respond(const uint32_t channelID) const override;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user