diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/apimagic/apimagic.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/apimagic/apimagic.h b/include/apimagic/apimagic.h index d7a61ac..ac78b57 100644 --- a/include/apimagic/apimagic.h +++ b/include/apimagic/apimagic.h @@ -116,6 +116,13 @@ struct amgc_unit_ctx { int nerrors; }; +struct amgc_layout { + const char * header; + const char * footer; + int symwidth; + int tabwidth; +}; + /* driver api */ amgc_api int amgc_get_driver_ctx (const char ** argv, const char ** envp, uint32_t flags, struct amgc_driver_ctx **); amgc_api int amgc_create_driver_ctx (const struct amgc_common_ctx *, struct amgc_driver_ctx **); @@ -131,6 +138,7 @@ amgc_api int amgc_unmap_input (struct amgc_input *); amgc_api int amgc_lang_std_from_string (const char * std); /* utility api */ +amgc_api int amgc_output_pad_symbol (const char *, const struct amgc_layout *, FILE *); /* low-level api */ amgc_api int amgc_init_unit_meta (const struct amgc_unit_ctx *, struct amgc_unit_meta *); |