xref: /haiku/src/system/runtime_loader/elf_load_image.h (revision b55a57da7173b9af0432bd3e148d03f06161d036)
1 /*
2  * Copyright 2009, Ingo Weinhold, ingo_weinhold@gmx.de.
3  * Distributed under the terms of the MIT License.
4  */
5 #ifndef ELF_LOAD_IMAGE_H
6 #define ELF_LOAD_IMAGE_H
7 
8 #include "runtime_loader_private.h"
9 
10 
11 status_t	parse_elf_header(struct Elf32_Ehdr* eheader, int32* _pheaderSize,
12 				int32* _sheaderSize);
13 status_t	load_image(char const* name, image_type type, const char* rpath,
14 				image_t** _image);
15 
16 
17 #endif	// ELF_LOAD_IMAGE_H
18