X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;f=src%2Futil.hpp;h=3ee02497a6411a989c379311bef0432862e86855;hb=a5228f2429023517a4ece6a3bb0a2745d5293853;hp=93caa33eca301b21c089c07ff3abf4fb103687de;hpb=627806c9d1a499273ecea94fbc3e01f4cfc0de8a;p=metaproxy-moved-to-github.git diff --git a/src/util.hpp b/src/util.hpp index 93caa33..3ee0249 100644 --- a/src/util.hpp +++ b/src/util.hpp @@ -1,4 +1,4 @@ -/* $Id: util.hpp,v 1.6 2006-01-17 13:34:51 adam Exp $ +/* $Id: util.hpp,v 1.8 2006-01-17 17:55:40 adam Exp $ Copyright (c) 2005, Index Data. %LICENSE% @@ -26,6 +26,16 @@ namespace yp2 { int get_vhost_otherinfo(Z_OtherInformation **otherInformation, bool remove_flag, std::list &vhosts); + void get_init_diagnostics(Z_InitResponse *res, + int &error_code, std::string &addinfo); + 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); }; class odr : public boost::noncopyable {