Returns the DApp value associated with device as represented in the PDiagAtt object class.
char *get_DApp ( devicename, attribute ) char *devicename; char *attribute;
The get_DApp subroutine returns the DApp value from the PDiagAtt object class associated with the given device and attribute. Search criteria is in the following order:
The calling application is responsible for freeing the storage allocated for the returned value.
devicename | Character pointer to customized name of device. |
attribute | Character pointer to attribute associated with device. |
The get_DApp subroutine returns one of the following values:
char * NULL | Device and attribute is not found. |
char *DApp | Pointer to char string containing DApp value. |