VarBind

Cursor over a netsnmp_variable_list linked list.

Members

Functions

asBytes
const(ubyte)[] asBytes()

OctetStr / IpAddress / BitStr raw bytes. Returns null on type mismatch.

asCounter64
counter64 asCounter64()

Returns zeroed struct on type mismatch.

asLong
long asLong()

Returns 0 for non-integer or invalid bindings.

asUint
uint asUint()

Counter32 / Gauge32 / TimeTicks. Returns 0 on type mismatch.

isValid
bool isValid()
Undocumented in source. Be warned that the author may not have intended to support it.
nameLength
size_t nameLength()
Undocumented in source. Be warned that the author may not have intended to support it.
namePtr
const(oid)* namePtr()
Undocumented in source. Be warned that the author may not have intended to support it.
next
VarBind next()
Undocumented in source. Be warned that the author may not have intended to support it.
oidStr
int oidStr(char[] buf)
Undocumented in source. Be warned that the author may not have intended to support it.
oidString
string oidString()
Undocumented in source. Be warned that the author may not have intended to support it.
opApply
int opApply(int delegate(VarBind) dg)
Undocumented in source. Be warned that the author may not have intended to support it.
toOID
OID toOID()
Undocumented in source. Be warned that the author may not have intended to support it.
type
ubyte type()
Undocumented in source. Be warned that the author may not have intended to support it.
valueStr
int valueStr(char[] buf)
Undocumented in source. Be warned that the author may not have intended to support it.
valueString
string valueString()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

handle
netsnmp_variable_list* handle;
Undocumented in source.

Meta