diff options
author | midipix <writeonce@midipix.org> | 2024-01-26 21:08:48 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2024-01-26 21:08:48 +0000 |
commit | 8567ecfb6516fbb46270886462e46251143c66fd (patch) | |
tree | 52524c11bf0774afb4e85edb5de4ce019ba8d45e /src/internal | |
parent | 562b43d4ae67035b58489bbda6362c858b801f53 (diff) | |
download | slibtool-8567ecfb6516fbb46270886462e46251143c66fd.tar.bz2 slibtool-8567ecfb6516fbb46270886462e46251143c66fd.tar.xz |
archiver internals: added slbt_archive_member_from_offset().
Diffstat (limited to 'src/internal')
-rw-r--r-- | src/internal/slibtool_ar_impl.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/internal/slibtool_ar_impl.h b/src/internal/slibtool_ar_impl.h index 22fe0e3..bdaa3e5 100644 --- a/src/internal/slibtool_ar_impl.h +++ b/src/internal/slibtool_ar_impl.h @@ -30,6 +30,10 @@ struct slbt_archive_meta_impl { struct slbt_archive_meta armeta; }; +struct ar_meta_member_info * slbt_archive_member_from_offset( + struct slbt_archive_meta_impl * meta, + off_t offset); + static inline struct slbt_archive_meta_impl * slbt_archive_meta_ictx(const struct slbt_archive_meta * meta) { uintptr_t addr; |