core: Add allocating b64 checksum functions

The checksum_b64_inplace variants can't be used in bindings. Provide
versions that allocate and return the output rather than working on a
passed in buffer. These can then be used in GI bindings to get the
ostree modified base64 encodings.

Closes: #398
Approved by: cgwalters
This commit is contained in:
Dan Nicholson authored and Atomic Bot committed 2016-07-15 02:18:27 +00:00
1 parent 2e97e72123
commit db974b0596
4 files changed
+39 -3

No files matched your search

+2
View File
@@ -99,6 +99,8 @@ ostree_checksum_inplace_from_bytes
ostree_checksum_inplace_to_bytes
ostree_checksum_bytes_peek
ostree_checksum_bytes_peek_validate
ostree_checksum_b64_from_bytes
ostree_checksum_b64_to_bytes
ostree_checksum_b64_inplace_from_bytes
ostree_checksum_b64_inplace_to_bytes
ostree_cmp_checksum_bytes