libscf_read_state
state_ret = libscf_read_state(pg, SCF_PROPERTY_STATE, state);
next_state_ret = libscf_read_state(pg, SCF_PROPERTY_NEXT_STATE,