summaryrefslogtreecommitdiff
path: root/src/verify-hashed-objects.h
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2021-08-23 15:34:12 -0700
committerVito Caputo <vcaputo@pengaru.com>2021-08-24 00:48:46 -0700
commitdb549aa7f63621e1b81d32e59456303c5003b4b9 (patch)
tree277d51fca2c89e2fdf7002ffee051bcd70b21ef8 /src/verify-hashed-objects.h
parentb53cc8e61a27f948df5f11da07c7c395ebae1dd1 (diff)
verify-hashed-objects: add `jio verify hashed-objects`
This is currently very hacky and unfinished, but does enough for some performance comparisons against a zstd-using journalctl --verify that has been hacked to return early after the first pass. It's currently rather leaky, the whole per-object-dispatch thingy is illuminating a thunk_h shortcoming and forcing addressing the issue... soon.
Diffstat (limited to 'src/verify-hashed-objects.h')
-rw-r--r--src/verify-hashed-objects.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/verify-hashed-objects.h b/src/verify-hashed-objects.h
new file mode 100644
index 0000000..851e8c5
--- /dev/null
+++ b/src/verify-hashed-objects.h
@@ -0,0 +1,8 @@
+#ifndef _JIO_VERIFY_HASHED_OBJECTS
+#define _JIO_VERIFY_HASHED_OBJECTS
+
+typedef struct iou_t iou_t;
+
+int jio_verify_hashed_objects(iou_t *iou, int argc, char *argv[]);
+
+#endif
© All Rights Reserved