API Guide
601355 Rev A API Functions 2-547
Functions
30 vst_promptforglobals(&priority,
user_field, &timeout, &retries,
&wait_flag, &enterprise_id);
31 printf(“\nEnter Checkout Comment “);
32 gets( comment);
33 /* set the default parameters */
34 rc = VSCMD_Checkout_SetDefaults(
35 VSID_PRIORITY,
priority,
36 VSID_USER_FIELD,
user_field,
37 VSID_TIMEOUT_VALUE,
timeout,
38 VSID_RETRY_LIMIT,
retries,
39 VSID_STATUS_WAIT_FLAG,
wait_flag,
40 VSID_ENTERPRISE_ID,
enterprise_id,
41 VSID_COMMENT,
comment,
42 VSID_ENDFIELD);
43
44 return ( rc );
45 }
Notes
See Also vsapi(l),
VS_Error_GetFields(l), VS_Global_SetFields(l), • VSCMD_Checkout(l)
Note
If the argument list does not end with VSID_ENDFIELD,
unpredictable results occur.