X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Futil.cpp;h=27916bafa035a6581b16e25a0fd7b4cc424a26aa;hb=1f20fd7b81d922d36a843cc3d157f8473912812c;hp=a6b57be4b73800850b8242c0bdfc82a21c4ea091;hpb=fad979a05e1392985f475f97bd31a0fb2f6221ec;p=metaproxy-moved-to-github.git diff --git a/src/util.cpp b/src/util.cpp index a6b57be..27916ba 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -188,6 +188,18 @@ void mp_util::piggyback_sr(Z_SearchRequest *sreq, element_set_name); } +void mp_util::piggyback(int smallSetUpperBound, + int largeSetLowerBound, + int mediumSetPresentNumber, + int result_set_size, + int &number_to_present) +{ + Odr_int tmp = number_to_present; + piggyback(smallSetUpperBound, largeSetLowerBound, mediumSetPresentNumber, + 0, 0, result_set_size, tmp, 0); + number_to_present = tmp; +} + void mp_util::piggyback(Odr_int smallSetUpperBound, Odr_int largeSetLowerBound, Odr_int mediumSetPresentNumber,