X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=example-module%2Ffilter_myfilter.cpp;h=c1310c449ee42d1051950fbb4889cbf9c4b2cce7;hb=586d78659d671683f33ec55f4a7d32b28e345ccd;hp=1bc22977a7a087023bda803b666cdd978522dff6;hpb=73f37c91c144b070020df2f27472c09b62367acf;p=metaproxy-moved-to-github.git diff --git a/example-module/filter_myfilter.cpp b/example-module/filter_myfilter.cpp index 1bc2297..c1310c4 100644 --- a/example-module/filter_myfilter.cpp +++ b/example-module/filter_myfilter.cpp @@ -1,5 +1,5 @@ /* This file is part of Metaproxy. - Copyright (C) 2005-2012 Index Data + Copyright (C) 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 @@ -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)