X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=example-module%2Ffilter_myfilter.cpp;h=96be8707b9879b72902e98c62c5f89436b1ecf31;hb=9f2dd20cc26c23a736b42e0eb929782f4e76b9e2;hp=e321e157cfa80ae5ba3b688f38b9f2c0e8956819;hpb=8ced8e7b5de3ecba12ac68ce5c5e8cddf40d800f;p=metaproxy-moved-to-github.git diff --git a/example-module/filter_myfilter.cpp b/example-module/filter_myfilter.cpp index e321e15..96be870 100644 --- 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; - 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)