HP (Hewlett-Packard) HP OpenView Vantagepoint – Operation Manual for UNIX Printer User Manual


 
Using the VPO Application Programming Interfaces
Summary of VPO API Functions
Chapter 4 193
opcdata_get_long() Get long value of specified attribute
opcdata_get_str() Gets string value of specified attribute
opcdata_insert_element() Inserts a copy of the given element at given index
opcdata_ladd() Adds an element to the specified list
opcdata_ldel() Deletes an element from the specified list
opcdata_lget_len() Returns the number of an element in the list
opcdata_lget_long() Returns the value of the attribute in the list
opcdata_lget_str() Returns a pointer to the string of the attribute in
the list
opcdata_lset_long() Replaces the value in the attribute of the list
element
opcdata_lset_str() Replaces the string in the attribute of the list
element
opcdata_num_elements() Returns the number of elements of the container
opcdata_report_error() Returns the error description for the given error
code (not thread-safe)
opcdata_set_cma() Sets a custom message attribute (name and value)
for a message
opcdata_set_double() Sets double attribute in data to value
opcdata_set_long() Sets attribute in data to value
opcdata_set_str() Sets string attribute in data to value
opcdata_remove_cma() Removes custom message attributes from a
message
opcdata_type() Returns the opcdata type
Table 4-3 Overview of the Data Access and Creation Functions
Function Call Description