API Guide
601355 Rev A API Functions 2-921
Functins
36 printf(“\nEnter Media Class to modify
==>”);
37 gets( mediaclass);
38 printf(“\nEnter New Media Class Name
(return to leave unchanged) ==>“);
39 gets( newclass);
40 printf(“\nEnter capacity==>”);
41 capacity = atoi(gets(input));
42 printf(“\nEnter class mount state (0)
no, (1) ok: “);
43 mountstate = atoi(gets(input));
44 printf(“\nEnter high mark ==>”);
45 highmark = atoi(gets(input));
46 printf(“\nEnter notify comment
==>”);
47 gets(comment);
48 printf(“\nEnter Option (0) no
callbacks, (1) standard, (2)
Enterprise ==>”);
49 rpc_option = (VST_CLASS_RPC_OPTION)
atoi(gets(input));
50 if (rpc_option ==
VSE_CLASS_RPC_NONE)
51 {
52
VSCMD_ModifyMediaClass_SetDefault
s(
53 VSID_CLASS_RPC_OPTION,
rpc_option,
54 VSID_ENDFIELD);
55 }
56 else if (rpc_option ==
VSE_CLASS_RPC_STANDARD)
57 {
58 printf(“\nEnter RPC Host Name
==>”);
59 gets(rpc_hostname);
60 printf(“\nEnter program number
==>”);
61 rpc_prognum =
(VST_PROGRAM_NUMBER)
atol(gets(input));