HP Operations Manager for Windows

opcreg_get_str()


   #include opcapi.h

   char *opcreg_get_str(
       const opcregcond         reg_cond,           /* in */
       int                      field               /* in */
                       );

Parameters

reg_cond
HPOM registration condition structure.
attribute
Selects the attribute that is queried.

Description

Use the routine opcdata_get_str() to access the attribute values of a condition.

Return Values

Returns a character pointer to the value of the defined attribute in the data area. The pointer points into the internal data area. Modification of the attribute is only allowed using opcreg_set_str(). Direct access to the string is not supported. However, it is not possible to prevent the user from committing direct modifications.

Versions

HPOM for Windows 8.00 and higher

See Also

opcreg_copy()
opcreg_create()
opcreg_free()
opcreg_get_long()
opcreg_set_long()
opcreg_set_str()