summaryrefslogtreecommitdiffstats
path: root/libelf/libelf.h
diff options
context:
space:
mode:
authorUlrich Drepper <[email protected]>2005-08-15 21:36:27 +0000
committerUlrich Drepper <[email protected]>2005-08-15 21:36:27 +0000
commit5d83229c852a7e7359c12b58864751db2c755926 (patch)
tree1af36916be07e38cd054e1937e74c0ce26946a2c /libelf/libelf.h
parent104532fcdb87e769d8ebf5771b9c4370e4361a7b (diff)
Implement ranlib. This required one little extension to libelf.
Diffstat (limited to 'libelf/libelf.h')
-rw-r--r--libelf/libelf.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libelf/libelf.h b/libelf/libelf.h
index 05a03412..96787dbe 100644
--- a/libelf/libelf.h
+++ b/libelf/libelf.h
@@ -271,6 +271,9 @@ extern char *elf_strptr (Elf *__elf, size_t __index, size_t __offset);
/* Return header of archive. */
extern Elf_Arhdr *elf_getarhdr (Elf *__elf);
+/* Return offset in archive for current file ELF. */
+extern off_t elf_getaroff (Elf *__elf);
+
/* Select archive element at OFFSET. */
extern size_t elf_rand (Elf *__elf, size_t __offset);