Filter zoom does retrieval
[metaproxy-moved-to-github.git] / include / metaproxy / util.hpp
index 810afbd..3f45349 100644 (file)
@@ -1,5 +1,5 @@
 /* This file is part of Metaproxy.
-   Copyright (C) 2005-2010 Index Data
+   Copyright (C) 2005-2011 Index Data
 
 Metaproxy is free software; you can redistribute it and/or modify it under
 the terms of the GNU General Public License as published by the Free
@@ -104,11 +104,19 @@ namespace metaproxy_1 {
         void get_default_diag(Z_DefaultDiagFormat *r,
                               int &error_code, std::string &addinfo);
 
-        void piggyback(int smallSetUpperBound,
-                       int largeSetLowerBound,
-                       int mediumSetPresentNumber,
-                       int result_set_size,
-                       int &number_to_present);
+        void piggyback_sr(Z_SearchRequest *sreq,
+                          Odr_int result_set_size,
+                          Odr_int &number_to_present,
+                          const char **element_set_name);
+
+        void piggyback(Odr_int smallSetUpperBound,
+                       Odr_int largeSetLowerBound,
+                       Odr_int mediumSetPresentNumber,
+                       const char *smallSetElementSetNames,
+                       const char *mediumSetElementSetNames,
+                       Odr_int result_set_size,
+                       Odr_int &number_to_present,
+                       const char **element_set_name);
 
     };