API Guide
2-280 API Functions 601355 Rev A
42 printf(“Enter mediaclass name ==>
“);
43 gets(MediaClass);
44 printf(“Enter media type name ==>
“);
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 */