X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=include%2Fyaz%2B%2B%2Fproxy.h;h=732639176f813f197405b155a41047a73a8d23c1;hb=3925b97e468538ef3394b99896e19ac5d3120b5f;hp=8535546631656cd476c3b9bdf130f6bf216fa062;hpb=72422e361f3ffd16766ff80bef553de08ea2f741;p=yazpp-moved-to-github.git diff --git a/include/yaz++/proxy.h b/include/yaz++/proxy.h index 8535546..7326391 100644 --- a/include/yaz++/proxy.h +++ b/include/yaz++/proxy.h @@ -2,7 +2,7 @@ * Copyright (c) 1998-2003, Index Data. * See the file LICENSE for details. * - * $Id: proxy.h,v 1.11 2003-10-08 08:15:01 adam Exp $ + * $Id: proxy.h,v 1.12 2003-10-08 08:53:08 adam Exp $ */ #include @@ -68,6 +68,7 @@ class YAZ_EXPORT Yaz_RecordCache { void copy_searchRequest(Z_SearchRequest *sr); void copy_presentRequest(Z_PresentRequest *pr); + void set_max_size(int sz); private: NMEM m_mem; Yaz_RecordCache_Entry *m_entries; @@ -76,6 +77,7 @@ class YAZ_EXPORT Yaz_RecordCache { int match (Yaz_RecordCache_Entry *entry, Odr_oid *syntax, int offset, Z_RecordComposition *comp); + int m_max_size; }; class YAZ_EXPORT Yaz_bw {