From d7ed3e2faf8e3bc1aeb1e7fed27cd8a1ff4b2290 Mon Sep 17 00:00:00 2001 From: midipix Date: Fri, 4 Dec 2015 22:56:15 -0500 Subject: API redesign 5/10: pe_unit_ctx: protect members against direct modification. --- src/internal/perk_impl.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/internal') diff --git a/src/internal/perk_impl.h b/src/internal/perk_impl.h index dd8ff4d..77a64ae 100644 --- a/src/internal/perk_impl.h +++ b/src/internal/perk_impl.h @@ -13,4 +13,12 @@ struct pe_driver_ctx_impl { 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_common_ctx cctx; + struct pe_unit_ctx uctx; +}; + #endif -- cgit v1.2.3