PTMAP_set_point

This subroutine enables or disables a point that has been added to the local data store.

Syntax

int PTMAP_set_point (point_adr, enabled_state,

                     retstat)

PTMAP_ADDR  *point_adr;

COR_BOOLEAN enabled_state;

COR_STATUS  *retstat;

Input Arguments

point_adr

Pointer to 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_SL_ADR_NULL

 

PTMAP_SL_ADDR_NOTF

 

PTMAP_SEQ_NUM_MISMATCH

Return Value

The contents of retstat.status.

More information

Point Management API subroutines.