projects
/
metaproxy-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sru_z3950: separate x-client prefix for each dbargs
[metaproxy-moved-to-github.git]
/
src
/
torus.hpp
diff --git
a/src/torus.hpp
b/src/torus.hpp
index
e360b42
..
01284c6
100644
(file)
--- a/
src/torus.hpp
+++ b/
src/torus.hpp
@@
-1,5
+1,5
@@
/* This file is part of Metaproxy.
/* This file is part of Metaproxy.
- Copyright (C) 2005-2011 Index Data
+ Copyright (C) 2005-2013 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
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,16
+23,14
@@
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#include <stdexcept>
#include <libxml/tree.h>
#include <stdexcept>
#include <libxml/tree.h>
+#include <metaproxy/package.hpp>
+
namespace metaproxy_1 {
namespace metaproxy_1 {
- class Torus {
- public:
- Torus();
- ~Torus();
- void read_searchables(std::string url);
- xmlDoc *get_doc();
- 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
}
#endif