API Guide
601355 Rev A API Functions 2-85
Functions
39 timeout = atol(gets(input));
40
41 /* set fields in handle */
42 rc = VS_Command_SetFields(h,
43 VSID_REQUEST_ID,
requestid,
44 VSID_REQUEST_TYPE,
reqtype,
45 VSID_RETRY_LIMIT,
retrylimit,
46 VSID_TIMEOUT_VALUE,
timeout,
47 VSID_STATUS_WAIT_FLAG,
waitflag,
48 VSID_ENDFIELD);
49 if (rc)
50 {
51 /* print the handle and destroy
it */
52 vst_print_command(h);
53 }
54 VS_Command_Destroy(h);
55 }
56 return(rc);
57 }
Notes
See Also vsapi(l),
• VS_Command_Create(l),• VS_Command_Destroy(l),• VS_Command_GetFields(l),
Note
If the argument list does not end with VSID_ENDFIELD,
unpredictable results occur.