summaryrefslogtreecommitdiffhomepage
path: root/src/internal/perk_impl.h
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2015-12-06 08:28:32 -0500
committermidipix <writeonce@midipix.org>2016-11-10 23:35:31 -0500
commit76aabf2c240c67ede7734f544be94f64da2c55c5 (patch)
tree460af7b94992a3635b380e5cef0a5663c61a69a3 /src/internal/perk_impl.h
parentd7ed3e2faf8e3bc1aeb1e7fed27cd8a1ff4b2290 (diff)
downloadperk-76aabf2c240c67ede7734f544be94f64da2c55c5.tar.bz2
perk-76aabf2c240c67ede7734f544be94f64da2c55c5.tar.xz
API redesign 6/10: pe_common_ctx: protect i/o members against direct modification.
Diffstat (limited to 'src/internal/perk_impl.h')
-rw-r--r--src/internal/perk_impl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/internal/perk_impl.h b/src/internal/perk_impl.h
index 77a64ae..7cfc590 100644
--- a/src/internal/perk_impl.h
+++ b/src/internal/perk_impl.h
@@ -9,6 +9,7 @@
#include <perk/perk_meta.h>
struct pe_driver_ctx_impl {
+ struct pe_io_ctx ioctx;
struct pe_common_ctx cctx;
struct pe_driver_ctx ctx;
};
@@ -17,6 +18,7 @@ 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;
};