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
Protect the two Usemarcon handles
[metaproxy-moved-to-github.git]
/
src
/
filter_bounce.cpp
diff --git
a/src/filter_bounce.cpp
b/src/filter_bounce.cpp
index
e2aa888
..
503dd65
100644
(file)
--- a/
src/filter_bounce.cpp
+++ b/
src/filter_bounce.cpp
@@
-1,5
+1,5
@@
/* This file is part of Metaproxy.
/* This file is part of Metaproxy.
- Copyright (C) 2005-2008 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
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
@@
-17,23
+17,14
@@
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "filter_bounce.hpp"
*/
#include "filter_bounce.hpp"
-#include "package.hpp"
-#include "util.hpp"
+#include <metaproxy/package.hpp>
+#include <metaproxy/util.hpp>
#include "gduutil.hpp"
#include <yaz/zgdu.h>
#include <sstream>
#include "gduutil.hpp"
#include <yaz/zgdu.h>
#include <sstream>
-//#include "config.hpp"
-//#include "filter.hpp"
-
-//#include <boost/thread/mutex.hpp>
-
-
-
-
-
namespace mp = metaproxy_1;
namespace yf = mp::filter;
namespace mp = metaproxy_1;
namespace yf = mp::filter;
@@
-100,6
+91,12
@@
void yf::Bounce::process(mp::Package &package) const
return;
}
return;
}
+void mp::filter::Bounce::configure(const xmlNode * ptr, bool test_only,
+ const char *path)
+{
+ mp::xml::check_empty(ptr);
+}
+
static mp::filter::Base* filter_creator()
{
return new mp::filter::Bounce;
static mp::filter::Base* filter_creator()
{
return new mp::filter::Bounce;