summaryrefslogtreecommitdiff
path: root/src/libostree/ostree-core.h
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2016-01-28 14:53:38 -0500
committerColin Walters <walters@verbum.org>2016-01-28 15:24:16 -0500
commitfa9e547e09199d81018ca51dc784bc7253388c2d (patch)
tree1b8c7bcf1fe7deadfd3e6dfa86870d68722d309b /src/libostree/ostree-core.h
parentc74ea8b075168168820528d0423e46428de1c84d (diff)
downloadostree-fa9e547e09199d81018ca51dc784bc7253388c2d.tar.gz
lib: Add a #define OSTREE_SHA256_DIGEST_LEN 32
And use it internally. This way it's a bit less magical.
Diffstat (limited to 'src/libostree/ostree-core.h')
-rw-r--r--src/libostree/ostree-core.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libostree/ostree-core.h b/src/libostree/ostree-core.h
index 637f8172..c5b42a75 100644
--- a/src/libostree/ostree-core.h
+++ b/src/libostree/ostree-core.h
@@ -50,6 +50,8 @@ G_BEGIN_DECLS
*/
#define OSTREE_MAX_RECURSION (256)
+#define OSTREE_SHA256_DIGEST_LEN (32)
+
/**
* OstreeObjectType:
* @OSTREE_OBJECT_TYPE_FILE: Content; regular file, symbolic link