core-legacy/src/cache.c

18 lines
273 B
C
Raw Normal View History

2020-08-13 09:26:06 +00:00
#include <cache.h>
#include <logger.h>
sqlite3 *cache_database;
void
cache_init()
{
int rc = sqlite3_open(":memory:", &cache_database);
if(rc)
{
LOGGER_CRIT("can't open cache database: %s\n", sqlite3_errmsg(cache_database));
return;
}
}