diff options
author | midipix <writeonce@midipix.org> | 2024-03-25 03:04:51 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2024-03-25 03:04:51 +0000 |
commit | 83bcd3a56a9be8ef0f19c5682793697569b1724f (patch) | |
tree | 2343007211be5d804730d759b605fcfcd3ebf977 /include | |
parent | d4a2be8699ad197a213cbbc989dd206731bfb34a (diff) | |
download | slibtool-83bcd3a56a9be8ef0f19c5682793697569b1724f.tar.bz2 slibtool-83bcd3a56a9be8ef0f19c5682793697569b1724f.tar.xz |
slibtoolize: slbt_st_get_stoolie_ctx(): initial implementation.
Diffstat (limited to 'include')
-rw-r--r-- | include/slibtool/slibtool.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/include/slibtool/slibtool.h b/include/slibtool/slibtool.h index cd3b3c4..d428e54 100644 --- a/include/slibtool/slibtool.h +++ b/include/slibtool/slibtool.h @@ -391,6 +391,15 @@ struct slbt_txtfile_ctx { const char ** txtlinev; }; +struct slbt_stoolie_ctx { + const char * const * path; + const struct slbt_txtfile_ctx * acinc; + const struct slbt_txtfile_ctx * cfgac; + const struct slbt_txtfile_ctx * makam; + const char * const * auxarg; + const char * const * m4arg; +}; + /* raw input api */ slbt_api int slbt_fs_map_input (const struct slbt_driver_ctx *, int, const char *, int, @@ -490,6 +499,12 @@ slbt_api int slbt_ar_create_symfile (const struct slbt_archive_meta *, const slbt_api int slbt_ar_create_dlsyms (struct slbt_archive_ctx **, const char *, const char *, mode_t); +/* slibtoolize api */ +slbt_api int slbt_st_get_stoolie_ctx (const struct slbt_driver_ctx *, const char * path, + struct slbt_stoolie_ctx **); + +slbt_api void slbt_st_free_stoolie_ctx (struct slbt_stoolie_ctx *); + /* utility api */ slbt_api int slbt_main (char **, char **, const struct slbt_fd_ctx *); |