const char *op = NULL; const char *id = NULL; const char *type = NULL;
const char *op       = NULL; const char *id       = NULL; const char *type     = NULL;  crm_data_t *update = NULL; crm_data_t *output = NULL; crm_data_t *generation = NULL;
cibmon_update_confirm(const char *event, HA_Message *msg){	int rc = -1;	const char *op = NULL;	const char *id = NULL;	const char *type = NULL;	if(msg == NULL) {		crm_err("NULL update");		return;	}				op = cl_get_string(msg, F_CIB_OPERATION);	id = cl_get_string(msg, F_CIB_OBJID);	type = cl_get_string(msg, F_CIB_OBJTYPE);		ha_msg_value_int(msg, F_CIB_RC, &rc);		if(id == NULL) {		if(rc == cib_ok) {			crm_info(UPDATE_PREFIX"[%s] %s (to section=%s) confirmed.",				 event, op, crm_str(type));		} else {			crm_warn(UPDATE_PREFIX"[%s] %s (to section=%s) ABORTED: (%d) %s",				 event, op, crm_str(type), 				 rc, cib_error2string(rc));		}			} else {		if(rc == cib_ok) {			crm_info(UPDATE_PREFIX"[%s] %s (to <%s%s%s>) confirmed",				 event, op, crm_str(type),				 id?" id=":"", id?id:"");		} else {			crm_warn(UPDATE_PREFIX"[%s] %s (to <%s%s%s>) ABORTED: (%d) %s",				 event, op, crm_str(type),				 id?" id=":"", id?id:"",				 rc, cib_error2string(rc));		}	}	crm_debug_3(UPDATE_PREFIX"=================================");}