Return Values; Aci_Drivestatus4 - ADIC Server User Manual

Adic server user manual
Table of Contents

Advertisement

aci_drivestatus4

#include "aci.h"
init aci_drivestatus4 ( char *clientname,
char *drive
struct
aci_ext_drive_entry4
Figure 4-22
21 Dec 2001

Return Values

0: The call was successful
-1: The call has failed
The external variable d_errno is set to one of the following DAS
error codes:
EBADCLIENT
ERPC
EINVALID
EDASINT
ETIMEOUT
ESWITCHINPROGRESS
EDASINT
The aci_drivestatus4 function queries the physical status of up
to 380 drives. See Figure 4-22.
*
pstDriveEntry
aci_drivestatus4 Function Call
Return the status of drives which are set to UP for the client
with the name clientname. If clientname is the NULL string, the
call returns status on all drives. If a value for the drive field is
indicated, the information relates to that single drive. The
status is returned in an array of pointers to the
aci_ext_drive_entry structure. The array element can be
maximal 380. See Figure 4-23.
The variable ACI_MAX_DRIVE_ENTRIES4 is equal to 380.
[
ACI_MAX_DRIV_ENTRIES4
aci_drivestatus4
])
4-29

Advertisement

Table of Contents
loading

Table of Contents