AsnOctetString
The AsnOctetString
structure contains octet quantities, usually bytes, as defined in RFC
1155
typedef struct {
BYTE * stream;
UINT length;
BOOL dynamic;
} AsnOctetString;
Members
stream
Pointer to
the octet stream.
length
The number of
octets in the data stream.
dynamic
Flag that
specifies if the data stream has been dynamically allocated with the SnmpUtilMemAlloc
Remarks
Use the AsnOctetString
structure to transfer string values. For example, use it to transfer the string
that represents a computer name MIB object value.
You must
check the flag specified in the dynamic member before you release the
data stream of an octet string. Call the SnmpUtilMemFree function only
if the dynamic member is set to TRUE.
See Also