summaryrefslogtreecommitdiff
path: root/src/cli/proc-region-rw.h
diff options
context:
space:
mode:
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));