ADIC Server User Manual page 55

Adic server user manual
Table of Contents

Advertisement

/* Add a volser range to a clients access list */
int rc = 0;
enum aci_command action = ACI_ADD; /*default action*/
char *client = "SomeClient";
char *volser = "AAB000 - AAB999";
char *drive = "";
enum aci_media type = ACI_3590;
if ((rc = aci_clientaccess ( client,
{
}
else
{
added.\n",
%s.\n",
}
Figure 4-7
21 Dec 2001
action,
volser,
type,
drive ) ))
aci_perror( "Command failed: " );
if (*volser)
{
printf ( "Volser range %s for client %s
volser, client );
}
if (*drive)
{
printf ( "Drive range %s added for client
drive, client );
}
Example of the aci_clientaccess Function
aci_clientaccess
4-13

Advertisement

Table of Contents
loading

Table of Contents