X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Futil.h;h=585166e32a6868d033b19f6f702580cc04437c04;hb=25c94845432db88a7ee3db459559eb555b8630b0;hp=551eed071eb158b9455136a2aed903a0961ed28c;hpb=c27aa600966b2a8f9d9ff9efd545f5866244d195;p=libdcp.git diff --git a/src/util.h b/src/util.h index 551eed07..585166e3 100644 --- a/src/util.h +++ b/src/util.h @@ -120,6 +120,7 @@ extern int base64_decode (std::string const & in, unsigned char* out, int out_le extern boost::optional relative_to_root (boost::filesystem::path root, boost::filesystem::path file); extern std::string file_to_string (boost::filesystem::path, uintmax_t max_length = 1048576); +extern void write_string_to_file(std::string const& string, boost::filesystem::path const& path); /** @param key RSA private key in PEM format (optionally with -----BEGIN... / -----END...) * @return SHA1 fingerprint of key