[ Previous | Next | Contents | Home | Search ]
AIX Version 4.3 Understanding the Diagnostic Subsystem for AIX

get_DApp

Purpose

Returns the DApp value associated with device as represented in the PDiagAtt object class.

Syntax

char *get_DApp ( devicename, attribute )
char *devicename;
char *attribute;

Description

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:

  1. DClass and DSClass and DType and attribute
  2. DClass and DSClass and attribute
  3. DClass and attribute

The calling application is responsible for freeing the storage allocated for the returned value.

Parameters

devicename Character pointer to customized name of device.
attribute Character pointer to attribute associated with device.

Return Value

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.

[ Previous | Next | Contents | Home | Search ]