X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fzoom-p.h;h=7990d3660dd88a6a05d32fc044c5938353c5b162;hp=bb6db6f72d3277923b4ab074876685daf1cadb03;hb=55b4bc7eb9295ce335fad273d08d82d62ce4b7ea;hpb=118a28603418dfc84a5c91463a1d02219e7e9941 diff --git a/src/zoom-p.h b/src/zoom-p.h index bb6db6f..7990d36 100644 --- a/src/zoom-p.h +++ b/src/zoom-p.h @@ -36,7 +36,7 @@ #include #include #include -#if HAVE_LIBMEMCACHED_MEMCACHED_H +#if HAVE_LIBMEMCACHED #include #endif #if HAVE_HIREDIS @@ -115,12 +115,14 @@ struct ZOOM_connection_p { int log_details; int log_api; WRBUF saveAPDU_wrbuf; -#if HAVE_LIBMEMCACHED_MEMCACHED_H +#if HAVE_LIBMEMCACHED memcached_st *mc_st; #endif #if HAVE_HIREDIS redisContext *redis_c; #endif + int expire_search; + int expire_record; }; typedef struct ZOOM_record_cache_p *ZOOM_record_cache;