Aci_Drivestatus - ADIC Server User Manual

Adic server user manual
Table of Contents

Advertisement

aci_drivestatus

#include "aci.h"
int aci_drivestatus( char *clientname,
*pstDriveEntry[ACI_MAX_DRIVE_ENTRIES])
Figure 4-15
struct aci_drive_entry {
};
Figure 4-16
21 Dec 2001
The aci_drivestatus function queries status of up to 15 drives.
See Figure 4-15.
struct aci_drive_entry
aci_drivestatus Function Call
Return the status of drives which are set to UP (active) for the
client with name clientname. If clientname is the NULL string,
return status on all drives. The status is returned in
drive_entry, an array of pointers to aci_drive_entry structures.
See Figure 4-16.
For additional information, refer to
aci_driveaccess on page 4-18, and
aci_drivestatus on page 4-21.
char drive_name[ACI_DRIVE_LEN];
char amu_drive_name[ACI_AMU_DRIVE_LEN];
enum aci_drive_status drive_state;
char type;
char system_id[ACI_NAME_LEN];
char clientname[ACI_NAME_LEN];
char volser [ACI_VOLSER_LEN];
bool_t cleaning;
short clean_count;
Returned Status
For an explanation of the aci_drive_entry function, refer to
aci_drivestatus on page 4-21
The maximum number of drives displayed is 15.
aci_drivestatus
4-21

Advertisement

Table of Contents
loading

Table of Contents