}
-xmlpp::Node *
-dcp::find_child (xmlpp::Node const * node, string name)
-{
- auto c = node->get_children ();
- auto i = c.begin();
- while (i != c.end() && (*i)->get_name() != name) {
- ++i;
- }
-
- DCP_ASSERT (i != c.end ());
- return *i;
-}
-
-
string
dcp::remove_urn_uuid (string raw)
{
* @return SHA1 fingerprint of key
*/
extern std::string private_key_fingerprint (std::string key);
-extern xmlpp::Node* find_child (xmlpp::Node const * node, std::string name);
extern std::string openjpeg_version();
extern std::string spaces (int n);
extern void indent (xmlpp::Element* element, int initial);