4-22 DAS ACI Functions
601626-B
Return Values
• 0: The call was successful.
• -1: The call failed.
The external variable d_errno is set to one of the following
DAS error codes:
• ERPC
• EINVALID
• ETIMEOUT
• ESWITCHINPROG
• EBADCLIENT
aci_drivestatus2
The aci_drivestatus2 function queries status of up to 250
drives. See Figure 4-17.
Figure 4-17 aci_drivestatus2 Function Call
Return the status of drives which are set to UP (active) for the
client with name clientname. The status is returned in
drive_entry, an array of pointers to aci_drive_entry
structures. See Figure 4-18 on page 4-23.
For additional information, Refer to aci_driveaccess on page
4-18.
#include "aci.h"
int aci_drivestatus2( char *clientname,
struct aci_drive_entry *pstDriveEntry[ACI_MAX_DRIVE_ENTRIES2])