aci_volserstatus 4-129
21 Dec 2001
• EUPELSE
• ERPC
• EINVALID
• ENOVOLUME
• EDASINT
• EBADCLIENT
• ENOTAUTH
• ETIMEOUT
• ESWITCHINPROG
• EUPOWN
aci_volserstatus
The aci_volserstatus function queries ownership of the volser.
See Figure 4-119.
Figure 4-119 aci_volserstatus Function Call
Returns the status of volsers which are set to UP for the client
with name clientname. If clientname is the NULL string, the
call return status on all volsers specified in VolserRange. The
status is returned in VolserEntry, an array of pointers to
aci_volser_entry structure.
The structure aci_volser_entry is stated, in aci.h, see
Figure 4-120
#include "aci.h"
int aci_volserstatus char *ClientName,
int *num
char *VolserRange,
struct aci_volser_entry *VolserEntry[ACI_MAX_VOLSER_ENTRIES]
struct aci_volser_entry {
char ClientName[ACI_NAME_LEN];
char VolserStatus[ACI_VOLSERSSTATUS_LEN];
char volser[ACI_VOLSER_LEN];
enum aci_media media_type;
}