API Guide
2-46 API Functions 601355 Rev A
53 printf(“Media Type Name = %s\n”,
MediaType);
54 printf(“Capacity = %d\n”, Capacity);
55 printf(“Media Class percent = %d\n”,
MediaClassPercent);
56 printf(“Archive Action Mode = %d\n”,
ActionMode);
57 printf(“High Mark = %d\n”, HighMark);
58 printf(“Low Mark = %d\n”, LowMark);
59 printf(“Fill Level = %d\n”,
FillLevel);
60 printf(“Migration Priority = %d\n”,
MigrationPriority);
61 printf(“Target Archive = %s\n”,
TargetArchive);
62 if (RestrictedComps !=
(VST_TABLE_HANDLE) NULL)
63 {
64 /* get number of entries */
65 VS_Table_GetFields(RestrictedComp
s,
66 VSID_NUMBER_ENTRIES, &n,
67 VSID_ENDFIELD);
68 for (i = 0; i < n; i++)
69 {
70 VS_Table_GetFields(RestrictedComp
s,
71 VSID_TABLE_ENTRY, i,
&Component,
72 VSID_ENDFIELD);
73 vst_print_component(Component);
74 }
75 }
76 }