From f006c46ea91111f1df8bf0ce7cf457e22f4c26f7 Mon Sep 17 00:00:00 2001 From: midipix Date: Tue, 25 Oct 2016 16:49:10 -0400 Subject: driver: struct pe_error_info: extend and refactor. --- include/perk/perk.h | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'include') 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 { -- cgit v1.2.3