@@ -2,8 +2,9 @@ #define KIcore #include #include #include +#include #ifdef __cplusplus extern "C" { #endif @@ -27,8 +28,9 @@ _Bool bool; #endif enum #if !(__STDC_VERSION__ >= 199901L) + bool /* enum bool { */ #endif { false = 0, no = 0, @@ -157,10 +159,19 @@ * future. however if that changes, altering * the definition here will effect all the * necessary changes throughout the library */ bool kokay(kcond); + +typedef struct kerror { + const char* module_name, + * module_desc, + * error_string; + kcond error; +} kerror; + +kerror kexplain(kcond); #ifdef __cplusplus } #endif #endif