cib_get_operation_id(const struct ha_msg* msg, int *operation)
cib_get_operation_id(const HA_Message * msg, int *operation)
cib_get_operation_id(const struct ha_msg* msg, int *operation) {	int lpc = 0;	int max_msg_types = DIMOF(cib_server_ops);	const char *op    = cl_get_string(msg, F_CIB_OPERATION);	for (lpc = 0; lpc < max_msg_types; lpc++) {		if (safe_str_eq(op, cib_server_ops[lpc].operation)) {			*operation = lpc;			return cib_ok;		}	}	crm_err("Operation %s is not valid", op);	*operation = -1;	return cib_operation;}