This subroutine waits for responses to any outstanding request. Using the wait_flag argument, the application specifies whether PTMAP should wait for either all or any responses. PTMAP returns control to the application after the response or group of responses have been received.
Syntax
int PTMAP_wait_all (wait_flag, retstat)
int wait_flag;
COR_STATUS *retstat;
Input Arguments
wait_flag |
Either PTM_NEXT (wait for the next response) or PTM_ALL (wait until responses have been made for all outstanding requests for that Shopping List). A warning is returned if no outstanding responses exist. |
Output Arguments
retstat |
Pointer to status structure. The following warning may be returned (see Appendix A for an explanation of this code): |
|
PTMAP_REQ_NOT_OUT |
Return Value
The contents of retstat.status.
Point Management API subroutines. |