X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=src%2Ftorus.hpp;h=9bf12aa7f5c2bffcdc4964cafef12ba57ece0608;hb=73f37c91c144b070020df2f27472c09b62367acf;hp=e3a54a9acc7f488cee4232cf0452869d2d482b1c;hpb=67753db293cb62940e4c2db3a6e5f635cd5b78c3;p=metaproxy-moved-to-github.git diff --git a/src/torus.hpp b/src/torus.hpp index e3a54a9..9bf12aa 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) 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 @@ -23,15 +23,14 @@ 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); - private: - xmlDocPtr doc; - }; + 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); } #endif