Adic Server Manual do Utilizador Página 55

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 218
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 54
aci_clientaccess 4-13
21 Dec 2001
Figure 4-7 Example of the aci_clientaccess Function
/* 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,
action,
volser,
type,
drive ) ))
{
aci_perror( "Command failed: " );
}
else
{
if (*volser)
{
printf ( "Volser range %s for client %s
added.\n",
volser, client );
}
if (*drive)
{
printf ( "Drive range %s added for client
%s.\n",
drive, client );
}
}
Vista de página 54
1 2 ... 50 51 52 53 54 55 56 57 58 59 60 ... 217 218

Comentários a estes Manuais

Sem comentários