X-Git-Url: http://lists.indexdata.dk/cgi-bin?a=blobdiff_plain;f=include%2Fyazpp%2Frecord-cache.h;h=d5bed57cd2b4a5445533b9129099af8a171ac8a1;hb=HEAD;hp=8fa2254ed88d7c8d730ceda6ab4ff3298287c8ff;hpb=51d68e30cd2aea2ec189bee63378744a6bcf9ca5;p=yazpp-moved-to-github.git diff --git a/include/yazpp/record-cache.h b/include/yazpp/record-cache.h index 8fa2254..d5bed57 100644 --- a/include/yazpp/record-cache.h +++ b/include/yazpp/record-cache.h @@ -1,5 +1,5 @@ /* This file is part of the yazpp toolkit. - * Copyright (C) 1998-2012 Index Data and Mike Taylor + * Copyright (C) Index Data * All rights reserved. * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: @@ -36,6 +36,8 @@ class YAZ_EXPORT RecordCache { RecordCache (); ~RecordCache (); void add(ODR o, Z_NamePlusRecordList *npr, int start, int hits); + void add(ODR o, Z_NamePlusRecordList *npr, int start, + Z_RecordComposition *comp); int lookup(ODR o, Z_NamePlusRecordList **npr, int start, int num, Odr_oid *syntax, Z_RecordComposition *comp);