summaryrefslogtreecommitdiff
path: root/src/internal/slibtool_mapfile_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/internal/slibtool_mapfile_impl.h')
-rw-r--r--src/internal/slibtool_mapfile_impl.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/internal/slibtool_mapfile_impl.h b/src/internal/slibtool_mapfile_impl.h
new file mode 100644
index 0000000..567fc8f
--- /dev/null
+++ b/src/internal/slibtool_mapfile_impl.h
@@ -0,0 +1,18 @@
+#ifndef SLIBTOOL_MAPFILE_IMPL_H
+#define SLIBTOOL_MAPFILE_IMPL_H
+
+#define SLBT_MAP_INPUT 0x0001
+#define SLBT_MAP_OUTPUT 0x0002
+
+struct slbt_map_info {
+ void * addr;
+ size_t size;
+};
+
+struct slbt_map_info * slbt_map_file(
+ int, const char *,
+ uint32_t);
+
+void slbt_unmap_file(struct slbt_map_info *);
+
+#endif