aci_list_foreign 4-89
21 Dec 2001
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
• EDASINT
• ETIMEOUT
• ESWITCHINPROG
• ENOTSUPPHCMD
aci_list_foreign
The aci_list_foreign function queries status from up to 300
foreign volsers for a client. See Figure 4-80.
Figure 4-80 aci_list_foreign Function Call
Returns the status of the foreign volser. If the volser is the
NULL string, return nCount status on all foreign volsers. The
status is returned in an array of pointers to aci_foreign_desc
structure. The array element can be maximum size of 300. See
Figure 4-81.
PINV Complete archive inventory and database update (aci_inventory)
PRGE Delete a command from the command list (aci_cancel)
SHUT Shutdown off the complete AMU (aci_killamu)
Table 4-33 Explanation of the Req_types
req_types Explanation
#include "aci.h"
int aci_list_foreign( char *volser,
int *nCount,
aci_foreign_desc *pszForeign)