X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fmetaproxy%2Futil.hpp;h=7c9f1ee7744b44eb3ad60e474d40a268636212dd;hb=dee29d77163776942488b38eb7691df51bb30bbc;hp=5252d9a25b9a38a67f71ef48ab69867723087953;hpb=c1d953eee6c00432493bc364da6284704ccd9cc2;p=metaproxy-moved-to-github.git diff --git a/include/metaproxy/util.hpp b/include/metaproxy/util.hpp index 5252d9a..7c9f1ee 100644 --- a/include/metaproxy/util.hpp +++ b/include/metaproxy/util.hpp @@ -110,6 +110,21 @@ namespace metaproxy_1 { 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); + + std::string uri_encode(std::string s); }; class odr : public boost::noncopyable {