aciObjectAttributeGetNamesAndValuesNoCopy

Call the aciObjectAttributeGetNamesAndValuesNoCopy function to retrieve arrays of attribute names and values of an ACI object.

Syntax

aciError aciObjectAttributeGetNamesAndValuesNoCopy(
   t_aciObject* pObject,
   const char*** paszAttrNames,
   const char*** paszAttrValues,
   int* pnNumAttrs);

Arguments

Arguments Type/Description
pObject t_aciObject*  A pointer to an ACI object.
paszAttrNames char***  A pointer to an array of strings containing the attribute names.
paszAttrValues char***  A pointer to an array of strings containing the attribute values.
pnNumAttrs int*  A pointer to the number of attributes.

Discussion

This function populates the arrays with names and values of the attributes of the object pObject. The two arrays are allocated but the actual attribute names and values are not.

Returns

An ACI error code.