Return Values - ADIC Server User Manual

Adic server user manual
Table of Contents

Advertisement

/* List outstanding client requests */
int rc, i;
char *client = "SomeClient";
struct aci_req_entry *requests[ACI_MAX_REQ_ENTRIES];
if ( rc = aci_list( client, requests ) )
{
}
else
{
for (i=0;(i<ACI_MAX_REQ_ENTRIES)&&(requests[i]-
>request_no!=0);i++)
{
%u\n\tindivid_no = %ld\n"
}
Figure 4-77
4-86
DAS ACI Functions

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
See Figure 4-77 for an example of the aci_list function.
aci_perror( "Command failed: " );
printf ("List for client %s successful\n",
client);
printf("client = %s\n\trequest =
"\ttype = %s\n",
requests[i]->clientname,
requests[i]->request_no,
requests[i]->individ_no,
requests[i]->req_type);
Example of the aci_list Function
601626-B

Advertisement

Table of Contents
loading

Table of Contents