X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=src%2Fcache.h;h=c3741e1a90bb39b066260095c195cdb2ed7b16da;hb=0dff4eb6b860070626bb4a28ac7d9d5363821fdf;hp=a205b705d44f75d7d2916ddd8dae6dbacadb3f0c;hpb=a4c3af8516b1384e2856904719e75cda5bf6d669;p=catta 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);