| 1 | ; $Id: kLdr-win.def 2 2007-11-16 16:07:14Z bird $
 | 
|---|
| 2 | ;; @file
 | 
|---|
| 3 | ; kLdr - The Dynamic Loader, Windows Linker Definition File.
 | 
|---|
| 4 | ;
 | 
|---|
| 5 | 
 | 
|---|
| 6 | ;
 | 
|---|
| 7 | ; Copyright (c) 2006-2007 knut st. osmundsen <bird-kStuff-spam@anduin.net>
 | 
|---|
| 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
 | 
|---|
| 35 | EXPORTS
 | 
|---|
| 36 |     ; The file reader API
 | 
|---|
| 37 |     kRdrAddProvider
 | 
|---|
| 38 |     kRdrOpen
 | 
|---|
| 39 |     kRdrClose
 | 
|---|
| 40 |     kRdrRead
 | 
|---|
| 41 |     kRdrAllMap
 | 
|---|
| 42 |     kRdrAllUnmap
 | 
|---|
| 43 |     kRdrSize
 | 
|---|
| 44 |     kRdrTell
 | 
|---|
| 45 |     kRdrName
 | 
|---|
| 46 |     kRdrPageSize
 | 
|---|
| 47 |     kRdrMap
 | 
|---|
| 48 |     kRdrRefresh
 | 
|---|
| 49 |     kRdrProtect
 | 
|---|
| 50 |     kRdrUnmap
 | 
|---|
| 51 |     kRdrDone
 | 
|---|
| 52 | 
 | 
|---|
| 53 |     ; The module interpreter API
 | 
|---|
| 54 |     kLdrModOpen
 | 
|---|
| 55 |     kLdrModOpenFromRdr
 | 
|---|
| 56 |     kLdrModOpenNative
 | 
|---|
| 57 |     kLdrModOpenNativeByHandle
 | 
|---|
| 58 |     kLdrModClose
 | 
|---|
| 59 |     kLdrModQuerySymbol
 | 
|---|
| 60 |     kLdrModEnumSymbols
 | 
|---|
| 61 |     kLdrModGetImport
 | 
|---|
| 62 |     kLdrModNumberOfImports
 | 
|---|
| 63 |     kLdrModCanExecuteOn
 | 
|---|
| 64 |     kLdrModGetStackInfo
 | 
|---|
| 65 |     kLdrModQueryMainEntrypoint
 | 
|---|
| 66 |     kLdrModEnumDbgInfo
 | 
|---|
| 67 |     kLdrModHasDbgInfo
 | 
|---|
| 68 |     kLdrModMap
 | 
|---|
| 69 |     kLdrModUnmap
 | 
|---|
| 70 |     kLdrModAllocTLS
 | 
|---|
| 71 |     kLdrModFreeTLS
 | 
|---|
| 72 |     kLdrModReload
 | 
|---|
| 73 |     kLdrModFixupMapping
 | 
|---|
| 74 |     kLdrModCallInit
 | 
|---|
| 75 |     kLdrModCallTerm
 | 
|---|
| 76 |     kLdrModCallThread
 | 
|---|
| 77 |     kLdrModSize
 | 
|---|
| 78 |     kLdrModGetBits
 | 
|---|
| 79 |     kLdrModRelocateBits
 | 
|---|
| 80 | 
 | 
|---|
| 81 |     ; Process Bootstrapping
 | 
|---|
| 82 |     kLdrDyldLoadExe
 | 
|---|
| 83 | 
 | 
|---|
| 84 |     ; Dynamic loading
 | 
|---|
| 85 |     kLdrDyldLoad
 | 
|---|
| 86 |     kLdrDyldUnload
 | 
|---|
| 87 |     kLdrDyldFindByName
 | 
|---|
| 88 |     kLdrDyldFindByAddress
 | 
|---|
| 89 |     kLdrDyldGetName
 | 
|---|
| 90 |     kLdrDyldGetFilename
 | 
|---|
| 91 |     kLdrDyldQuerySymbol
 | 
|---|
| 92 | 
 | 
|---|
| 93 | 
 | 
|---|
| 94 |     ; OS/2 API wrappers:
 | 
|---|
| 95 | ;    kLdrLoadModule
 | 
|---|
| 96 | ;    kLdrFreeModule
 | 
|---|
| 97 | ;    kLdrQueryModuleHandle
 | 
|---|
| 98 | ;    kLdrQueryModuleName
 | 
|---|
| 99 | ;    kLdrQueryProcAddr
 | 
|---|
| 100 | ;    kLdrQueryProcType
 | 
|---|
| 101 | ;    kLdrQueryModFromEIP
 | 
|---|
| 102 | ;    kLdrReplaceModule
 | 
|---|
| 103 | ;    kLdrGetResource
 | 
|---|
| 104 | ;    kLdrFreeResource
 | 
|---|
| 105 | ;    kLdrQueryResourceSize
 | 
|---|
| 106 | 
 | 
|---|
| 107 |     ; dlfcn API wrappers:
 | 
|---|
| 108 | ;    _kLdrDlOpen
 | 
|---|
| 109 | ;    _kLdrDlClose
 | 
|---|
| 110 | ;    _kLdrDlError
 | 
|---|
| 111 | ;    _kLdrDlSym
 | 
|---|
| 112 | ;    _kLdrDlFunc
 | 
|---|
| 113 | 
 | 
|---|
| 114 |     ; Error APIs:
 | 
|---|
| 115 |     kErrName
 | 
|---|
| 116 | 
 | 
|---|