This subroutine enables or disables all requests for a specified point on a Shopping List.
Syntax
int PTMAP_set_sl_point (sl_adr, point_adr,
enabled_state, retstat)
PTMAP_ADDR *sl_adr;
PTMAP_ADDR *point_adr;
COR_BOOLEAN enabled_state;
COR_STATUS *retstat;
Input Arguments
sl_adr |
Pointer to the Shopping List. |
point_adr |
Pointer to point created by a call to PTMAP_add_point.. |
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_PT_ADR_NULL |
|
PTMAP_PT_ADDR_NOTF |
|
PTMAP_SL_ADR_NULL |
|
PTMAP_SL_ADDR_NOTF |
|
PTMAP_SEQ_NUM_MISMATCH |
Return Value
The contents of retstat.status.
Point Management API subroutines. |