2 * Copyright 2009, Ingo Weinhold, ingo_weinhold@gmx.de.
3 * Distributed under the terms of the MIT License.
10 #include <util/DoublyLinkedList.h>
12 #include <runtime_loader.h>
18 IMAGE_EVENT_RELOCATED
,
19 IMAGE_EVENT_INITIALIZED
,
20 IMAGE_EVENT_UNINITIALIZING
,
25 struct RuntimeLoaderAddOn
26 : public DoublyLinkedListLinkImpl
<RuntimeLoaderAddOn
> {
28 runtime_loader_add_on
* addOn
;
30 RuntimeLoaderAddOn(image_t
* image
, runtime_loader_add_on
* addOn
)
39 struct RuntimeLoaderSymbolPatcher
{
40 RuntimeLoaderSymbolPatcher
* next
;
41 runtime_loader_symbol_patcher
* patcher
;
44 RuntimeLoaderSymbolPatcher(runtime_loader_symbol_patcher
* patcher
,
55 status_t
add_add_on(image_t
* image
, runtime_loader_add_on
* addOnStruct
);
56 void image_event(image_t
* image
, uint32 event
);