rem: LOG(L_ERR, "ERROR:tm:register_tmcb: out of shm. mem\n");
add: LOG(L_ERR, "ERROR:tm:insert_tmcb: out of shm. mem\n");
context: inline int insert_tmcb(struct tmcb_head_list *cb_list, int types,									transaction_cb f, void *param ){	struct tm_callback *cbp;	/* build a new callback structure */	if (!(cbp=shm_malloc( sizeof( struct tm_callback)))) {		LOG(L_ERR, "ERROR:tm:register_tmcb: out of shm. mem\n");		return E_OUT_OF_MEM;	}	/* link it into the proper place... */	cbp->next = cb_list->first;	cb_list->first = cbp;	cb_list->reg_types |= types;	/* ... and fill it up */	cbp->callback = f;	cbp->param = param;	cbp->types = types;	if (cbp->next)		cbp->id = cbp->next->id+1;	else		cbp->id = 0;	return 1;}