X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;f=src%2Futil.hpp;h=ba89bfd48b3048b227560459ab6b52824eebcac1;hb=dec223c79181a3a899c1239f3aa6c6461e177462;hp=e985a4061748493a5cb2bcc611d754a827644ee4;hpb=16921033f2609ed948cf6985b4fbce3d927a20c1;p=metaproxy-moved-to-github.git diff --git a/src/util.hpp b/src/util.hpp index e985a40..ba89bfd 100644 --- a/src/util.hpp +++ b/src/util.hpp @@ -1,4 +1,4 @@ -/* $Id: util.hpp,v 1.17 2006-06-19 23:54:02 adam Exp $ +/* $Id: util.hpp,v 1.18 2006-08-30 12:27:34 adam Exp $ Copyright (c) 2005-2006, Index Data. See the LICENSE file for details @@ -37,15 +37,22 @@ namespace metaproxy_1 { void split_zurl(std::string zurl, std::string &host, std::list &db); - - int get_vhost_otherinfo(Z_OtherInformation **otherInformation, - bool remove_flag, - std::list &vhosts); + + void get_vhost_otherinfo(Z_OtherInformation *otherInformation, + std::list &vhosts); + + int remove_vhost_otherinfo(Z_OtherInformation **otherInformation, + std::list &vhosts); void set_vhost_otherinfo(Z_OtherInformation **otherInformation, ODR odr, const std::list &vhosts); + int get_or_remove_vhost_otherinfo( + Z_OtherInformation **otherInformation, + bool remove_flag, + std::list &vhosts); + void get_init_diagnostics(Z_InitResponse *res, int &error_code, std::string &addinfo);