xref: /haiku/src/system/boot/loader/elf.h (revision 9760dcae2038d47442f4658c2575844c6cf92c40)
1 /*
2 ** Copyright 2003-2004, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
3 ** Distributed under the terms of the OpenBeOS License.
4 */
5 #ifndef LOADER_ELF_H
6 #define LOADER_ELF_H
7 
8 
9 #include <boot/elf.h>
10 #include <boot/vfs.h>
11 
12 
13 extern void elf_init();
14 extern status_t elf_load_image(Directory *directory, const char *path);
15 extern status_t elf_load_image(int fd, preloaded_image *image);
16 
17 extern status_t elf_relocate_image(struct preloaded_image *image);
18 
19 #endif	/* LOADER_ELF_H */
20