From 8ec1588722809a35a7d149bff10de56424e2658a Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Wed, 25 Nov 2020 17:58:50 -0800 Subject: 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. --- src/readfile.h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 src/readfile.h (limited to 'src/readfile.h') diff --git a/src/readfile.h b/src/readfile.h new file mode 100644 index 0000000..2e414b3 --- /dev/null +++ b/src/readfile.h @@ -0,0 +1,10 @@ +#ifndef _JIO_READFILE_H +#define _JIO_READFILE_H + +#include "thunk.h" + +typedef struct iou_t iou_t; + +THUNK_DECLARE(readfile, iou_t *, iou, const char *, path, char *, buf, size_t *, size, thunk_t *, closure); + +#endif -- cgit v1.2.3