1 | ; $Id: kLdr-os2.def 2 2007-11-16 16:07:14Z bird $
|
---|
2 | ;; @file
|
---|
3 | ; kLdr - The Dynamic Loader, OS/2 Linker Definition File.
|
---|
4 | ;
|
---|
5 |
|
---|
6 | ;
|
---|
7 | ; Copyright (c) 2006-2007 knut st. osmundsen <[email protected]>
|
---|
8 | ;
|
---|
9 | ; This file is part of kStuff.
|
---|
10 | ;
|
---|
11 | ; kStuff is free software; you can redistribute it and/or
|
---|
12 | ; modify it under the terms of the GNU Lesser General Public
|
---|
13 | ; License as published by the Free Software Foundation; either
|
---|
14 | ; version 2.1 of the License, or (at your option) any later version.
|
---|
15 | ;
|
---|
16 | ; In addition to the permissions in the GNU Lesser General Public
|
---|
17 | ; License, you are granted unlimited permission to link the compiled
|
---|
18 | ; version of this file into combinations with other programs, and to
|
---|
19 | ; distribute those combinations without any restriction coming from
|
---|
20 | ; the use of this file.
|
---|
21 | ;
|
---|
22 | ; kStuff is distributed in the hope that it will be useful,
|
---|
23 | ; but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
24 | ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
---|
25 | ; Lesser General Public License for more details.
|
---|
26 | ;
|
---|
27 | ; You should have received a copy of the GNU Lesser General Public
|
---|
28 | ; License along with kStuff; if not, write to the Free Software
|
---|
29 | ; Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
---|
30 | ; 02110-1301, USA
|
---|
31 | ;
|
---|
32 |
|
---|
33 |
|
---|
34 | LIBRARY kLdr INITINSTANCE TERMINSTANCE
|
---|
35 | DATA MULTIPLE
|
---|
36 | EXPORTS
|
---|
37 | ; The file reader API
|
---|
38 | _kRdrAddProvider
|
---|
39 | _kRdrOpen
|
---|
40 | _kRdrClose
|
---|
41 | _kRdrRead
|
---|
42 | _kRdrAllMap
|
---|
43 | _kRdrAllUnmap
|
---|
44 | _kRdrSize
|
---|
45 | _kRdrTell
|
---|
46 | _kRdrName
|
---|
47 | _kRdrPageSize
|
---|
48 | _kRdrMap
|
---|
49 | _kRdrRefresh
|
---|
50 | _kRdrProtect
|
---|
51 | _kRdrUnmap
|
---|
52 | _kRdrDone
|
---|
53 |
|
---|
54 | ; The module interpreter API
|
---|
55 | _kLdrModOpen
|
---|
56 | _kLdrModOpenFromRdr
|
---|
57 | _kLdrModOpenNative
|
---|
58 | _kLdrModOpenNativeByHandle
|
---|
59 | _kLdrModClose
|
---|
60 | _kLdrModQuerySymbol
|
---|
61 | _kLdrModEnumSymbols
|
---|
62 | _kLdrModGetImport
|
---|
63 | _kLdrModNumberOfImports
|
---|
64 | _kLdrModCanExecuteOn
|
---|
65 | _kLdrModGetStackInfo
|
---|
66 | _kLdrModQueryMainEntrypoint
|
---|
67 | _kLdrModEnumDbgInfo
|
---|
68 | _kLdrModHasDbgInfo
|
---|
69 | _kLdrModMap
|
---|
70 | _kLdrModUnmap
|
---|
71 | _kLdrModAllocTLS
|
---|
72 | _kLdrModFreeTLS
|
---|
73 | _kLdrModReload
|
---|
74 | _kLdrModFixupMapping
|
---|
75 | _kLdrModCallInit
|
---|
76 | _kLdrModCallTerm
|
---|
77 | _kLdrModCallThread
|
---|
78 | _kLdrModSize
|
---|
79 | _kLdrModGetBits
|
---|
80 | _kLdrModRelocateBits
|
---|
81 |
|
---|
82 | ; Process Bootstrapping
|
---|
83 | _kLdrDyldLoadExe
|
---|
84 |
|
---|
85 | ; Dynamic loading
|
---|
86 | _kLdrDyldLoad
|
---|
87 | _kLdrDyldUnload
|
---|
88 | _kLdrDyldFindByName
|
---|
89 | _kLdrDyldFindByAddress
|
---|
90 | _kLdrDyldGetName
|
---|
91 | _kLdrDyldGetFilename
|
---|
92 | _kLdrDyldQuerySymbol
|
---|
93 |
|
---|
94 |
|
---|
95 | ; OS/2 API wrappers:
|
---|
96 | ; kLdrLoadModule
|
---|
97 | ; kLdrFreeModule
|
---|
98 | ; kLdrQueryModuleHandle
|
---|
99 | ; kLdrQueryModuleName
|
---|
100 | ; kLdrQueryProcAddr
|
---|
101 | ; kLdrQueryProcType
|
---|
102 | ; kLdrQueryModFromEIP
|
---|
103 | ; kLdrReplaceModule
|
---|
104 | ; kLdrGetResource
|
---|
105 | ; kLdrFreeResource
|
---|
106 | ; kLdrQueryResourceSize
|
---|
107 |
|
---|
108 | ; dlfcn API wrappers:
|
---|
109 | ; _kLdrDlOpen
|
---|
110 | ; _kLdrDlClose
|
---|
111 | ; _kLdrDlError
|
---|
112 | ; _kLdrDlSym
|
---|
113 | ; _kLdrDlFunc
|
---|
114 |
|
---|
115 | ; Error APIs:
|
---|
116 | _kErrStr
|
---|
117 |
|
---|
118 |
|
---|