summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-10-25 16:49:10 -0400
committermidipix <writeonce@midipix.org>2016-11-10 23:35:54 -0500
commitf006c46ea91111f1df8bf0ce7cf457e22f4c26f7 (patch)
tree525e9dc934117bd388ad81bda65ad6efdb23f6db /include
parente2d4c06d82afc047b4c42e418409fc20c6f8090d (diff)
downloadperk-f006c46ea91111f1df8bf0ce7cf457e22f4c26f7.tar.bz2
perk-f006c46ea91111f1df8bf0ce7cf457e22f4c26f7.tar.xz
driver: struct pe_error_info: extend and refactor.
Diffstat (limited to 'include')
-rw-r--r--include/perk/perk.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/include/perk/perk.h b/include/perk/perk.h
index 99bdb8f..8624838 100644
--- a/include/perk/perk.h
+++ b/include/perk/perk.h
@@ -139,12 +139,15 @@ struct pe_io_ctx {
};
struct pe_error_info {
- int syserror;
- int liberror;
- const char * function;
- int line;
- unsigned flags;
- void * ctx;
+ const struct pe_driver_ctx * edctx;
+ const struct pe_unit_ctx * euctx;
+ const char * eunit;
+ int esyscode;
+ int elibcode;
+ const char * efunction;
+ int eline;
+ unsigned eflags;
+ void * eany;
};
struct pe_common_ctx {