API Guide
601355 Rev A API Functions 2-409
Functions
30 VST_TABLE_HANDLE
comphandletable;
31 VST_COMPONENT_HANDLE
comphandle;
32 VST_COMP_TYPE CompType =
VSE_COMPTYPE_COLUMN;
33 ST_COMPONENT_ID CompID;
34 VST_COMMAND_HANDLE cmd;
35
36 bzero ( CompID, sizeof (
VST_COMPONENT_ID ) );
37 /* get parameters from user */
38 printf(“*** Create Archive Media
Class parameters ***\n” );
39 printf(“Enter Archive Name ==> “ );
40 gets( archive );
41 printf(“Enter Media Class Name ==> “
);
42 gets( mediaclass );
43 printf(“Enter Capacity Percent ==> “
);
44 capacity = atoi(gets(input));
45 printf(“Enter Archive action option
46 (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 /* these parameters only need to
be set */
56 /* if the archivemediaclass is
being */
57 /* set up to support migration. */
58 printf(“Enter Target Archive ==> “
);