Aci_Init - ADIC Server User Manual

Adic server user manual
Table of Contents

Advertisement

/* Display volsers for the optical disk*/
int rc = 0;
char *volser = "00815F";
struct aci_sideinfo *sideinfo[ACI_SIDE_NUMBER];
rc = aci_getvolsertoside( volser, sideinfo);
if( rc )
{
}
else
Figure 4-61

aci_init

#include "aci.h"
int aci_init( void )
Figure 4-62
4-72
DAS ACI Functions
aci_perror( "Command failed: " );
printf( "Side:%s Volser:%d\n",
side_info[0]->Side,
side_info[0]->Volser,
side_info[1]->Side,
side_info[1]->Volser);
}
Example of the aci_getvolsertoside Function
The aci_init function initializes the AML for client use. See
Figure 4-62.
aci_init Function Call
Most clients wish to start from a known status, the aci_init
call is provided so that an initialization, or restart, of a client
may request that any resources previously held are freed.
Normally this call can be placed in the initialization of the
client code. This function requests that the DAS server
dismount any occupied drives defined to the requesting
client.
For additional information, refer to aci_initialize on page 4-74.
601626-B

Advertisement

Table of Contents
loading

Table of Contents