summaryrefslogtreecommitdiff
path: root/src/cli/cli.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cli/cli.h')
-rw-r--r--src/cli/cli.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/cli/cli.h b/src/cli/cli.h
new file mode 100644
index 0000000..6262304
--- /dev/null
+++ b/src/cli/cli.h
@@ -0,0 +1,12 @@
+#pragma once
+
+#include <stdbool.h>
+#include <sys/types.h> // pid_t
+
+struct mem_io;
+
+int
+proc_address_rw(int argc, const char *argv[], bool (*)(struct mem_io*, const pid_t));
+
+int
+proc_region_rw(int argc, const char *argv[], bool (*)(struct mem_io*, const pid_t));