Module: Liberic::SDK::Types

Extended by:
FFI::Library
Defined in:
lib/liberic/sdk/types.rb

Defined Under Namespace

Classes: DruckParameter, VerschluesselungsParameter, ZertifikatParameter

Constant Summary collapse

BearbeitungFlag =
enum(
  :validiere, (1 << 1),
  :sende,     (1 << 2),
  :drucke,    (1 << 5),
  :sende_auth,  ('00100110'.to_i(2)) # triggers all three: valiediere, sende and drucke
)
ERIC_LOG_ERROR =
4
ERIC_LOG_WARN =
3
ERIC_LOG_INFO =
2
ERIC_LOG_DEBUG =
1
ERIC_LOG_TRACE =
0
LOGGER_SEVERITY =
{
  ERIC_LOG_ERROR => Logger::ERROR,
  ERIC_LOG_WARN  => Logger::WARN,
  ERIC_LOG_INFO  => Logger::INFO,
  ERIC_LOG_DEBUG => Logger::DEBUG,
  ERIC_LOG_TRACE => Logger::DEBUG
}