summaryrefslogtreecommitdiff
path: root/src/adb.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/adb.h')
-rw-r--r--src/adb.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/adb.h b/src/adb.h
index 6929ea8..e97068a 100644
--- a/src/adb.h
+++ b/src/adb.h
@@ -77,6 +77,13 @@ static inline apk_blob_t adb_block_blob(struct adb_block *b) {
#define ADB_MAX_SIGNATURE_LEN 2048
+struct adb_hdr {
+ uint8_t adb_compat_ver;
+ uint8_t adb_ver;
+ uint16_t reserved;
+ adb_val_t root;
+};
+
struct adb_sign_hdr {
uint8_t sign_ver, hash_alg;
};