API Guide
601355 Rev A API Functions 2-439
Functions
40 printf(“Enter import class ==> “);
41 gets(ImportClass);
42 printf(“Enter import batch ==> “);
43 gets(ImportBatch);
44 printf(“Enter import manufacturer
==> “);
45 gets(ImportManufacturer);
46 printf(“Enter capacity ==> “);
47 Capacity = atoi(gets(input));
48 printf(“Enter high mark percent
==> “);
49 HighMarkPercent =
atoi(gets(input));
50 printf(“Enter low mark percent ==>
“);
51 LowMarkPercent =
atoi(gets(input));
52 printf(“Enter fill level ==> “);
53 FillLevel = atoi(gets(input));
54 printf(“Enter number of assigned
bins ==> “);
55 AssignedBins = atoi(gets(input));
56 printf(“Enter archive action
option ==> “);
57 ActionOpt = atoi(gets(input));
58 printf(“Enter auto import flag ==>
“);
59 AutoImportFlag =
atoi(gets(input));
60 printf(“Enter auto checkin flag
==> “);
61 AutoCheckinFlag =
atoi(gets(input));
62 /* set the fields */
63 rc = VS_TypeCapacity_SetFields(h,
64 VSID_MEDIA_TYPE_NAME,
MediaType,
65 VSID_MEDIA_CLASS_NAME,
ImportClass,
66 VSID_BATCH_NAME,
ImportBatch,