This subroutine disables or enables an existing request. When a request is disabled, it is ignored if it is part of a Shopping List that is sent to Point Management.
Syntax
int PTMAP_set_req (req_adr, enabled_state, retstat)
PTMAP_ADDR *req_adr;
COR_BOOLEAN enabled state;
COR_STATUS *retstat;
Input Arguments
req_adr |
Identifier used to reference this request. |
enabled_state |
New state for the request. |
|
Either TRUE (enabled) or FALSE (DISABLED). |
Output Arguments
Retstat |
Pointer to status structure. The following errors may be returned (see Appendix A for an explanation of this code): |
|
PTMAP_ADDR_PTR_NULL |
|
PTMAP_SL_ADR_NULL |
|
PTMAP_SL_ADDR_NOTF |
|
PTMAP_SEQ_NUM_MISMATCH |
Return Value
The contents of retstat.status.
Point Management API subroutines. |