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

Example TU.H: TU local header file

/*
 *   COMPONENT_NAME: TU_DEVICE
 *
 *   FUNCTIONS: TU Header file
 */
  
#ifndef _h_tu
#define _h_tu
  
#include <diag/tucb.h>
#include <sys/pdiagex_dds.h>
  
#define TU_SUCCESS 0
#define TU_DEVICE_BUSY  1
#define TU_CHILD_BUSY   2
#define TU_SOFTWARE_ERROR 3
#define TU_INVALID_PARAM  4
#define TU_INCORRECT_STATE 5
  
#define TU_OPEN   0x01
       etc, etc
#define TU_CLOSE  0xEFFF
  
typedef struct {
      int adapter_diagnose_state;
      pdiagex_dds_t dds;
      pdiag_info_handle_t pdiagex_handle;
} TU_GLOBAL_DATA;
  
#endif
 

[ Previous | Next | Contents | Home | Search ]