summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-10-26 21:15:06 -0400
committermidipix <writeonce@midipix.org>2016-10-26 22:10:32 -0400
commit1480f4c5e527f28c559c7b341d2b24e72aec445c (patch)
treee328cf1072112d80cf214a54bbbb20b1c3203ca3 /include
parent2c6143fdb0cc12997a2a09268f4797931f73947d (diff)
downloadapimagic-1480f4c5e527f28c559c7b341d2b24e72aec445c.tar.bz2
apimagic-1480f4c5e527f28c559c7b341d2b24e72aec445c.tar.xz
output: added amgc_output_error_record(), amgc_output_error_vector().
Diffstat (limited to 'include')
-rw-r--r--include/apimagic/apimagic.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/apimagic/apimagic.h b/include/apimagic/apimagic.h
index 462c2f1..64a444b 100644
--- a/include/apimagic/apimagic.h
+++ b/include/apimagic/apimagic.h
@@ -41,6 +41,10 @@ extern "C" {
#define AMGC_DRIVER_VERSION 0x0010
#define AMGC_DRIVER_DRY_RUN 0x0020
+#define AMGC_DRIVER_ANNOTATE_ALWAYS 0x10000000
+#define AMGC_DRIVER_ANNOTATE_NEVER 0x20000000
+#define AMGC_DRIVER_ANNOTATE_FULL 0x40000000
+
/* error flags */
#define AMGC_ERROR_TOP_LEVEL 0x0001
#define AMGC_ERROR_NESTED 0x0002
@@ -227,6 +231,9 @@ amgc_api int amgc_output_unit_functions(const struct amgc_unit_ctx *, const str
amgc_api int amgc_perform_unit_action (const struct amgc_unit_ctx *, const struct amgc_action *, const struct amgc_layout *, FILE *);
amgc_api int amgc_output_unit_entities (const struct amgc_unit_ctx *, int kind, int subset, const struct amgc_layout *, FILE *);
+amgc_api int amgc_output_error_record (const struct amgc_driver_ctx *, const struct amgc_error_info *);
+amgc_api int amgc_output_error_vector (const struct amgc_driver_ctx *);
+
amgc_api int amgc_get_entity_index (const struct amgc_entity[], const char *);
amgc_api int amgc_get_define_index (const struct amgc_unit_ctx *, const char *);
amgc_api int amgc_get_enum_index (const struct amgc_unit_ctx *, const char *);