xref: /haiku/src/system/boot/loader/elf.h (revision 1e36cfc2721ef13a187c6f7354dc9cbc485e89d3)
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 status_t elf_load_image(Directory *directory, const char *path);
14 extern status_t elf_load_image(int fd, preloaded_image *image);
15 
16 extern status_t elf_relocate_image(struct preloaded_image *image);
17 
18 #endif	/* LOADER_ELF_H */
19