r=(char **)lh_retrieve(db->index[i],(char *)row);
r=(char **)lh_retrieve(db->index[i],row);
int TXT_DB_insert(TXT_DB *db, char **row)	{	int i;	char **r;	for (i=0; i<db->num_fields; i++)		{		if (db->index[i] != NULL)			{			if ((db->qual[i] != NULL) &&				(db->qual[i](row) == 0)) continue;			r=(char **)lh_retrieve(db->index[i],(char *)row);			if (r != NULL)				{				db->error=DB_ERROR_INDEX_CLASH;				db->arg1=i;				db->arg_row=r;				goto err;				}			}		}	/* We have passed the index checks, now just append and insert */	if (!sk_push(db->data,(char *)row))		{		db->error=DB_ERROR_MALLOC;		goto err;		}	for (i=0; i<db->num_fields; i++)		{		if (db->index[i] != NULL)			{			if ((db->qual[i] != NULL) &&				(db->qual[i](row) == 0)) continue;			lh_insert(db->index[i],(char *)row);			}		}	return(1);err:	return(0);	}