API Guide
601355 Rev A API Functions 2-465
Functions
32 printf( “\nEnter Archive Name
==>”);
33 gets(archive);
34 }
35 else
36 {
37 strcpy(archive, VSD_STRING_INIT);
38 }
39 /* Initialize the Archive Query
Option */
40 arcqueryopt =
VSD_ARCQRY_OPTION_NONE;
41 printf( “query drive information? (1)
yes, (0) no: “);
42 ok = atoi(gets(input));
43 if (ok)
44 {
45 /* Add the option to query for */
46 /* drive information */
47 arcqueryopt +=
VSD_ARCQRY_OPTION_DRIVE;
48 }
49
50 printf( “query media information? (1)
yes, (0) no: “);
51 ok = atoi(gets(input));
52 if (ok)
53 {
54 /* add the option to query for
media */
55 /* information */
56 arcqueryopt +=
VSD_ARCQRY_OPTION_MEDIA;
57 }
58
59 printf( “query media class
information? (1) yes, (0) no: “);
60 ok = atoi(gets(input));
61 if (ok)
62 {
63 /* add the option to query media
class */