API Guide
601355 Rev A API Functions 2-377
Functions
13 #ifdef ANSI_C
14 void
vst_print_request(VST_REQUEST_HAN
DLE h)
15 #else
16 void vst_print_request(h)
17 VST_REQUEST_HANDLE h;
18 #endif
19 {
20 VST_REQUEST_ID RequestID;
21 VST_REQUEST_TYPE RequestType;
22 VST_TIME InTime;
23 VST_REQUEST_STATE State;
24 VST_PRIORITY Priority;
25
26 VS_Request_GetFields(h,
27 VSID_REQUEST_ID,
&RequestID,
28 VSID_REQUEST_TYPE,
&RequestType,
29 VSID_TIME,
&InTime,
30 VSID_REQUEST_STATE,
&State,
31 VSID_PRIORITY,
&Priority,
32 VSID_ENDFIELD);
33 printf(“******Request
Handle******\n”);
34 printf(“Request ID = %d\n”,
RequestID);
35 printf(“Request Type = %d\n”,
RequestType);
36 printf(“Time = %s”, ctime((time_t *)
&InTime));
37 printf(“Request state = %d\n”,
State);
38 printf(“Priority = %d\n”, Priority);
39 }