rem: _dcache = _cachedb;
add: _dcache = *_cachedb;
context: int dbt_cache_check_db(str *_s){	dbt_cache_p _dcache=NULL;;	if(!_cachesem || !_cachedb || !_s || !_s->s || _s->len<=0)		return -1;		lock_get(_cachesem);		_dcache = _cachedb;	while(_dcache)	{		if(_dcache->dbp)		{			if(_dcache->dbp->name.len == _s->len &&				strncasecmp(_dcache->dbp->name.s, _s->s, _s->len))			{				lock_release(_cachesem);				return 0;			}		}		_dcache = _dcache->next;	}		lock_release(_cachesem);	return -1;}