]> pd.if.org Git - zpackage/blobdiff - elf/elf.h
add elf dependency tracking
[zpackage] / elf / elf.h
index ad2d03ed98ebe085c23108d7e7fcfd6230e7b273..9100cf470830b0d899bb04887360a40e71d817a0 100644 (file)
--- a/elf/elf.h
+++ b/elf/elf.h
@@ -569,4 +569,14 @@ typedef struct {
 #define ELFOSABI_CLOUDABI      17
 #define ELFOSABI_OPENVOS       18
 
+/* libelf.c */
+Elf64_Ehdr *libelf_header(void *elf);
+Elf64_Shdr *libelf_shdr(void *elf, int n);
+Elf64_Shdr *libelf_sht_strtab(void *elf);
+char *libelf_sectionname(Elf64_Shdr *section, Elf64_Shdr *strtab);
+Elf64_Shdr *libelf_section_n(void *elf, int n);
+Elf64_Shdr *libelf_section(void *elf, int type);
+int libelf_type(void *elf);
+int libelf_iself(void *elf);
+
 #endif