aboutsummaryrefslogtreecommitdiff
path: root/format.h
diff options
context:
space:
mode:
Diffstat (limited to 'format.h')
-rw-r--r--format.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/format.h b/format.h
new file mode 100644
index 0000000..b09cb2f
--- /dev/null
+++ b/format.h
@@ -0,0 +1,13 @@
+#ifndef FILE_FORMAT_H
+#define FILE_FORMAT_H
+
+#include <sys/types.h>
+
+struct segment {
+ size_t start, end;
+ const char *description;
+};
+
+struct segment get_segment(void *mem, size_t len, ssize_t addr);
+
+#endif /* FILE_FORMAT_H */