summaryrefslogtreecommitdiff
path: root/src/cli/proc-region-rw.h
diff options
context:
space:
mode:
authorJari Vetoniemi <mailroxas@gmail.com>2018-10-19 14:35:16 +0300
committerJari Vetoniemi <mailroxas@gmail.com>2018-10-19 15:13:07 +0300
commit743fb001f3d381b14d48f3fdfc9ee648a7c0644c (patch)
treee46f65bfac59427b1389a4fb5d8c13ca34ed1c69 /src/cli/proc-region-rw.h
parent6cb8c44fef192f3f8e7164d9c3baccacc9db620c (diff)
Refactor project, offer uio variant of region-rw
Diffstat (limited to 'src/cli/proc-region-rw.h')
-rw-r--r--src/cli/proc-region-rw.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/cli/proc-region-rw.h b/src/cli/proc-region-rw.h
new file mode 100644
index 0000000..7ebae67
--- /dev/null
+++ b/src/cli/proc-region-rw.h
@@ -0,0 +1,9 @@
+#pragma once
+
+#include <stdbool.h>
+#include <sys/types.h> // pid_t
+
+struct io;
+
+int
+proc_region_rw(int argc, const char *argv[], bool (*io_init)(struct io*, const pid_t));