Module: Smi::Wrapper

Extended by:
NiceFFI::Library
Defined in:
lib/smi/wrapper.rb

Defined Under Namespace

Classes: SmiAttribute, SmiClass, SmiElement, SmiEvent, SmiIdentity, SmiImport, SmiMacro, SmiModule, SmiNamedNumber, SmiNode, SmiOption, SmiRange, SmiRefinement, SmiRevision, SmiType, SmiValue, SmiValueValue

Constant Summary collapse

SMI_LIBRARY_VERSION =
"2:27:0"
SMI_VERSION_MAJOR =
0
SMI_VERSION_MINOR =
4
SMI_VERSION_PATCHLEVEL =
8
SMI_VERSION_STRING =
"0.4.8"
SMI_FLAG_NODESCR =
0x0800
SMI_FLAG_VIEWALL =
0x1000
SMI_FLAG_ERRORS =
0x2000
SMI_FLAG_RECURSIVE =
0x4000
SMI_FLAG_STATS =
0x8000
SMI_FLAG_MASK =
(0x0800|0x1000|0x8000|0x4000|0x2000)
SMI_LANGUAGE_UNKNOWN =
0
SMI_LANGUAGE_SMIV1 =
1
SMI_LANGUAGE_SMIV2 =
2
SMI_LANGUAGE_SMING =
3
SMI_LANGUAGE_SPPI =
4
SMI_BASETYPE_UNKNOWN =
0
SMI_BASETYPE_INTEGER32 =
1
SMI_BASETYPE_ENUM =
10
SMI_BASETYPE_BITS =
11
SMI_BASETYPE_POINTER =
12
SMI_BASETYPE_OCTETSTRING =
2
SMI_BASETYPE_OBJECTIDENTIFIER =
3
SMI_BASETYPE_UNSIGNED32 =
4
SMI_BASETYPE_INTEGER64 =
5
SMI_BASETYPE_UNSIGNED64 =
6
SMI_BASETYPE_FLOAT32 =
7
SMI_BASETYPE_FLOAT64 =
8
SMI_BASETYPE_FLOAT128 =
9
SMI_BASETYPE_UNSIGNED32_MIN =
0
SMI_BASETYPE_UNSIGNED64_MIN =
0
SMI_STATUS_UNKNOWN =
0
SMI_STATUS_CURRENT =
1
SMI_STATUS_DEPRECATED =
2
SMI_STATUS_MANDATORY =
3
SMI_STATUS_OPTIONAL =
4
SMI_STATUS_OBSOLETE =
5
SMI_ACCESS_UNKNOWN =
0
SMI_ACCESS_NOT_IMPLEMENTED =
1
SMI_ACCESS_NOT_ACCESSIBLE =
2
SMI_ACCESS_NOTIFY =
3
SMI_ACCESS_READ_ONLY =
4
SMI_ACCESS_READ_WRITE =
5
SMI_ACCESS_INSTALL =
6
SMI_ACCESS_INSTALL_NOTIFY =
7
SMI_ACCESS_REPORT_ONLY =
8
SMI_ACCESS_EVENT_ONLY =
9
SMI_NODEKIND_UNKNOWN =
0x0000
SMI_NODEKIND_NODE =
0x0001
SMI_NODEKIND_SCALAR =
0x0002
SMI_NODEKIND_TABLE =
0x0004
SMI_NODEKIND_ROW =
0x0008
SMI_NODEKIND_COLUMN =
0x0010
SMI_NODEKIND_NOTIFICATION =
0x0020
SMI_NODEKIND_GROUP =
0x0040
SMI_NODEKIND_COMPLIANCE =
0x0080
SMI_NODEKIND_CAPABILITIES =
0x0100
SMI_NODEKIND_ANY =
0xffff
SMI_DECL_UNKNOWN =
0
SMI_DECL_IMPLICIT_TYPE =
1
SMI_DECL_TRAPTYPE =
10
SMI_DECL_OBJECTGROUP =
11
SMI_DECL_NOTIFICATIONGROUP =
12
SMI_DECL_MODULECOMPLIANCE =
13
SMI_DECL_AGENTCAPABILITIES =
14
SMI_DECL_TEXTUALCONVENTION =
15
SMI_DECL_MACRO =
16
SMI_DECL_COMPL_GROUP =
17
SMI_DECL_COMPL_OBJECT =
18
SMI_DECL_IMPL_OBJECT =
19
SMI_DECL_TYPEASSIGNMENT =
2
SMI_DECL_MODULE =
33
SMI_DECL_EXTENSION =
34
SMI_DECL_TYPEDEF =
35
SMI_DECL_NODE =
36
SMI_DECL_SCALAR =
37
SMI_DECL_TABLE =
38
SMI_DECL_ROW =
39
SMI_DECL_IMPL_SEQUENCEOF =
4
SMI_DECL_COLUMN =
40
SMI_DECL_NOTIFICATION =
41
SMI_DECL_GROUP =
42
SMI_DECL_COMPLIANCE =
43
SMI_DECL_IDENTITY =
44
SMI_DECL_CLASS =
45
SMI_DECL_ATTRIBUTE =
46
SMI_DECL_EVENT =
47
SMI_DECL_VALUEASSIGNMENT =
5
SMI_DECL_OBJECTTYPE =
6
SMI_DECL_OBJECTIDENTITY =
7
SMI_DECL_MODULEIDENTITY =
8
SMI_DECL_NOTIFICATIONTYPE =
9
SMI_INDEX_UNKNOWN =
0
SMI_INDEX_INDEX =
1
SMI_INDEX_AUGMENT =
2
SMI_INDEX_REORDER =
3
SMI_INDEX_SPARSE =
4
SMI_INDEX_EXPAND =
5
SMI_RENDER_NUMERIC =
0x01
SMI_RENDER_NAME =
0x02
SMI_RENDER_QUALIFIED =
0x04
SMI_RENDER_FORMAT =
0x08
SMI_RENDER_PRINTABLE =
0x10
SMI_RENDER_UNKNOWN =
0x20
SMI_RENDER_ALL =
0xff
SMI_UNKNOWN_LABEL =
"<unknown>"