Adic Server Manuel d'utilisateur Page 102

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 218
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 101
4-60 DAS ACI Functions
601626-B
Figure 4-48 Example of the aci_ejectclean Function
aci_email
The aci_email function sends email messages. See
Figure 4-49.
Figure 4-49 aci_email Function Call
See Table 4-22.
/* Eject clean cartridges from AML system*/
int res, i, pnActualCount;
char *Cleanpoolname = "CLP01";
char *areaname = "E02"
struct aci_ei_info *ei_info[ACI_EI_MAX_RANGE];
res = aci_ejectclean( areaname, Cleanpoolname,
ei_info);
if( rec )
{
aci_perror( "Command failed: " );
}
else
{
printf("Volume ejects request successful\n" );
for (i = 0; i < ACI_EI_MAX_RANGE; i++)
{
if ( *ei_info[i]->volser == '\0' )
break;
printf( "volser:%s media type:%s Error:%d\n",
ei_info[i]->volser,
ei_info[i]->media_type,
ei_info[i]->errcode );
}
}
#include "aci.h"
int aci_email (char *Adr
char *Msg)
Vue de la page 101
1 2 ... 97 98 99 100 101 102 103 104 105 106 107 ... 217 218

Commentaires sur ces manuels

Pas de commentaire