Happy new year
[metaproxy-moved-to-github.git] / include / metaproxy / xmlutil.hpp
index 945a4ba..6909ab3 100644 (file)
@@ -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);