API Guide
601355 Rev A API Functions 2-693
Functions
12 #ifdef ANSI_C
13 VST_BOOLEAN
vst_intransitquery_execute(void)
14 #else
15 VST_BOOLEAN
vst_intransitquery_execute()
16 #endif
17 {
18 VST_BOOLEAN rc =
VSE_FALSE;
19 VST_COMMAND_HANDLE cmd;
20
21 printf(ā€œ*** Intransit Query ***\nā€ );
22
23 /* create the command handle */
24 /* Note that the command handle is
not */
25 /* destroyed in this routine, but in
*/
26 /* vst_dispatch when final status is
received. */
27 cmd = VS_Command_Create();
28 if ( cmd != (VST_COMMAND_HANDLE)
NULL)
29 {
30 /* Send the command to the VolServ
software. */
31 /* Note that status is not
processed here. */
32 /* Instead, it is processed in the
*/
33 /* vst_dispatch routine. Also,
note that */
34 /* default values such as timeout,
value */
35 /* retry limit and priority are
set as */
36 /* default parameters. There are
no */
37 /* command-specific parameters
for */
38 /* intransit query. */