diff options
author | midipix <writeonce@midipix.org> | 2016-01-01 06:09:25 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-01-01 22:50:26 -0500 |
commit | 2f6d9257a577559f5a35ea1269584feb7c952844 (patch) | |
tree | bc40f0ee34231cf4bb8e2c41eaccc4b37cea1e0d /include | |
parent | 5ec0ca7f8db2a0393e602dc9fcb92f437156432e (diff) | |
download | apimagic-2f6d9257a577559f5a35ea1269584feb7c952844.tar.bz2 apimagic-2f6d9257a577559f5a35ea1269584feb7c952844.tar.xz |
amgc_output_pad_symbol(): initial implementation.
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 *); |