API Guide
2-900 API Functions 601355 Rev A
32 VST_COMP_TYPE CompType =
VSE_COMPTYPE_COLUMN;
33 VST_COMPONENT_ID CompID;
34 VST_COMMAND_HANDLE cmd;
35
36 bzero ( CompID, sizeof (
VST_COMPONENT_ID ) );
37 /* get parameters from user */
38 printf(“*** Modify parameters ***\n”
);
39 printf(“*** The archive media class
grouping must exist. ***\n”);
40 printf(“Enter Archive Name ==> “ );
41 gets( archive );
42 printf(“Enter Media Class Name ==> “
);
43 gets( mediaclass );
44 printf(“Enter Capacity Percent ==> “
);
45 capacity = atoi(gets(input));
46 printf(“Enter Archive action option
(0-none/1-mig/2-notify) ==> “ );
47 action = atoi(gets(input));
48 printf(“Enter High Mark Percentage
==> “ );
49 highmark = atoi(gets(input));
50 printf(“Enter Low Mark Percentage ==>
“ );
51 lowmark = atoi(gets(input));
52
53 if ( action == VSE_ARCHIVE_ACTION_MIG
)
54 {
55 printf(“Enter Target Archive ==> “
);
56 gets( targetarchive );
57 printf(“Enter Migration Priority
== > “ );
58 migpri = atoi(gets(input));
59 /* These only need to be set when
migration */
60 /* is used. */