X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Futil.h;h=bc109c62a8ee7185117945e315b857fac235b985;hb=29b0148143e602699c7ba161477d5d800607ca4b;hp=20ea5ac571c991cc4a37f17bb1888e37423b3f0d;hpb=ed82c8f8b79596487a906c69ccf6f174a0e6e18d;p=libdcp.git diff --git a/src/util.h b/src/util.h index 20ea5ac5..bc109c62 100644 --- a/src/util.h +++ b/src/util.h @@ -60,8 +60,7 @@ class OpenJPEGImage; extern std::string make_uuid (); extern std::string make_digest (boost::filesystem::path filename, boost::function); -extern std::string content_kind_to_string (ContentKind kind); -extern ContentKind content_kind_from_string (std::string kind); +extern std::string make_digest (Data data); extern bool empty_or_white_space (std::string s); extern bool ids_equal (std::string a, std::string b); extern std::string remove_urn_uuid (std::string raw); @@ -74,6 +73,8 @@ extern std::string file_to_string (boost::filesystem::path, uintmax_t max_length 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); }