diff options
author | midipix <writeonce@midipix.org> | 2016-10-25 16:49:10 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-11-10 23:35:54 -0500 |
commit | f006c46ea91111f1df8bf0ce7cf457e22f4c26f7 (patch) | |
tree | 525e9dc934117bd388ad81bda65ad6efdb23f6db /include | |
parent | e2d4c06d82afc047b4c42e418409fc20c6f8090d (diff) | |
download | perk-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.h | 15 |
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 { |