API Guide
2-996 API Functions 601355 Rev A
VSE_ERR_SEND - The API software could not send the
command request to VolServ. This may be an RPC
communication error and can indicate VolServ is not
executing.
Example 1 /****************************************
*********
2*
3 * FUNCTION: vst_multimount_execute
4*
5 * PURPOSE:
6 * This function will test the
VSCMD_Multimount call.
7*
8 * PARAMETERS:
9 * none
10 *
11 ****************************************
*********/
12 #ifdef ANSI_C
13 VST_BOOLEAN
vst_multimount_execute(void)
14 #else
15 VST_BOOLEAN vst_multimount_execute()
16 #endif
17 {
18 int i;
19 int num;
20 VST_BOOLEAN rc = VSE_FALSE;
21 VST_COMMAND_HANDLE cmdh;
22 VST_MOUNT_HANDLE
mounth[VSD_MAX_MOUNT_REQS];
23
24 /* get parameters from user */
25 printf(“*** MultiMount Parameters
***\n”);
26 printf(“Enter the number of mount
requests ==> “ );
27 num = atoi(gets(input));
28