Adic Server Manuel d'utilisateur Page 168

  • 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 167
4-126 DAS ACI Functions
601626-B
Figure 4-116 Example of the aci_view Function
aci_volser_inventory
The aci_volser_inventory function inventories the volsers
within the AML. See Figure 4-117.
Figure 4-117 aci_volser_inventory Function Call
Start the comparison between the physical barcode volser and
the AMU database and update the AMU database as
necessary. Refer to Table 4-55 on page 4-127.
/* Get volume information */
int rc;
enum aci_media type = ACI_3590;
char *volser = "";
struct aci_vol_desc desc;
if ( rc = aci_view(volser, type, &desc ))
{
aci_perror("view failed");
}
else
{
printf("Volser=%s Type=%c Attrib=%c\n\tcoordinate
=%s\n"
"\tuse count = %d\n\",
desc.volser,
desc.type,
desc.attrib,
desc.coord,
desc.use_count;
}
#include "aci.h"
int aci_volser_inventory(char *pszVolser, int status)
Vue de la page 167
1 2 ... 163 164 165 166 167 168 169 170 171 172 173 ... 217 218

Commentaires sur ces manuels

Pas de commentaire