API Guide
2-70 API Functions 601355 Rev A
12 ****************************************
*********/
13 #ifdef ANSI_C
14 void
vst_print_command(VST_COMMAND_HAN
DLE h)
15 #else
16 void vst_print_command(h)
17 VST_COMMAND_HANDLE h;
18 #endif
19 {
20 VST_REQUEST_ID requestid;
21 VST_REQUEST_TYPE reqtype;
22 VST_RETRY_LIMIT retrylimit;
23 VST_TIME_OUT timeout;
24 VST_STATUS_WAIT_FLAG waitflag;
25 VST_ERROR_HANDLE eh;
26 VST_STATUS_HANDLE sh;
27
28 VS_Command_GetFields(h,
29 VSID_REQUEST_ID,
&requestid,
30 VSID_REQUEST_TYPE,
&reqtype,
31 VSID_RETRY_LIMIT,
&retrylimit,
32 VSID_TIMEOUT_VALUE,
&timeout,
33 VSID_STATUS_WAIT_FLAG,
&waitflag,
34 VSID_ERROR_HANDLE,
&eh,
35 VSID_STATUS_HANDLE,
&sh,
36 VSID_ENDFIELD);
37
38 printf(“ ****Command Handle
Information****\n\n”);
39 printf(“RequestID = %luRequestType =
%d\n”,requestid,reqtype);
40 printf(“Retry Limit = %dTime Out =
%d\n”,retrylimit,timeout);