Module: AIX::Errlog::Lib

Extended by:
FFI::Library
Defined in:
lib/aix/errlog/lib.rb

Overview

The ffi interface to the errlog library.

You should never need to access this directly. All necessary functionality should be accessible via Errlog.

Defined Under Namespace

Classes: Errdup, ErrlogEntry, ErrlogMatch, ErrlogMatch1U, ErrlogMatch2U

Constant Summary collapse

Err =
enum(
  :ok, 0,
  :invarg, Constants::LE_ERR_INVARG,
  :nofile, Constants::LE_ERR_NOFILE,
  :invfile, Constants::LE_ERR_INVFILE,
  :nomem, Constants::LE_ERR_NOMEM,
  :nowrite, Constants::LE_ERR_NOWRITE,
  :io, Constants::LE_ERR_IO,
  :done, Constants::LE_ERR_DONE,
)
Direction =
enum(
  :forward, Constants::LE_FORWARD,
  :reverse, Constants::LE_REVERSE,
)
Operator =
enum(
  :equal, Constants::LE_OP_EQUAL,
  :ne, Constants::LE_OP_NE,
  :substr, Constants::LE_OP_SUBSTR,
  :lt, Constants::LE_OP_LT,
  :le, Constants::LE_OP_LE,
  :gt, Constants::LE_OP_GT,
  :ge, Constants::LE_OP_GE,
  :not, Constants::LE_OP_NOT,
  :and, Constants::LE_OP_AND,
  :or, Constants::LE_OP_OR,
  :xor, Constants::LE_OP_XOR,
)
Match =
enum(
  :sequence, Constants::LE_MATCH_SEQUENCE,
  :label, Constants::LE_MATCH_LABEL,
  :timestamp, Constants::LE_MATCH_TIMESTAMP,
  :crcid, Constants::LE_MATCH_CRCID,
  :machineid, Constants::LE_MATCH_MACHINEID,
  :nodeid, Constants::LE_MATCH_NODEID,
  :class, Constants::LE_MATCH_CLASS,
  :type, Constants::LE_MATCH_TYPE,
  :resource, Constants::LE_MATCH_RESOURCE,
  :rclass, Constants::LE_MATCH_RCLASS,
  :rtype, Constants::LE_MATCH_RTYPE,
  :vpd_ibm, Constants::LE_MATCH_VPD_IBM,
  :vpd_user, Constants::LE_MATCH_VPD_USER,
  :in, Constants::LE_MATCH_IN,
  :connwhere, Constants::LE_MATCH_CONNWHERE,
  :flag_err64, Constants::LE_MATCH_FLAG_ERR64,
  :flag_errdup, Constants::LE_MATCH_FLAG_ERRDUP,
  :detail_data, Constants::LE_MATCH_DETAIL_DATA,
  :symptom_data, Constants::LE_MATCH_SYMPTOM_DATA,
  :errdiag, Constants::LE_MATCH_ERRDIAG,
  :wparid, Constants::LE_MATCH_WPARID,
)