summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2015-12-04 22:56:15 -0500
committermidipix <writeonce@midipix.org>2016-11-10 23:35:30 -0500
commitd7ed3e2faf8e3bc1aeb1e7fed27cd8a1ff4b2290 (patch)
tree0fa55ad7eccd35b3f7cbb3194045d5bcc9f83032 /include
parentc61328dfece5c7346aabd4bc0027a9eb8126dd08 (diff)
downloadperk-d7ed3e2faf8e3bc1aeb1e7fed27cd8a1ff4b2290.tar.bz2
perk-d7ed3e2faf8e3bc1aeb1e7fed27cd8a1ff4b2290.tar.xz
API redesign 5/10: pe_unit_ctx: protect members against direct modification.
Diffstat (limited to 'include')
-rw-r--r--include/perk/perk.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/include/perk/perk.h b/include/perk/perk.h
index f19e596..0b84349 100644
--- a/include/perk/perk.h
+++ b/include/perk/perk.h
@@ -135,10 +135,12 @@ struct pe_driver_ctx {
};
struct pe_unit_ctx {
- const char * path;
- struct pe_raw_image map;
- struct pe_image_meta * meta;
- struct pe_common_ctx cctx;
+ const char * const * path;
+ const struct pe_raw_image * map;
+ const struct pe_image_meta * meta;
+ const struct pe_common_ctx * cctx;
+ int status;
+ int nerrors;
};
/* driver api */