X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fyaz%2B%2B%2Frecord-cache.h;fp=include%2Fyaz%2B%2B%2Frecord-cache.h;h=36543c73daee7b23e204acd96a856d7094269db4;hb=eea2caea1263bed0aae268f72d985cbb1822ac30;hp=174da53b7140b83d45e9e071cc6ae2fb22a58623;hpb=86726b00b052694e65b036c262f5fe9096554175;p=yazpp-moved-to-github.git diff --git a/include/yaz++/record-cache.h b/include/yaz++/record-cache.h index 174da53..36543c7 100644 --- a/include/yaz++/record-cache.h +++ b/include/yaz++/record-cache.h @@ -2,7 +2,7 @@ * Copyright (c) 2002-2004, Index Data. * See the file LICENSE for details. * - * $Id: record-cache.h,v 1.2 2005-06-02 06:40:21 adam Exp $ + * $Id: record-cache.h,v 1.3 2005-06-08 13:28:05 adam Exp $ */ @@ -10,12 +10,12 @@ #include namespace yazpp_1 { -class Yaz_RecordCache_Entry; +class RecordCache_Entry; -class YAZ_EXPORT Yaz_RecordCache { +class YAZ_EXPORT RecordCache { public: - Yaz_RecordCache (); - ~Yaz_RecordCache (); + RecordCache (); + ~RecordCache (); void add (ODR o, Z_NamePlusRecordList *npr, int start, int hits); int lookup (ODR o, Z_NamePlusRecordList **npr, int start, int num, @@ -27,10 +27,10 @@ class YAZ_EXPORT Yaz_RecordCache { void set_max_size(int sz); private: NMEM m_mem; - Yaz_RecordCache_Entry *m_entries; + RecordCache_Entry *m_entries; Z_SearchRequest *m_searchRequest; Z_PresentRequest *m_presentRequest; - int match (Yaz_RecordCache_Entry *entry, + int match (RecordCache_Entry *entry, Odr_oid *syntax, int offset, Z_RecordComposition *comp); int m_max_size;