Monero
Loading...
Searching...
No Matches
device_ledger.hpp File Reference
#include <cstddef>
#include <string>
#include "device.hpp"
#include "log.hpp"
#include "device_io_hid.hpp"
#include <boost/thread/mutex.hpp>
#include <boost/thread/recursive_mutex.hpp>
Include dependency graph for device_ledger.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  hw
namespace  hw::ledger

Macros

#define MINIMAL_APP_VERSION_MAJOR   1
#define MINIMAL_APP_VERSION_MINOR   8
#define MINIMAL_APP_VERSION_MICRO   0
#define VERSION(M, m, u)
#define VERSION_MAJOR(v)
#define VERSION_MINOR(v)
#define VERSION_MICRO(v)
#define MINIMAL_APP_VERSION   VERSION(MINIMAL_APP_VERSION_MAJOR, MINIMAL_APP_VERSION_MINOR, MINIMAL_APP_VERSION_MICRO)

Functions

void hw::ledger::register_all (std::map< std::string, std::unique_ptr< device > > &registry)

Macro Definition Documentation

◆ MINIMAL_APP_VERSION

◆ MINIMAL_APP_VERSION_MAJOR

#define MINIMAL_APP_VERSION_MAJOR   1

◆ MINIMAL_APP_VERSION_MICRO

#define MINIMAL_APP_VERSION_MICRO   0

◆ MINIMAL_APP_VERSION_MINOR

#define MINIMAL_APP_VERSION_MINOR   8

◆ VERSION

#define VERSION ( M,
m,
u )
Value:
((M)<<16|(m)<<8|(u))
#define M(w0, w14, w9, w1)
Definition sha512-blocks.c:41

◆ VERSION_MAJOR

#define VERSION_MAJOR ( v)
Value:
(((v)>>16)&0xFF)

◆ VERSION_MICRO

#define VERSION_MICRO ( v)
Value:
(((v)>>0)&0xFF)

◆ VERSION_MINOR

#define VERSION_MINOR ( v)
Value:
(((v)>>8)&0xFF)