summaryrefslogtreecommitdiffstats
path: root/src/apk_blob.h
diff options
context:
space:
mode:
authorTimo Teras <timo.teras@iki.fi>2009-08-13 14:10:30 +0300
committerTimo Teras <timo.teras@iki.fi>2009-08-13 14:10:30 +0300
commit279513bfbe8f0f37c6fb7f38dc331f0290b19b2f (patch)
treecd6a5aef78391be52fcfb18d95fe6b1ab5ec3f17 /src/apk_blob.h
parentb71606dbf42815cc82b5792eb53438673111a4d5 (diff)
downloadapk-tools-279513bfbe8f0f37c6fb7f38dc331f0290b19b2f.tar.bz2
apk-tools-279513bfbe8f0f37c6fb7f38dc331f0290b19b2f.tar.xz
db: implement triggers (fixes #45)
Diffstat (limited to 'src/apk_blob.h')
-rw-r--r--src/apk_blob.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/apk_blob.h b/src/apk_blob.h
index 06cd8b2..5a5e381 100644
--- a/src/apk_blob.h
+++ b/src/apk_blob.h
@@ -29,6 +29,8 @@ typedef int (*apk_blob_cb)(void *ctx, apk_blob_t blob);
#define APK_CHECKSUM_SHA1 20
#define APK_CHECKSUM_DEFAULT APK_CHECKSUM_SHA1
+#define APK_BLOB_CHECKSUM_BUF 34
+
/* Internal cointainer for MD5 or SHA1 */
struct apk_checksum {
unsigned char data[20];