cib->notify_list, new_client, cib_GCompareFunc);
cib->notify_list, new_client, ciblib_GCompareFunc);
int cib_client_add_notify_callback(	cib_t *cib, const char *event, void (*callback)(		const char *event, struct ha_msg *msg)){	GList *list_item = NULL;	cib_notify_client_t *new_client = NULL;		crm_debug("Adding callback for %s events (%d)",		  event, g_list_length(cib->notify_list));	crm_malloc(new_client, sizeof(cib_notify_client_t));	new_client->event = event;	new_client->callback = callback;	list_item = g_list_find_custom(		cib->notify_list, new_client, cib_GCompareFunc);		if(list_item != NULL) {		crm_warn("Callback already present");	} else {		cib->notify_list = g_list_append(			cib->notify_list, new_client);		crm_debug("Callback added (%d)", g_list_length(cib->notify_list));	}	return cib_ok;}