API Guide
601355 Rev A API Functions 2-275
Functions
45 gets(MediaTypeName);
46 printf(“Enter release priority
==> “);
47 ReleasePriority =
atoi(gets(input));
48 printf(“Enter capacity ==> “);
49 Capacity = atoi(gets(input));
50 printf(“Enter fill level ==> “);
51 FillLevel = atoi(gets(input));
52 printf(“Enter mount state ==> “);
53 MountState = atoi(gets(input));
54 printf(“Enter high mark ==> “);
55 HighMark = atoi(gets(input));
56 printf(“Enter class RPC option ==>
“);
57 RPC_Option = atoi(gets(input));
58 printf(“Enter RPC host name ==>
“);
59 gets(RPC_HostName);
60 printf(“Enter RPC program number
==> “);
61 RPC_ProgNum = atol(gets(input));
62 printf(“Enter RPC version number
==> “);
63 RPC_VersNum = atol(gets(input));
64 printf(“Enter RPC procedure
number ==> “);
65 RPC_ProcNum = atol(gets(input));
66 printf(“Enter RPC protocol ==> “);
67 RPC_Protocol = atoi(gets(input));
68 printf(“Enter enterprise id ==>
“);
69 EnterpriseID = atol(gets(input));
70 printf(“Enter notify comment ==>
“);
71 gets(NotifyComment);
72 /* set the fields */
73 rc = VS_MediaClass_SetFields(h,
74 VSID_MEDIA_CLASS_NAME,
MediaClass,
75 VSID_MEDIA_TYPE_NAME,
MediaTypeName,