API Guide
601355 Rev A API Functions 2-959
Functins
27 VST_LOCK_ID lockid;
28 VST_CRITERIAGROUP_HANDLE grouph;
29 VST_COMMAND_HANDLE cmdh;
30
31 /* get parameters from user */
32 printf ( “Enter Drive Pool for mount
==> “ );
33 gets(drivepool);
34 printf(“\n*** Exclusion List
***\n”);
35 exclcount =
vst_getdrivelist(excllist,
VST_MAX_ITEMS);
36 printf ( “Enter Media ID for mounting
==> “ );
37 gets(mediaid);
38 printf ( “Mount by criteria (1) yes
or (2) no ==> “ );
39 entry = atoi(gets(input));
40 if ( entry == 1 )
41 {
42 printf ( “Enter number of criteria
groups ==> “ );
43 entry = atoi(gets(input));
44 for ( i = 0 ; i < entry ; i++ )
45 {
46 grouph =
vst_create_mount_criteria();
47 if ( grouph !=
(VST_CRITERIAGROUP_HANDLE) NULL )
48 {
49 /* It is easiest to set
criteria */
50 /* groups in the default
function as */
51 /* done here. This is
particularly */
52 /* true if it is desired to
use more */
53 /* than one criteria group.
*/
54 VSCMD_Mount_SetDefaults (