summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/apimagic/apimagic.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/apimagic/apimagic.h b/include/apimagic/apimagic.h
index e1ddfb3..f2e7bf5 100644
--- a/include/apimagic/apimagic.h
+++ b/include/apimagic/apimagic.h
@@ -4,6 +4,8 @@
#include <stdint.h>
#include <stdio.h>
+#include <cparser/driver/driver_t.h>
+
#include "apimagic_api.h"
#ifdef __cplusplus
@@ -48,6 +50,7 @@ struct amgc_common_ctx {
uint64_t drvflags;
uint64_t actflags;
uint64_t fmtflags;
+ struct compilation_env_t * ccenv;
};
struct amgc_driver_ctx {
@@ -64,6 +67,7 @@ struct amgc_unit_ctx {
const char * const * path;
const struct amgc_input * map;
const struct amgc_common_ctx * cctx;
+ const struct compilation_unit_t*ccunit;
void * any;
int status;
int nerrors;