summaryrefslogtreecommitdiffhomepage
path: root/include/perk/perk.h
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2015-12-06 09:05:27 -0500
committermidipix <writeonce@midipix.org>2016-11-10 23:35:31 -0500
commit85119ef1e354b05d1c8fdc7876bc83c8c1375082 (patch)
tree9ef7c98de458502b1463acb9c6b6e364915435ca /include/perk/perk.h
parent1d9a6e49523684f26fdfaa7192914000496552dc (diff)
downloadperk-85119ef1e354b05d1c8fdc7876bc83c8c1375082.tar.bz2
perk-85119ef1e354b05d1c8fdc7876bc83c8c1375082.tar.xz
API redesign 8/10: pe_driver_ctx, pe_unit_ctx: client convenience.
Diffstat (limited to 'include/perk/perk.h')
-rw-r--r--include/perk/perk.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/perk/perk.h b/include/perk/perk.h
index 459fffb..536e4c8 100644
--- a/include/perk/perk.h
+++ b/include/perk/perk.h
@@ -134,6 +134,9 @@ struct pe_driver_ctx {
const char * program;
const char * module;
const struct pe_common_ctx * cctx;
+ void * any;
+ int status;
+ int nerrors;
};
struct pe_unit_ctx {
@@ -141,6 +144,7 @@ struct pe_unit_ctx {
const struct pe_raw_image * map;
const struct pe_image_meta * meta;
const struct pe_common_ctx * cctx;
+ void * any;
int status;
int nerrors;
};