summaryrefslogtreecommitdiff
path: root/src/lib/eolian/eolian_database.h
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2018-03-16 16:07:12 +0100
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2018-03-16 16:07:12 +0100
commit60c733670d3418a9499a6637b535b07d8251fc0e (patch)
treef80b83588db1e54be2af8051814e4580b39e7ad8 /src/lib/eolian/eolian_database.h
parent927bcfd60ab21a50d674deb200b07e59e9796df8 (diff)
eolian: intial API for a new error mechanism
Unlike panic, this will be used to handle regular errors such as parse errors. There will be no jumps and you will be able to pass in a pointer to get the error data into some local memory. That way you will be able to override printing error messages.
Diffstat (limited to 'src/lib/eolian/eolian_database.h')
-rw-r--r--src/lib/eolian/eolian_database.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/eolian/eolian_database.h b/src/lib/eolian/eolian_database.h
index 813f3f5..eff2b96 100644
--- a/src/lib/eolian/eolian_database.h
+++ b/src/lib/eolian/eolian_database.h
@@ -55,6 +55,9 @@ struct _Eolian_State
55 Eina_Stringshare *panic_msg; 55 Eina_Stringshare *panic_msg;
56 jmp_buf jmp_env; 56 jmp_buf jmp_env;
57 57
58 Eolian_Error_Cb error;
59 void *error_data;
60
58 Eina_Hash *filenames_eo; /* filename to full path mapping */ 61 Eina_Hash *filenames_eo; /* filename to full path mapping */
59 Eina_Hash *filenames_eot; 62 Eina_Hash *filenames_eot;
60 63