X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Ftorus.hpp;h=0db2bf8c352ade20f6340bf338fd58177ff932e3;hb=586d78659d671683f33ec55f4a7d32b28e345ccd;hp=87e7c0a37ec38850729deb51d0d30e79e4120d59;hpb=dee29d77163776942488b38eb7691df51bb30bbc;p=metaproxy-moved-to-github.git diff --git a/src/torus.hpp b/src/torus.hpp index 87e7c0a..0db2bf8 100644 --- a/src/torus.hpp +++ b/src/torus.hpp @@ -1,5 +1,5 @@ /* This file is part of Metaproxy. - Copyright (C) 2005-2011 Index Data + Copyright (C) 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 @@ -23,17 +23,15 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #include #include +#include + namespace metaproxy_1 { - class Torus { - public: - Torus(); - ~Torus(); - void read_searchables(std::string url); - xmlDoc *get_doc(); - private: - xmlDocPtr doc; - }; - xmlDoc *get_searchable(std::string url_template, const std::string &db); + xmlDoc *get_searchable(Package &package, + std::string url_template, const std::string &db, + const std::string &query, + const std::string &realm, + const std::string &proxy, + std::string &addinfo); } #endif