core: Add API to convert csum -> checksum without malloc()

Just doing some profiling, this was in the top malloc() callers.
This commit is contained in:
Colin Walters committed 2013-02-23 11:02:56 -05:00
1 parent a305c79f7a
commit a821420711
3 files changed
+20 -13

No files matched your search

+3
View File
@@ -113,6 +113,9 @@ GVariant *ostree_checksum_to_bytes_v (const char *checksum);
char * ostree_checksum_from_bytes (const guchar *bytes);
char * ostree_checksum_from_bytes_v (GVariant *bytes);
void ostree_checksum_inplace_from_bytes (const guchar *bytes,
char *buf);
const guchar *ostree_checksum_bytes_peek (GVariant *bytes);
int ostree_cmp_checksum_bytes (const guchar *a, const guchar *b);