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