X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fyazpp%2Frecord-cache.h;h=40abacbfcc97dc768329be2a4c8387cb2284f2e6;hb=d62e0baee8ee3cccced41746ef09fc3e01f401d5;hp=935b4a7ad16915e5068f1895a3ac3f2d68046626;hpb=217e153abe5e9c5aae6ef74a839bf01d30e295d3;p=yazpp-moved-to-github.git diff --git a/include/yazpp/record-cache.h b/include/yazpp/record-cache.h index 935b4a7..40abacb 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-2013 Index Data and Mike Taylor + * Copyright (C) Index Data and Mike Taylor * 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);