API Guide
601355 Rev A API Functions 2-627
Functions
59 gets(rpc_hostname);
60 printf(“\nEnter program number
==>”);
61 rpc_prognum =
(VST_PROGRAM_NUMBER)
atol(gets(input));
62 printf(“\nEnter version number
==>”);
63 rpc_versnum =
(VST_PROGRAM_NUMBER)
atol(gets(input));
64 printf(“\nEnter procedure number
==>”);
65 rpc_procnum =
(VST_PROGRAM_NUMBER)
atol(gets(input));
66 printf(“\nEnter Protocol (6) TCP
or (17) UDP ==>”);
67 rpc_protocol = (VST_PROTOCOL)
atoi(gets(input));
68
VSCMD_CreateMediaClass_SetDefault
s(
69 VSID_HOST_NAME,
rpc_hostname,
70 VSID_CLASS_RPC_OPTION,
rpc_option,
71 VSID_PROGRAM_NUMBER,
rpc_prognum,
72 VSID_VERSION_NUMBER,
rpc_versnum,
73 VSID_PROCEDURE_NUMBER,
rpc_procnum,
74 VSID_PROTOCOL,
rpc_protocol,
75 VSID_ENDFIELD);
76 }
77 else if (rpc_option ==
VSE_CLASS_RPC_ENTERPRISE)
78 {
79 printf(“\nEnter enterprise id
==>”);