projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
yaz-iconv: fix typos
[yaz-moved-to-github.git]
/
src
/
zoom-p.h
diff --git
a/src/zoom-p.h
b/src/zoom-p.h
index
bb6db6f
..
7990d36
100644
(file)
--- a/
src/zoom-p.h
+++ b/
src/zoom-p.h
@@
-36,7
+36,7
@@
#include <yaz/srw.h>
#include <yaz/cookie.h>
#include <yaz/mutex.h>
#include <yaz/srw.h>
#include <yaz/cookie.h>
#include <yaz/mutex.h>
-#if HAVE_LIBMEMCACHED_MEMCACHED_H
+#if HAVE_LIBMEMCACHED
#include <libmemcached/memcached.h>
#endif
#if HAVE_HIREDIS
#include <libmemcached/memcached.h>
#endif
#if HAVE_HIREDIS
@@
-115,12
+115,14
@@
struct ZOOM_connection_p {
int log_details;
int log_api;
WRBUF saveAPDU_wrbuf;
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
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;
};
typedef struct ZOOM_record_cache_p *ZOOM_record_cache;