AsnOctetString

Get Babylon's Translation Software! Free Download Now!
Babylon 8 - Your all-in-one solution
Award winning translation software trusted by millions. Translate from any language to any language.
View Demo
No results for "AsnOctetString" were found in English


Win32 API(Application Program Interface)Download this dictionary
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 function.



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

RFC 1155, SnmpUtilMemFree, SnmpUtilMemAlloc


Define AsnOctetString

Translate AsnOctetString