API Guide
2-38 API Functions 601355 Rev A
34 if (h !=
(VST_ARCHIVEMEDIACLASS_HANDLE)
NULL)
35 {
36 /* get the values from the user */
37 printf(“** Archive Media Class
handle **\n”);
38 printf(“Enter Archive Name ==> “);
39 gets(Archive);
40 printf(“Enter Media Class Name ==>
“);
41 gets(MediaClass);
42 printf(“Enter Media Type Name ==>
“);
43 gets(MediaType);
44 printf(“Enter Capacity ==> “);
45 Capacity = atoi(gets(input));
46 printf(“Enter MediaClass Percent
==> “);
47 MediaClassPercent =
atoi(gets(input));
48 printf(“Enter Archive Action Mode
==> “);
49 ActionMode = atoi(gets(input));
50 printf(“Enter High Mark Mode ==>
“);
51 HighMark = atoi(gets(input));
52 printf(“Enter Fill Level Mode ==>
“);
53 FillLevel = atoi(gets(input));
54 printf(“Enter Migration Priority
==> “);
55 MigrationPriority =
atoi(gets(input));
56 printf(“Enter Target Archive ==>
“);
57 gets(TargetArchive);
58 rc =
VS_ArchiveMediaClass_SetFields(h,
59 VSID_ARCHIVE_NAME,
Archive,