PTMAP_send_sl_point
This subroutine sends all requests on a Shopping List for a specific point to the appropriate PTMRP. If a request is already outstanding or disabled, the request is ignored. New requests are now flagged as "outstanding." If no requests are sent, a warning is returned. PTMAP returns control to the application after the response or group of responses for the point have been received.
Syntax
int PTMAP_send_sl_point (sl_adr, point_adr, retstat)
PTMAP_ADDR *sl_adr;
PTMAP_ADDR *point_adr;
COR_STATUS *retstat;
Input Arguments
sl_adr | Identifier of Shopping List. |
Point_adr | A point ID created by a call to PTMAP_add_point that identifies the point the requests are associated with. |
Output Arguments
retstat | Pointer to status structure. The following warnings may be returned (see Appendix A for an explanation of this code): |
PTMAP_NO_REQ_SENT | |
PTMAP_REQ_NOT_FOUND |
Return Value
The contents of retstat.status .