Adic Server Instrukcja Użytkownika Strona 168

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 218
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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)
Przeglądanie stron 167
1 2 ... 163 164 165 166 167 168 169 170 171 172 173 ... 217 218

Komentarze do niniejszej Instrukcji

Brak uwag