X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fzoom-p.h;h=d533084a6a98d4bf1028e69f793d49b309865531;hp=5abaa2aefde1f0364cb02e5717e907d0fac18500;hb=e2b8bf88befb43e4a189ce3e659c595e5b3af7dc;hpb=7ee4de722ccf984fc27203e70c432e29290f3984 diff --git a/src/zoom-p.h b/src/zoom-p.h index 5abaa2a..d533084 100644 --- a/src/zoom-p.h +++ b/src/zoom-p.h @@ -36,9 +36,12 @@ #include #include #include -#if HAVE_LIBMEMCACHED_MEMCACHED_H +#if HAVE_LIBMEMCACHED #include #endif +#if HAVE_HIREDIS +#include +#endif #define SHPTR 1 @@ -112,9 +115,12 @@ 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 }; typedef struct ZOOM_record_cache_p *ZOOM_record_cache;