Custom session ID may be specified for SRU filter
[metaproxy-moved-to-github.git] / src / torus.hpp
index e3a54a9..aa99149 100644 (file)
@@ -24,14 +24,8 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 #include <libxml/tree.h>
 
 namespace metaproxy_1 {
-    class Torus {
-    public:
-        Torus();
-        ~Torus();
-        void read_searchables(std::string url);
-    private:
-        xmlDocPtr doc;
-    };
+    xmlDoc *get_searchable(std::string url_template, const std::string &db,
+                           const std::string &proxy);
 }
 
 #endif