Move section-in-segment.c to generic/
[centaur.git] / include / libelfu / elfops.h
1 #ifndef __LIBELFU_ELFOPS_H_
2 #define __LIBELFU_ELFOPS_H_
3
4 #include <libelf/libelf.h>
5 #include <libelf/gelf.h>
6
7 #include <libelfu/types.h>
8
9
10    char* elfu_eScnName(Elf *e, Elf_Scn *scn);
11 Elf_Scn* elfu_eScnByName(Elf *e, char *name);
12
13 Elf_Scn* elfu_eScnFirstInSegment(Elf *e, GElf_Phdr *phdr);
14 Elf_Scn* elfu_eScnLastInSegment(Elf *e, GElf_Phdr *phdr);
15
16 void elfu_ePhdrFixupSelfRef(Elf *e);
17
18 #endif