1 | ; $Id: kLdr-os2.def 29 2009-07-01 20:30:29Z bird $
|
---|
2 | ;; @file
|
---|
3 | ; kLdr - The Dynamic Loader, OS/2 Linker Definition File.
|
---|
4 | ;
|
---|
5 |
|
---|
6 | ;
|
---|
7 | ; Copyright (c) 2006-2007 Knut St. Osmundsen <bird-kStuff-spamix@anduin.net>
|
---|
8 | ;
|
---|
9 | ; Permission is hereby granted, free of charge, to any person
|
---|
10 | ; obtaining a copy of this software and associated documentation
|
---|
11 | ; files (the "Software"), to deal in the Software without
|
---|
12 | ; restriction, including without limitation the rights to use,
|
---|
13 | ; copy, modify, merge, publish, distribute, sublicense, and/or sell
|
---|
14 | ; copies of the Software, and to permit persons to whom the
|
---|
15 | ; Software is furnished to do so, subject to the following
|
---|
16 | ; conditions:
|
---|
17 | ;
|
---|
18 | ; The above copyright notice and this permission notice shall be
|
---|
19 | ; included in all copies or substantial portions of the Software.
|
---|
20 | ;
|
---|
21 | ; THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
---|
22 | ; EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
---|
23 | ; OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
---|
24 | ; NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
---|
25 | ; HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
---|
26 | ; WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
---|
27 | ; FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
---|
28 | ; OTHER DEALINGS IN THE SOFTWARE.
|
---|
29 | ;
|
---|
30 |
|
---|
31 | LIBRARY kLdr INITINSTANCE TERMINSTANCE
|
---|
32 | DATA MULTIPLE
|
---|
33 | EXPORTS
|
---|
34 | ; The file reader API
|
---|
35 | _kRdrAddProvider
|
---|
36 | _kRdrOpen
|
---|
37 | _kRdrClose
|
---|
38 | _kRdrRead
|
---|
39 | _kRdrAllMap
|
---|
40 | _kRdrAllUnmap
|
---|
41 | _kRdrSize
|
---|
42 | _kRdrTell
|
---|
43 | _kRdrName
|
---|
44 | _kRdrPageSize
|
---|
45 | _kRdrMap
|
---|
46 | _kRdrRefresh
|
---|
47 | _kRdrProtect
|
---|
48 | _kRdrUnmap
|
---|
49 | _kRdrDone
|
---|
50 |
|
---|
51 | ; The module interpreter API
|
---|
52 | _kLdrModOpen
|
---|
53 | _kLdrModOpenFromRdr
|
---|
54 | _kLdrModOpenNative
|
---|
55 | _kLdrModOpenNativeByHandle
|
---|
56 | _kLdrModClose
|
---|
57 | _kLdrModQuerySymbol
|
---|
58 | _kLdrModEnumSymbols
|
---|
59 | _kLdrModGetImport
|
---|
60 | _kLdrModNumberOfImports
|
---|
61 | _kLdrModCanExecuteOn
|
---|
62 | _kLdrModGetStackInfo
|
---|
63 | _kLdrModQueryMainEntrypoint
|
---|
64 | _kLdrModEnumDbgInfo
|
---|
65 | _kLdrModHasDbgInfo
|
---|
66 | _kLdrModMap
|
---|
67 | _kLdrModUnmap
|
---|
68 | _kLdrModAllocTLS
|
---|
69 | _kLdrModFreeTLS
|
---|
70 | _kLdrModReload
|
---|
71 | _kLdrModFixupMapping
|
---|
72 | _kLdrModCallInit
|
---|
73 | _kLdrModCallTerm
|
---|
74 | _kLdrModCallThread
|
---|
75 | _kLdrModSize
|
---|
76 | _kLdrModGetBits
|
---|
77 | _kLdrModRelocateBits
|
---|
78 |
|
---|
79 | ; Process Bootstrapping
|
---|
80 | _kLdrDyldLoadExe
|
---|
81 |
|
---|
82 | ; Dynamic loading
|
---|
83 | _kLdrDyldLoad
|
---|
84 | _kLdrDyldUnload
|
---|
85 | _kLdrDyldFindByName
|
---|
86 | _kLdrDyldFindByAddress
|
---|
87 | _kLdrDyldGetName
|
---|
88 | _kLdrDyldGetFilename
|
---|
89 | _kLdrDyldQuerySymbol
|
---|
90 |
|
---|
91 |
|
---|
92 | ; OS/2 API wrappers:
|
---|
93 | ; kLdrLoadModule
|
---|
94 | ; kLdrFreeModule
|
---|
95 | ; kLdrQueryModuleHandle
|
---|
96 | ; kLdrQueryModuleName
|
---|
97 | ; kLdrQueryProcAddr
|
---|
98 | ; kLdrQueryProcType
|
---|
99 | ; kLdrQueryModFromEIP
|
---|
100 | ; kLdrReplaceModule
|
---|
101 | ; kLdrGetResource
|
---|
102 | ; kLdrFreeResource
|
---|
103 | ; kLdrQueryResourceSize
|
---|
104 |
|
---|
105 | ; dlfcn API wrappers:
|
---|
106 | ; _kLdrDlOpen
|
---|
107 | ; _kLdrDlClose
|
---|
108 | ; _kLdrDlError
|
---|
109 | ; _kLdrDlSym
|
---|
110 | ; _kLdrDlFunc
|
---|
111 |
|
---|
112 | ; Error APIs:
|
---|
113 | _kErrStr
|
---|
114 |
|
---|
115 |
|
---|