projects
/
metaproxy-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
fd86a93
)
Fix: support new configure API
author
Dennis Schafroth
<dennis@schafroth.com>
Mon, 29 Apr 2013 16:50:48 +0000
(18:50 +0200)
committer
Dennis Schafroth
<dennis@schafroth.com>
Mon, 29 Apr 2013 16:50:48 +0000
(18:50 +0200)
example-module/filter_myfilter.cpp
patch
|
blob
|
history
diff --git
a/example-module/filter_myfilter.cpp
b/example-module/filter_myfilter.cpp
index
e321e15
..
96be870
100644
(file)
--- a/
example-module/filter_myfilter.cpp
+++ b/
example-module/filter_myfilter.cpp
@@
-30,7
+30,7
@@
namespace metaproxy_1 {
class Filter_myfilter: public mp::filter::Base {
public:
void process(mp::Package & package) const;
class Filter_myfilter: public mp::filter::Base {
public:
void process(mp::Package & package) const;
- void configure(const xmlNode *ptr, bool test_only);
+ void configure(const xmlNode *ptr, bool test_only, const char *path);
};
}
}
};
}
}
@@
-63,9
+63,9
@@
void mp::filter::Filter_myfilter::process(mp::Package & package) const
}
}
}
}
-void mp::filter::Filter_myfilter::configure(const xmlNode *ptr, bool test_only)
+void mp::filter::Filter_myfilter::configure(const xmlNode *ptr, bool test_only, const char *path)
{
{
- yaz_log(YLOG_LOG, "myfilter::configure");
+ yaz_log(YLOG_LOG, "myfilter::configure called with test_only %d and %s", test_only, path);
for (ptr = ptr->children; ptr; ptr = ptr->next)
{
if (ptr->type != XML_ELEMENT_NODE)
for (ptr = ptr->children; ptr; ptr = ptr->next)
{
if (ptr->type != XML_ELEMENT_NODE)