O_Counter64 - Compaq TCP/IP Services for OpenVMS Programming And Reference Manual

Tcp/ip services for openvms
Table of Contents

Advertisement

o_counter64

Loads a counter64 value into the VARBIND structure.
Format
int o_counter64
Arguments
vb
A pointer to the VARBIND structure that is supposed to receive the data.
obj
A pointer to the OBJECT structure for the MIB variable associated with the OID
in the VARBIND structure.
value
The 8-byte value to be inserted into the VARBIND structure, passed as an array
of two integers.
The real type as defined in the object structure must be
ESNMP_TYPE_Counter64. Otherwise, an error is returned.
Example
See the example for the
Return Values
ESNMP_MTHD_noError
ESNMP_MTHD_genErr
( VARBIND *vb,
OBJECT *obj,
uint64 value ); (for Alpha)
uint64_vax value ; (for VAX))
o_integer
routine.
No error was generated.
An error was generated.
eSNMP API Routines
o_counter64
eSNMP API Routines 5–37

Advertisement

Table of Contents
loading

Table of Contents