/* This file is part of Metaproxy.
- Copyright (C) 2005-2011 Index Data
+ Copyright (C) 2005-2012 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
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,
Odr_int &number_to_present,
const char **element_set_name);
+ std::string uri_encode(std::string s);
+ std::string uri_decode(std::string s);
};
class odr : public boost::noncopyable {