X-Git-Url: http://lists.indexdata.dk/cgi-bin?a=blobdiff_plain;f=include%2Fmetaproxy%2Fxmlutil.hpp;h=6909ab3400b1a105b3b871e04ed88c0d5eece2e9;hb=HEAD;hp=945a4ba6de13f3dcbdbe913b01525076bb4b8ceb;hpb=73f37c91c144b070020df2f27472c09b62367acf;p=metaproxy-moved-to-github.git diff --git a/include/metaproxy/xmlutil.hpp b/include/metaproxy/xmlutil.hpp index 945a4ba..6909ab3 100644 --- a/include/metaproxy/xmlutil.hpp +++ b/include/metaproxy/xmlutil.hpp @@ -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 @@ -29,6 +29,9 @@ namespace metaproxy_1 { std::string get_text(const xmlNode *ptr); bool get_bool(const xmlNode *ptr, bool default_value); int get_int(const xmlNode *ptr, int default_value); + + void parse_attr(const xmlNode *node, const char **names, + std::string *values); bool check_attribute(const _xmlAttr *ptr, const std::string &ns, const std::string &name);