diff options
author | midipix <writeonce@midipix.org> | 2024-02-19 06:38:37 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2024-02-19 07:21:35 +0000 |
commit | d42469095d909e70814099a22b40ae2f9831fe6b (patch) | |
tree | 2dfef672f6b8c9ef8869ea08069d67ce4c93100c /include | |
parent | 33131178a121998d11ee6185ee2b5b83f7f6f069 (diff) | |
download | slibtool-d42469095d909e70814099a22b40ae2f9831fe6b.tar.bz2 slibtool-d42469095d909e70814099a22b40ae2f9831fe6b.tar.xz |
driver: added slbt_lib_get_symlist_ctx(): symbol string vector from symlist.
Diffstat (limited to 'include')
-rw-r--r-- | include/slibtool/slibtool.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/slibtool/slibtool.h b/include/slibtool/slibtool.h index c1e96c2..d80a00e 100644 --- a/include/slibtool/slibtool.h +++ b/include/slibtool/slibtool.h @@ -338,6 +338,11 @@ struct slbt_archive_ctx { void * any; }; +struct slbt_symlist_ctx { + const char * const * path; + const char ** symstrv; +}; + /* raw input api */ slbt_api int slbt_fs_map_input (const struct slbt_driver_ctx *, int, const char *, int, @@ -356,6 +361,10 @@ slbt_api int slbt_lib_get_driver_fdctx (const struct slbt_driver_ctx *, struct slbt_api int slbt_lib_set_driver_fdctx (struct slbt_driver_ctx *, const struct slbt_fd_ctx *); +slbt_api int slbt_lib_get_symlist_ctx (const struct slbt_driver_ctx *, const char *, struct slbt_symlist_ctx **); + +slbt_api void slbt_lib_free_symlist_ctx (struct slbt_symlist_ctx *); + /* command execution context api */ slbt_api int slbt_ectx_get_exec_ctx (const struct slbt_driver_ctx *, struct slbt_exec_ctx **); slbt_api void slbt_ectx_free_exec_ctx (struct slbt_exec_ctx *); |