X-Git-Url: http://git.meshlink.io/?p=catta;a=blobdiff_plain;f=src%2Fcache.h;h=c3741e1a90bb39b066260095c195cdb2ed7b16da;hp=a205b705d44f75d7d2916ddd8dae6dbacadb3f0c;hb=d80c70d36363762e0cf1534e654e122d741fbc5d;hpb=46000e498262feded366290aa16746218b013370 diff --git a/src/cache.h b/src/cache.h index a205b70..c3741e1 100644 --- a/src/cache.h +++ b/src/cache.h @@ -65,7 +65,7 @@ struct CattaCacheEntry { struct CattaCache { CattaServer *server; - CattaInterface *interface; + CattaInterface *iface; CattaHashmap *hashmap; @@ -77,7 +77,7 @@ struct CattaCache { time_t last_rand_timestamp; }; -CattaCache *catta_cache_new(CattaServer *server, CattaInterface *interface); +CattaCache *catta_cache_new(CattaServer *server, CattaInterface *iface); void catta_cache_free(CattaCache *c); void catta_cache_update(CattaCache *c, CattaRecord *r, int cache_flush, const CattaAddress *a);