X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;f=src%2Futil.hpp;h=f60e818375b41fd90a4b563e81726da8f7ac53da;hb=1a8f4295eceae42c82160c88f50bb7d6fc7eadf0;hp=5b81d04b1ad7ad377fe09438b37790a04c2c8c47;hpb=f47e8cf4cde2ba5465106e219c803e6424a4f177;p=metaproxy-moved-to-github.git diff --git a/src/util.hpp b/src/util.hpp index 5b81d04..f60e818 100644 --- a/src/util.hpp +++ b/src/util.hpp @@ -1,5 +1,5 @@ -/* $Id: util.hpp,v 1.12 2006-01-25 11:27:19 adam Exp $ - Copyright (c) 2005, Index Data. +/* $Id: util.hpp,v 1.14 2006-05-15 11:43:01 adam Exp $ + Copyright (c) 2005-2006, Index Data. %LICENSE% */ @@ -16,8 +16,10 @@ #include #include "package.hpp" -namespace yp2 { +namespace metaproxy_1 { namespace util { + std::string database_name_normalize(const std::string &s); + bool pqf(ODR odr, Z_APDU *apdu, const std::string &q); std::string zQueryToString(Z_Query *query); @@ -70,7 +72,7 @@ namespace yp2 { Z_APDU *create_scanResponse(Z_APDU *in_apdu, int error, const char *addinfo); Z_APDU *create_APDU(int type, Z_APDU *in_apdu); - Z_GDU *create_HTTP_Response(yp2::Session &session, + Z_GDU *create_HTTP_Response(metaproxy_1::Session &session, Z_HTTP_Request *req, int code); private: ODR m_odr;