summaryrefslogtreecommitdiffhomepage
path: root/src/internal
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-01-26 21:08:48 +0000
committermidipix <writeonce@midipix.org>2024-01-26 21:08:48 +0000
commit8567ecfb6516fbb46270886462e46251143c66fd (patch)
tree52524c11bf0774afb4e85edb5de4ce019ba8d45e /src/internal
parent562b43d4ae67035b58489bbda6362c858b801f53 (diff)
downloadslibtool-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.h4
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;