X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fzoom-p.h;h=bb6db6f72d3277923b4ab074876685daf1cadb03;hb=19cf946139df0a0606e590859fb6e98a09369f5b;hp=5abaa2aefde1f0364cb02e5717e907d0fac18500;hpb=7ee4de722ccf984fc27203e70c432e29290f3984;p=yaz-moved-to-github.git 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;