summaryrefslogtreecommitdiffhomepage
path: root/src/internal/perk_driver_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/internal/perk_driver_impl.h')
-rw-r--r--src/internal/perk_driver_impl.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/internal/perk_driver_impl.h b/src/internal/perk_driver_impl.h
index 016a369..681cd3c 100644
--- a/src/internal/perk_driver_impl.h
+++ b/src/internal/perk_driver_impl.h
@@ -1,6 +1,13 @@
#ifndef PE_DRIVER_IMPL_H
#define PE_DRIVER_IMPL_H
+#include <stdint.h>
+#include <stdio.h>
+#include <sys/types.h>
+
+#include <perk/perk.h>
+#include <perk/perk_meta.h>
+
enum app_tags {
TAG_HELP,
TAG_VERSION,
@@ -11,4 +18,23 @@ enum app_tags {
TAG_IMPSYMS,
};
+struct pe_driver_ctx_impl {
+ struct pe_symbol_ctx symctx;
+ struct pe_output_ctx outctx;
+ struct pe_linker_ctx lnkctx;
+ struct pe_server_ctx srvctx;
+ struct pe_io_ctx ioctx;
+ struct pe_common_ctx cctx;
+ struct pe_driver_ctx ctx;
+};
+
+struct pe_unit_ctx_impl {
+ const char * path;
+ struct pe_raw_image map;
+ struct pe_image_meta * meta;
+ struct pe_io_ctx ioctx;
+ struct pe_common_ctx cctx;
+ struct pe_unit_ctx uctx;
+};
+
#endif