X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fzoom-p.h;h=bb6db6f72d3277923b4ab074876685daf1cadb03;hp=5abaa2aefde1f0364cb02e5717e907d0fac18500;hb=118a28603418dfc84a5c91463a1d02219e7e9941;hpb=ae36e69eb7fa1ba7c8c10c7c41bf7e30dc861db4 diff --git a/src/zoom-p.h b/src/zoom-p.h index 5abaa2a..bb6db6f 100644 --- a/src/zoom-p.h +++ b/src/zoom-p.h @@ -39,6 +39,9 @@ #if HAVE_LIBMEMCACHED_MEMCACHED_H #include #endif +#if HAVE_HIREDIS +#include +#endif #define SHPTR 1 @@ -115,6 +118,9 @@ struct ZOOM_connection_p { #if HAVE_LIBMEMCACHED_MEMCACHED_H memcached_st *mc_st; #endif +#if HAVE_HIREDIS + redisContext *redis_c; +#endif }; typedef struct ZOOM_record_cache_p *ZOOM_record_cache;