|
|
@ -1,4 +1,4 @@ |
|
|
|
/* $OpenBSD: link_elf.h,v 1.4 2002/09/08 17:55:37 drahn Exp $ */ |
|
|
|
/* $OpenBSD: link_elf.h,v 1.5 2004/10/14 10:02:28 kettenis Exp $ */ |
|
|
|
|
|
|
|
/* |
|
|
|
* Public domain. |
|
|
@ -25,4 +25,17 @@ struct link_map { |
|
|
|
struct link_map *l_next; |
|
|
|
struct link_map *l_prev; |
|
|
|
}; |
|
|
|
|
|
|
|
struct dl_phdr_info { |
|
|
|
Elf_Addr dlpi_addr; |
|
|
|
const char *dlpi_name; |
|
|
|
const Elf_Phdr *dlpi_phdr; |
|
|
|
Elf_Half dlpi_phnum; |
|
|
|
}; |
|
|
|
|
|
|
|
__BEGIN_DECLS |
|
|
|
int dl_iterate_phdr (int (*)(struct dl_phdr_info *, size_t, void *), |
|
|
|
void *); |
|
|
|
__END_DECLS |
|
|
|
|
|
|
|
#endif /* !_LINK_ELF_H */ |