return CRMD_RSCSTATE_START_OK;
return CRMD_ACTION_STARTED;
get_rsc_state(const char *task, op_status_t status) {	if(safe_str_eq(CRMD_RSCSTATE_START, task)) {		if(status == LRM_OP_PENDING) {			return CRMD_RSCSTATE_START_PENDING;		} else if(status == LRM_OP_DONE) {			return CRMD_RSCSTATE_START_OK;		} else {			return CRMD_RSCSTATE_START_FAIL;		}			} else if(safe_str_eq(CRMD_RSCSTATE_STOP, task)) {		if(status == LRM_OP_PENDING) {			return CRMD_RSCSTATE_STOP_PENDING;		} else if(status == LRM_OP_DONE) {			return CRMD_RSCSTATE_STOP_OK;		} else {			return CRMD_RSCSTATE_STOP_FAIL;		}			} else {		if(safe_str_eq(CRMD_RSCSTATE_MON, task)) {			if(status == LRM_OP_PENDING) {				return CRMD_RSCSTATE_MON_PENDING;			} else if(status == LRM_OP_DONE) {				return CRMD_RSCSTATE_MON_OK;			} else {				return CRMD_RSCSTATE_MON_FAIL;			}		} else {			const char *rsc_state = NULL;			if(status == LRM_OP_PENDING) {				rsc_state = CRMD_RSCSTATE_GENERIC_PENDING;			} else if(status == LRM_OP_DONE) {				rsc_state = CRMD_RSCSTATE_GENERIC_OK;			} else {				rsc_state = CRMD_RSCSTATE_GENERIC_FAIL;			}			crm_warn("Using status \"%s\" for op \"%s\"..."				 " this is still in the experimental stage.",				 rsc_state, task);			return rsc_state;		}	}}