diff options
author | midipix <writeonce@midipix.org> | 2024-02-25 21:57:24 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2024-02-25 21:57:24 +0000 |
commit | 3d2f83b5a3d42dd9b3430379a08a81f8004c7eb4 (patch) | |
tree | f08419e339d106e37eded799da4832699160212e /src/internal/slibtool_driver_impl.h | |
parent | b1be90f4870a6ee3b8807b15b3e8bfe9c5573bbc (diff) | |
download | slibtool-3d2f83b5a3d42dd9b3430379a08a81f8004c7eb4.tar.bz2 slibtool-3d2f83b5a3d42dd9b3430379a08a81f8004c7eb4.tar.xz |
internals: added slbt_impl_get_txtfile_ctx() (caller-provided fd as input).
Diffstat (limited to 'src/internal/slibtool_driver_impl.h')
-rw-r--r-- | src/internal/slibtool_driver_impl.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/internal/slibtool_driver_impl.h b/src/internal/slibtool_driver_impl.h index fcb8324..b6ab601 100644 --- a/src/internal/slibtool_driver_impl.h +++ b/src/internal/slibtool_driver_impl.h @@ -308,6 +308,12 @@ void slbt_reset_placeholders (struct slbt_exec_ctx *); void slbt_disable_placeholders (struct slbt_exec_ctx *); +int slbt_impl_get_txtfile_ctx( + const struct slbt_driver_ctx * dctx, + const char * path, + int fdsrc, + struct slbt_txtfile_ctx ** pctx); + static inline struct slbt_archive_ctx_impl * slbt_get_archive_ictx(const struct slbt_archive_ctx * actx) { |