summaryrefslogtreecommitdiff
path: root/src/bootid.h
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2020-11-25 17:58:50 -0800
committerVito Caputo <vcaputo@pengaru.com>2020-11-25 18:07:05 -0800
commit8ec1588722809a35a7d149bff10de56424e2658a (patch)
treedac9aca6321b92f84505293227c5151193dd8ee6 /src/bootid.h
parent7b15a68d12e2df7f45c4311d0281ff9a78693e81 (diff)
src: initial commit of jio WIP source
This is a very quick and dirty experimental hack written in some sort of bastard continuation-passing style in C w/io_uring using journal-file introspection and manipulation duty as an excuse for its existence. Consider this unfinished prototype quality code.
Diffstat (limited to 'src/bootid.h')
-rw-r--r--src/bootid.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/bootid.h b/src/bootid.h
new file mode 100644
index 0000000..15ee9be
--- /dev/null
+++ b/src/bootid.h
@@ -0,0 +1,10 @@
+#ifndef _JIO_BOOTID_H
+#define _JIO_BOOTID_H
+
+#include "thunk.h"
+
+typedef struct iou_t iou_t;
+
+THUNK_DECLARE(bootid_get, iou_t *, iou, char **, res_ptr, thunk_t *, closure);
+
+#endif
© All Rights Reserved