authorgravatar for 35231115+Rocknest@users.noreply.github.comRocknest <35231115+Rocknest@users.noreply.github.com> 2019-10-17 01:57:29+03:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2019-10-17 01:57:29+03:00
log40d53a7bc5ef18607266790e99fa693ba4344645
tree7e124a713889646e4e55c77e5d70d621fc572e6e
parentc95a9e978582ca96bf5462c6bfdd40b934e9ba92
parent700bb19a9053e236df6a9f15d435c427391e3ecf
signaturebadge-question-mark Signed by PGP key 4AEE18F83AFDEB23

Merge branch 'master' into docs-local


104 files changed, 12796 insertions(+), 386 deletions(-)

ci/azure/windows_script.bat+1-1
......@@ -19,7 +19,7 @@ mkdir %ZIGBUILDDIR%
1919cd %ZIGBUILDDIR%
2020REM Here we use MinSizeRel instead of Release to work around https://github.com/ziglang/zig/issues/3024
2121cmake.exe .. -Thost=x64 -G"Visual Studio 16 2019" -A x64 "-DCMAKE_INSTALL_PREFIX=%ZIGINSTALLDIR%" "-DCMAKE_PREFIX_PATH=%ZIGPREFIXPATH%" -DCMAKE_BUILD_TYPE=MinSizeRel || exit /b
22msbuild /p:Configuration=MinSizeRel INSTALL.vcxproj || exit /b
22msbuild /maxcpucount /p:Configuration=MinSizeRel INSTALL.vcxproj || exit /b
2323
2424"%ZIGINSTALLDIR%\bin\zig.exe" build test || exit /b
2525
lib/libc/include/any-windows-any/intrin.h+1-1
......@@ -50,7 +50,7 @@
5050 * On GCC 4.9 we may always include those headers. On older GCCs, we may do it only if CPU
5151 * features used by them are enabled, so we need to check macros like __SSE__ or __MMX__ first.
5252 */
53#if __MINGW_GNUC_PREREQ(4, 9)
53#if __MINGW_GNUC_PREREQ(4, 9) || defined(__clang__)
5454#define __MINGW_FORCE_SYS_INTRINS
5555#endif
5656
lib/libc/mingw/lib-common/bcrypt.def created+65
......@@ -0,0 +1,65 @@
1LIBRARY "bcrypt.dll"
2EXPORTS
3BCryptAddContextFunction
4BCryptAddContextFunctionProvider
5BCryptCloseAlgorithmProvider
6BCryptConfigureContext
7BCryptConfigureContextFunction
8BCryptCreateContext
9BCryptCreateHash
10BCryptCreateMultiHash
11BCryptDecrypt
12BCryptDeleteContext
13BCryptDeriveKey
14BCryptDeriveKeyCapi
15BCryptDeriveKeyPBKDF2
16BCryptDestroyHash
17BCryptDestroyKey
18BCryptDestroySecret
19BCryptDuplicateHash
20BCryptDuplicateKey
21BCryptEncrypt
22BCryptEnumAlgorithms
23BCryptEnumContextFunctionProviders
24BCryptEnumContextFunctions
25BCryptEnumContexts
26BCryptEnumProviders
27BCryptEnumRegisteredProviders
28BCryptExportKey
29BCryptFinalizeKeyPair
30BCryptFinishHash
31BCryptFreeBuffer
32BCryptGenRandom
33BCryptGenerateKeyPair
34BCryptGenerateSymmetricKey
35BCryptGetFipsAlgorithmMode
36BCryptGetProperty
37BCryptHashData
38BCryptImportKey
39BCryptImportKeyPair
40BCryptKeyDerivation
41BCryptOpenAlgorithmProvider
42BCryptProcessMultiOperations
43BCryptQueryContextConfiguration
44BCryptQueryContextFunctionConfiguration
45BCryptQueryContextFunctionProperty
46BCryptQueryProviderRegistration
47BCryptRegisterConfigChangeNotify
48BCryptRegisterProvider
49BCryptRemoveContextFunction
50BCryptRemoveContextFunctionProvider
51BCryptResolveProviders
52BCryptSecretAgreement
53BCryptSetAuditingInterface
54BCryptSetContextFunctionProperty
55BCryptSetProperty
56BCryptSignHash
57BCryptUnregisterConfigChangeNotify
58BCryptUnregisterProvider
59BCryptVerifySignature
60GetAsymmetricEncryptionInterface
61GetCipherInterface
62GetHashInterface
63GetRngInterface
64GetSecretAgreementInterface
65GetSignatureInterface
lib/libc/mingw/lib-common/comctl32.def created+125
......@@ -0,0 +1,125 @@
1LIBRARY COMCTL32.dll
2EXPORTS
3MenuHelp
4ShowHideMenuCtl
5GetEffectiveClientRect
6DrawStatusTextA
7CreateStatusWindowA
8CreateToolbar
9CreateMappedBitmap
10DPA_LoadStream
11DPA_SaveStream
12DPA_Merge
13CreatePropertySheetPage
14MakeDragList
15LBItemFromPt
16DrawInsert
17CreateUpDownControl
18InitCommonControls
19CreatePropertySheetPageA
20CreatePropertySheetPageW
21CreateStatusWindow
22CreateStatusWindowW
23CreateToolbarEx
24DestroyPropertySheetPage
25DllGetVersion
26DllInstall
27DrawStatusText
28DrawStatusTextW
29FlatSB_EnableScrollBar
30FlatSB_GetScrollInfo
31FlatSB_GetScrollPos
32FlatSB_GetScrollProp
33FlatSB_GetScrollPropPtr
34FlatSB_GetScrollRange
35FlatSB_SetScrollInfo
36FlatSB_SetScrollPos
37FlatSB_SetScrollProp
38FlatSB_SetScrollRange
39FlatSB_ShowScrollBar
40GetMUILanguage
41ImageList_Add
42ImageList_AddIcon
43ImageList_AddMasked
44ImageList_BeginDrag
45ImageList_Copy
46ImageList_Create
47ImageList_Destroy
48ImageList_DragEnter
49ImageList_DragLeave
50ImageList_DragMove
51ImageList_DragShowNolock
52ImageList_Draw
53ImageList_DrawEx
54ImageList_DrawIndirect
55ImageList_Duplicate
56ImageList_EndDrag
57ImageList_GetBkColor
58ImageList_GetDragImage
59ImageList_GetFlags
60ImageList_GetIcon
61ImageList_GetIconSize
62ImageList_GetImageCount
63ImageList_GetImageInfo
64ImageList_GetImageRect
65ImageList_LoadImage
66ImageList_LoadImageA
67ImageList_LoadImageW
68ImageList_Merge
69ImageList_Read
70ImageList_Remove
71ImageList_Replace
72ImageList_ReplaceIcon
73ImageList_SetBkColor
74ImageList_SetDragCursorImage
75ImageList_SetFilter
76ImageList_SetFlags
77ImageList_SetIconSize
78ImageList_SetImageCount
79ImageList_SetOverlayImage
80ImageList_Write
81InitCommonControlsEx
82InitMUILanguage
83InitializeFlatSB
84LoadIconMetric
85PropertySheet
86PropertySheetA
87PropertySheetW
88RegisterClassNameW
89UninitializeFlatSB
90_TrackMouseEvent
91FreeMRUList
92Str_SetPtrW
93DSA_Create
94DSA_Destroy
95DSA_GetItem
96DSA_GetItemPtr
97DSA_InsertItem
98DSA_SetItem
99DSA_DeleteItem
100DSA_DeleteAllItems
101DPA_Create
102DPA_Destroy
103DPA_Grow
104DPA_Clone
105DPA_GetPtr
106DPA_GetPtrIndex
107DPA_InsertPtr
108DPA_SetPtr
109DPA_DeletePtr
110DPA_DeleteAllPtrs
111DPA_Sort
112DPA_Search
113DPA_CreateEx
114DPA_EnumCallback
115DPA_DestroyCallback
116DSA_EnumCallback
117DSA_DestroyCallback
118CreateMRUListW
119AddMRUStringW
120EnumMRUListW
121SetWindowSubclass
122RemoveWindowSubclass
123DefSubclassProc
124TaskDialog
125TaskDialogIndirect
lib/libc/mingw/lib-common/comdlg32.def created+34
......@@ -0,0 +1,34 @@
1;
2; Exports of file comdlg32.dll
3;
4; Autogenerated by gen_exportdef
5; Written by Kai Tietz, 2007
6;
7LIBRARY comdlg32.dll
8EXPORTS
9ChooseColorA
10ChooseColorW
11ChooseFontA
12ChooseFontW
13CommDlgExtendedError
14FindTextA
15FindTextW
16GetFileTitleA
17GetFileTitleW
18GetOpenFileNameA
19GetOpenFileNameW
20GetSaveFileNameA
21GetSaveFileNameW
22LoadAlterBitmap
23PageSetupDlgA
24PageSetupDlgW
25PrintDlgA
26PrintDlgExA
27PrintDlgExW
28PrintDlgW
29ReplaceTextA
30ReplaceTextW
31Ssync_ANSI_UNICODE_Struct_For_WOW
32WantArrows
33dwLBSubclass
34dwOKSubclass
lib/libc/mingw/lib-common/crypt32.def created+300
......@@ -0,0 +1,300 @@
1LIBRARY "CRYPT32.dll"
2EXPORTS
3ChainWlxLogoffEvent
4CloseCertPerformanceData
5CollectCertPerformanceData
6OpenCertPerformanceData
7CryptObjectLocatorFree
8CryptObjectLocatorGet
9CryptObjectLocatorGetContent
10CryptObjectLocatorGetUpdated
11CryptObjectLocatorInitialize
12CryptObjectLocatorIsChanged
13CryptObjectLocatorRelease
14I_PFXImportCertStoreEx
15CertAddCRLContextToStore
16CertAddCRLLinkToStore
17CertAddCTLContextToStore
18CertAddCTLLinkToStore
19CertAddCertificateContextToStore
20CertAddCertificateLinkToStore
21CertAddEncodedCRLToStore
22CertAddEncodedCTLToStore
23CertAddEncodedCertificateToStore
24CertAddEncodedCertificateToSystemStoreA
25CertAddEncodedCertificateToSystemStoreW
26CertAddEnhancedKeyUsageIdentifier
27CertAddRefServerOcspResponse
28CertAddRefServerOcspResponseContext
29CertAddSerializedElementToStore
30CertAddStoreToCollection
31CertAlgIdToOID
32CertCloseServerOcspResponse
33CertCloseStore
34CertCompareCertificate
35CertCompareCertificateName
36CertCompareIntegerBlob
37CertComparePublicKeyInfo
38CertControlStore
39CertCreateCRLContext
40CertCreateCTLContext
41CertCreateCTLEntryFromCertificateContextProperties
42CertCreateCertificateChainEngine
43CertCreateCertificateContext
44CertCreateContext
45CertCreateSelfSignCertificate
46CertDeleteCRLFromStore
47CertDeleteCTLFromStore
48CertDeleteCertificateFromStore
49CertDuplicateCRLContext
50CertDuplicateCTLContext
51CertDuplicateCertificateChain
52CertDuplicateCertificateContext
53CertDuplicateStore
54CertEnumCRLContextProperties
55CertEnumCRLsInStore
56CertEnumCTLContextProperties
57CertEnumCTLsInStore
58CertEnumCertificateContextProperties
59CertEnumCertificatesInStore
60CertEnumPhysicalStore
61CertEnumSubjectInSortedCTL
62CertEnumSystemStore
63CertEnumSystemStoreLocation
64CertFindAttribute
65CertFindCRLInStore
66CertFindCTLInStore
67CertFindCertificateInCRL
68CertFindCertificateInStore
69CertFindChainInStore
70CertFindExtension
71CertFindRDNAttr
72CertFindSubjectInCTL
73CertFindSubjectInSortedCTL
74CertFreeCRLContext
75CertFreeCTLContext
76CertFreeCertificateChain
77CertFreeCertificateChainEngine
78CertFreeCertificateChainList
79CertFreeCertificateContext
80CertFreeServerOcspResponseContext
81CertGetCRLContextProperty
82CertGetCRLFromStore
83CertGetCTLContextProperty
84CertGetCertificateChain
85CertGetCertificateContextProperty
86CertGetEnhancedKeyUsage
87CertGetIntendedKeyUsage
88CertGetIssuerCertificateFromStore
89CertGetNameStringA
90CertGetNameStringW
91CertGetPublicKeyLength
92CertGetServerOcspResponseContext
93CertGetStoreProperty
94CertGetSubjectCertificateFromStore
95CertGetValidUsages
96CertIsRDNAttrsInCertificateName
97CertIsStrongHashToSign
98CertIsValidCRLForCertificate
99CertIsWeakHash
100CertNameToStrA
101CertNameToStrW
102CertOIDToAlgId
103CertOpenServerOcspResponse
104CertOpenStore
105CertOpenSystemStoreA
106CertOpenSystemStoreW
107CertRDNValueToStrA
108CertRDNValueToStrW
109CertRegisterPhysicalStore
110CertRegisterSystemStore
111CertRemoveEnhancedKeyUsageIdentifier
112CertRemoveStoreFromCollection
113CertResyncCertificateChainEngine
114CertRetrieveLogoOrBiometricInfo
115CertSaveStore
116CertSelectCertificateChains
117CertSerializeCRLStoreElement
118CertSerializeCTLStoreElement
119CertSerializeCertificateStoreElement
120CertSetCRLContextProperty
121CertSetCTLContextProperty
122CertSetCertificateContextPropertiesFromCTLEntry
123CertSetCertificateContextProperty
124CertSetEnhancedKeyUsage
125CertSetStoreProperty
126CertStrToNameA
127CertStrToNameW
128CertUnregisterPhysicalStore
129CertUnregisterSystemStore
130CertVerifyCRLRevocation
131CertVerifyCRLTimeValidity
132CertVerifyCTLUsage
133CertVerifyCertificateChainPolicy
134CertVerifyRevocation
135CertVerifySubjectCertificateContext
136CertVerifyTimeValidity
137CertVerifyValidityNesting
138CryptAcquireCertificatePrivateKey
139CryptBinaryToStringA
140CryptBinaryToStringW
141CryptCloseAsyncHandle
142CryptCreateAsyncHandle
143CryptCreateKeyIdentifierFromCSP
144CryptDecodeMessage
145CryptDecodeObject
146CryptDecodeObjectEx
147CryptDecryptAndVerifyMessageSignature
148CryptDecryptMessage
149CryptEncodeObject
150CryptEncodeObjectEx
151CryptEncryptMessage
152CryptEnumKeyIdentifierProperties
153CryptEnumOIDFunction
154CryptEnumOIDInfo
155CryptExportPKCS8
156CryptExportPublicKeyInfo
157CryptExportPublicKeyInfoEx
158CryptExportPublicKeyInfoFromBCryptKeyHandle
159CryptFindCertificateKeyProvInfo
160CryptFindLocalizedName
161CryptFindOIDInfo
162CryptFormatObject
163CryptFreeOIDFunctionAddress
164CryptGetAsyncParam
165CryptGetDefaultOIDDllList
166CryptGetDefaultOIDFunctionAddress
167CryptGetKeyIdentifierProperty
168CryptGetMessageCertificates
169CryptGetMessageSignerCount
170CryptGetOIDFunctionAddress
171CryptGetOIDFunctionValue
172CryptGetDefaultProviderA
173CryptGetDefaultProviderW
174CryptHashCertificate
175CryptHashCertificate2
176CryptHashMessage
177CryptHashPublicKeyInfo
178CryptHashToBeSigned
179CryptImportPKCS8
180CryptImportPublicKeyInfo
181CryptImportPublicKeyInfoEx
182CryptImportPublicKeyInfoEx2
183CryptInitOIDFunctionSet
184CryptInstallDefaultContext
185CryptInstallOIDFunctionAddress
186CryptLoadSip
187CryptMemAlloc
188CryptMemFree
189CryptMemRealloc
190CryptMsgCalculateEncodedLength
191CryptMsgClose
192CryptMsgControl
193CryptMsgCountersign
194CryptMsgCountersignEncoded
195CryptMsgDuplicate
196CryptMsgEncodeAndSignCTL
197CryptMsgGetAndVerifySigner
198CryptMsgGetParam
199CryptMsgOpenToDecode
200CryptMsgOpenToEncode
201CryptMsgSignCTL
202CryptMsgUpdate
203CryptMsgVerifyCountersignatureEncoded
204CryptMsgVerifyCountersignatureEncodedEx
205CryptProtectData
206CryptProtectMemory
207CryptQueryObject
208CryptRegisterDefaultOIDFunction
209CryptRegisterOIDFunction
210CryptRegisterOIDInfo
211CryptRetrieveTimeStamp
212CryptSIPAddProvider
213CryptSIPCreateIndirectData
214CryptSIPGetCaps
215CryptSIPGetSealedDigest
216CryptSIPGetSignedDataMsg
217CryptSIPLoad
218CryptSIPPutSignedDataMsg
219CryptSIPRemoveProvider
220CryptSIPRemoveSignedDataMsg
221CryptSIPRetrieveSubjectGuid
222CryptSIPRetrieveSubjectGuidForCatalogFile
223CryptSIPVerifyIndirectData
224CryptSetAsyncParam
225CryptSetKeyIdentifierProperty
226CryptSetOIDFunctionValue
227CryptSignAndEncodeCertificate
228CryptSignAndEncryptMessage
229CryptSignCertificate
230CryptSignMessage
231CryptSignMessageWithKey
232CryptStringToBinaryA
233CryptStringToBinaryW
234CryptUninstallDefaultContext
235CryptUnprotectData
236CryptUnprotectMemory
237CryptUnregisterDefaultOIDFunction
238CryptUnregisterOIDFunction
239CryptUnregisterOIDInfo
240CryptUpdateProtectedState
241CryptVerifyCertificateSignature
242CryptVerifyCertificateSignatureEx
243CryptVerifyDetachedMessageHash
244CryptVerifyDetachedMessageSignature
245CryptVerifyMessageHash
246CryptVerifyMessageSignature
247CryptVerifyMessageSignatureWithKey
248CryptVerifyTimeStampSignature
249I_CertChainEngineIsDisallowedCertificate
250I_CertDiagControl
251I_CertFinishSslHandshake
252I_CertProcessSslHandshake
253I_CertProtectFunction
254I_CertSrvProtectFunction
255I_CertSyncStore
256I_CertUpdateStore
257I_CryptAddRefLruEntry
258I_CryptAddSmartCardCertToStore
259I_CryptAllocTls
260I_CryptCreateLruCache
261I_CryptCreateLruEntry
262I_CryptDetachTls
263I_CryptDisableLruOfEntries
264I_CryptEnableLruOfEntries
265I_CryptEnumMatchingLruEntries
266I_CryptFindLruEntry
267I_CryptFindLruEntryData
268I_CryptFindSmartCardCertInStore
269I_CryptFlushLruCache
270I_CryptFreeLruCache
271I_CryptFreeTls
272I_CryptGetAsn1Decoder
273I_CryptGetAsn1Encoder
274I_CryptGetDefaultCryptProv
275I_CryptGetDefaultCryptProvForEncrypt
276I_CryptGetFileVersion
277I_CryptGetLruEntryData
278I_CryptGetLruEntryIdentifier
279I_CryptGetOssGlobal
280I_CryptGetTls
281I_CryptAllocTlsEx
282I_CryptInsertLruEntry
283I_CryptInstallAsn1Module
284I_CryptInstallOssGlobal
285I_CryptReadTrustedPublisherDWORDValueFromRegistry
286I_CryptRegisterSmartCardStore
287I_CryptReleaseLruEntry
288I_CryptRemoveLruEntry
289I_CryptSetTls
290I_CryptTouchLruEntry
291I_CryptUninstallAsn1Module
292I_CryptUninstallOssGlobal
293I_CryptUnregisterSmartCardStore
294I_CryptWalkAllLruCacheEntries
295PFXExportCertStore
296PFXExportCertStore2
297PFXExportCertStoreEx
298PFXImportCertStore
299PFXIsPFXBlob
300PFXVerifyPassword
lib/libc/mingw/lib-common/cryptnet.def created+23
......@@ -0,0 +1,23 @@
1LIBRARY "CRYPTNET.dll"
2EXPORTS
3CertDllVerifyCTLUsage
4CertDllVerifyRevocation
5CryptnetWlxLogoffEvent
6I_CryptConvertIriToAsciiOrUnicode
7I_CryptConvertIriToAsciiOrUnicodeWithFlags
8LdapProvOpenStore
9CryptCancelAsyncRetrieval
10CryptFlushTimeValidObject
11CryptGetObjectUrl
12CryptGetTimeValidObject
13CryptInstallCancelRetrieval
14CryptRetrieveObjectByUrlA
15CryptRetrieveObjectByUrlW
16CryptUninstallCancelRetrieval
17I_CryptNetEnumUrlCacheEntry
18I_CryptNetGetConnectivity
19I_CryptNetGetHostNameFromUrl
20I_CryptNetGetUserDsStoreUrl
21I_CryptNetIsConnected
22I_CryptNetSetUrlCacheFlushInfo
23I_CryptNetSetUrlCachePreFetchInfo
lib/libc/mingw/lib-common/lz32.def created+22
......@@ -0,0 +1,22 @@
1;
2; Exports of file LZ32.dll
3;
4; Autogenerated by gen_exportdef
5; Written by Kai Tietz, 2007
6;
7LIBRARY LZ32.dll
8EXPORTS
9CopyLZFile
10GetExpandedNameA
11GetExpandedNameW
12LZClose
13LZCloseFile
14LZCopy
15LZCreateFileW
16LZDone
17LZInit
18LZOpenFileA
19LZOpenFileW
20LZRead
21LZSeek
22LZStart
lib/libc/mingw/lib-common/mpr.def created+94
......@@ -0,0 +1,94 @@
1;
2; Definition file of MPR.dll
3; Automatic generated by gendef
4; written by Kai Tietz 2008-2014
5;
6LIBRARY "MPR.dll"
7EXPORTS
8DoBroadcastSystemMessage
9DoCommandLinePrompt
10DoPasswordDialog
11DoProfileErrorDialog
12ShowReconnectDialog
13ShowReconnectDialogEnd
14ShowReconnectDialogUI
15WNetConnectionDialog2
16WNetDisconnectDialog2
17I_MprSaveConn
18MultinetGetConnectionPerformanceA
19MultinetGetConnectionPerformanceW
20MultinetGetErrorTextA
21MultinetGetErrorTextW
22RestoreConnectionA0
23WNetAddConnection2A
24WNetAddConnection2W
25WNetAddConnection3A
26WNetAddConnection3W
27WNetAddConnectionA
28WNetAddConnectionW
29WNetCancelConnection2A
30WNetCancelConnection2W
31WNetCancelConnectionA
32WNetCancelConnectionW
33WNetClearConnections
34WNetCloseEnum
35WNetConnectionDialog
36WNetConnectionDialog1A
37WNetConnectionDialog1W
38WNetDirectoryNotifyA
39WNetDirectoryNotifyW
40WNetDisconnectDialog
41WNetDisconnectDialog1A
42WNetDisconnectDialog1W
43WNetEnumResourceA
44WNetEnumResourceW
45WNetFMXEditPerm
46WNetFMXGetPermCaps
47WNetFMXGetPermHelp
48WNetFormatNetworkNameA
49WNetFormatNetworkNameW
50WNetGetConnection2A
51WNetGetConnection2W
52WNetGetConnection3A
53WNetGetConnection3W
54WNetGetConnectionA
55WNetGetConnectionW
56WNetGetDirectoryTypeA
57WNetGetDirectoryTypeW
58WNetGetHomeDirectoryW
59WNetGetLastErrorA
60WNetGetLastErrorW
61WNetGetNetworkInformationA
62WNetGetNetworkInformationW
63WNetGetPropertyTextA
64WNetGetPropertyTextW
65WNetGetProviderNameA
66WNetGetProviderNameW
67WNetGetProviderTypeA
68WNetGetProviderTypeW
69WNetGetResourceInformationA
70WNetGetResourceInformationW
71WNetGetResourceParentA
72WNetGetResourceParentW
73WNetGetSearchDialog
74WNetGetUniversalNameA
75WNetGetUniversalNameW
76WNetGetUserA
77WNetGetUserW
78WNetLogonNotify
79WNetOpenEnumA
80WNetOpenEnumW
81WNetPasswordChangeNotify
82WNetPropertyDialogA
83WNetPropertyDialogW
84WNetRestoreAllConnectionsW
85WNetRestoreConnection2W
86WNetRestoreConnectionW
87WNetRestoreSingleConnectionW
88WNetSetConnectionA
89WNetSetConnectionW
90WNetSetLastErrorA
91WNetSetLastErrorW
92WNetSupportGlobalEnum
93WNetUseConnectionA
94WNetUseConnectionW
lib/libc/mingw/lib-common/ncrypt.def created+137
......@@ -0,0 +1,137 @@
1;
2; Definition file of ncrypt.dll
3; Automatic generated by gendef
4; written by Kai Tietz 2008-2014
5;
6LIBRARY "ncrypt.dll"
7EXPORTS
8BCryptAddContextFunction
9BCryptAddContextFunctionProvider
10BCryptCloseAlgorithmProvider
11BCryptConfigureContext
12BCryptConfigureContextFunction
13BCryptCreateContext
14BCryptCreateHash
15BCryptDecrypt
16BCryptDeleteContext
17BCryptDeriveKey
18BCryptDeriveKeyCapi
19BCryptDeriveKeyPBKDF2
20BCryptDestroyHash
21BCryptDestroyKey
22BCryptDestroySecret
23BCryptDuplicateHash
24BCryptDuplicateKey
25BCryptEncrypt
26BCryptEnumAlgorithms
27BCryptEnumContextFunctionProviders
28BCryptEnumContextFunctions
29BCryptEnumContexts
30BCryptEnumProviders
31BCryptEnumRegisteredProviders
32BCryptExportKey
33BCryptFinalizeKeyPair
34BCryptFinishHash
35BCryptFreeBuffer
36BCryptGenRandom
37BCryptGenerateKeyPair
38BCryptGenerateSymmetricKey
39BCryptGetFipsAlgorithmMode
40BCryptGetProperty
41BCryptHashData
42BCryptImportKey
43BCryptImportKeyPair
44BCryptKeyDerivation
45BCryptOpenAlgorithmProvider
46BCryptQueryContextConfiguration
47BCryptQueryContextFunctionConfiguration
48BCryptQueryContextFunctionProperty
49BCryptQueryProviderRegistration
50BCryptRegisterConfigChangeNotify
51BCryptRegisterProvider
52BCryptRemoveContextFunction
53BCryptRemoveContextFunctionProvider
54BCryptResolveProviders
55BCryptSecretAgreement
56BCryptSetAuditingInterface
57BCryptSetContextFunctionProperty
58BCryptSetProperty
59BCryptSignHash
60BCryptUnregisterConfigChangeNotify
61BCryptUnregisterProvider
62BCryptVerifySignature
63GetIsolationServerInterface
64GetKeyStorageInterface
65GetSChannelInterface
66NCryptCloseKeyProtector
67NCryptCloseProtectionDescriptor
68NCryptCreatePersistedKey
69NCryptCreateProtectionDescriptor
70NCryptDecrypt
71NCryptDeleteKey
72NCryptDeriveKey
73NCryptDuplicateKeyProtectorHandle
74NCryptEncrypt
75NCryptEnumAlgorithms
76NCryptEnumKeys
77NCryptEnumStorageProviders
78NCryptExportKey
79NCryptFinalizeKey
80NCryptFreeBuffer
81NCryptFreeObject
82NCryptGetProperty
83NCryptGetProtectionDescriptorInfo
84NCryptImportKey
85NCryptIsAlgSupported
86NCryptIsKeyHandle
87NCryptKeyDerivation
88NCryptNotifyChangeKey
89NCryptOpenKey
90NCryptOpenKeyProtector
91NCryptOpenStorageProvider
92NCryptProtectKey
93NCryptProtectSecret
94NCryptQueryProtectionDescriptorName
95NCryptRegisterProtectionDescriptorName
96NCryptSecretAgreement
97NCryptSetAuditingInterface
98NCryptSetProperty
99NCryptSignHash
100NCryptStreamClose
101NCryptStreamOpenToProtect
102NCryptStreamOpenToUnprotect
103NCryptStreamUpdate
104NCryptTranslateHandle
105NCryptUnprotectKey
106NCryptUnprotectSecret
107NCryptVerifySignature
108SslChangeNotify
109SslComputeClientAuthHash
110SslComputeEapKeyBlock
111SslComputeFinishedHash
112SslCreateClientAuthHash
113SslCreateEphemeralKey
114SslCreateHandshakeHash
115SslDecrementProviderReferenceCount
116SslDecryptPacket
117SslEncryptPacket
118SslEnumCipherSuites
119SslEnumProtocolProviders
120SslExportKey
121SslFreeBuffer
122SslFreeObject
123SslGenerateMasterKey
124SslGenerateSessionKeys
125SslGetCipherSuitePRFHashAlgorithm
126SslGetKeyProperty
127SslGetProviderProperty
128SslHashHandshake
129SslImportKey
130SslImportMasterKey
131SslIncrementProviderReferenceCount
132SslLookupCipherLengths
133SslLookupCipherSuiteInfo
134SslOpenPrivateKey
135SslOpenProvider
136SslSignHash
137SslVerifySignature
lib/libc/mingw/lib-common/netapi32.def created+386
......@@ -0,0 +1,386 @@
1LIBRARY "NETAPI32.dll"
2EXPORTS
3CredpValidateTargetName
4DavAddConnection
5DavDeleteConnection
6DavFlushFile
7DavGetExtendedError
8DavGetHTTPFromUNCPath
9DavGetUNCFromHTTPPath
10DsAddressToSiteNamesA
11DsAddressToSiteNamesExA
12DsAddressToSiteNamesExW
13DsAddressToSiteNamesW
14DsDeregisterDnsHostRecordsA
15DsDeregisterDnsHostRecordsW
16DsEnumerateDomainTrustsA
17DsEnumerateDomainTrustsW
18DsGetDcCloseW
19DsGetDcNameA
20DsGetDcNameW
21DsGetDcNameWithAccountA
22DsGetDcNameWithAccountW
23DsGetDcNextA
24DsGetDcNextW
25DsGetDcOpenA
26DsGetDcOpenW
27DsGetDcSiteCoverageA
28DsGetDcSiteCoverageW
29DsGetForestTrustInformationW
30DsGetSiteNameA
31DsGetSiteNameW
32DsMergeForestTrustInformationW
33DsRoleAbortDownlevelServerUpgrade
34DsRoleCancel
35DsRoleDcAsDc
36DsRoleDcAsReplica
37DsRoleDemoteDc
38DsRoleDnsNameToFlatName
39DsRoleFreeMemory
40DsRoleGetDatabaseFacts
41DsRoleGetDcOperationProgress
42DsRoleGetDcOperationResults
43DsRoleGetPrimaryDomainInformation
44DsRoleIfmHandleFree
45DsRoleServerSaveStateForUpgrade
46DsRoleUpgradeDownlevelServer
47DsValidateSubnetNameA
48DsValidateSubnetNameW
49I_BrowserDebugCall
50I_BrowserDebugTrace
51I_BrowserQueryEmulatedDomains
52I_BrowserQueryOtherDomains
53I_BrowserQueryStatistics
54I_BrowserResetNetlogonState
55I_BrowserResetStatistics
56I_BrowserServerEnum
57I_BrowserSetNetlogonState
58I_DsUpdateReadOnlyServerDnsRecords
59I_NetAccountDeltas
60I_NetAccountSync
61I_NetChainSetClientAttributes
62I_NetChainSetClientAttributes2
63I_NetDatabaseDeltas
64I_NetDatabaseRedo
65I_NetDatabaseSync
66I_NetDatabaseSync2
67I_NetDfsCreateExitPoint
68I_NetDfsCreateLocalPartition
69I_NetDfsDeleteExitPoint
70I_NetDfsDeleteLocalPartition
71I_NetDfsFixLocalVolume
72I_NetDfsGetFtServers
73I_NetDatabaseDeltas
74I_NetDatabaseRedo
75I_NetDatabaseSync
76I_NetDatabaseSync2
77I_NetDfsGetVersion
78I_NetDfsIsThisADomainName
79I_NetDfsManagerReportSiteInfo
80I_NetDfsModifyPrefix
81I_NetDfsSetLocalVolumeState
82I_NetDfsSetServerInfo
83I_NetGetDCList
84I_NetGetForestTrustInformation
85I_NetListCanonicalize
86I_NetListTraverse
87I_NetLogonControl
88I_NetLogonControl2
89I_NetLogonGetDomainInfo
90I_NetLogonSamLogoff
91I_NetLogonSamLogon
92I_NetLogonSamLogonEx
93I_NetLogonSamLogonWithFlags
94I_NetLogonSendToSam
95I_NetLogonUasLogoff
96I_NetLogonUasLogon
97I_NetNameCanonicalize
98I_NetNameCompare
99I_NetNameValidate
100I_NetPathCanonicalize
101I_NetPathCompare
102I_NetPathType
103I_NetLogonSamLogonEx
104I_NetLogonSamLogonWithFlags
105I_NetLogonSendToSam
106I_NetLogonUasLogoff
107I_NetLogonUasLogon
108I_NetServerAuthenticate
109I_NetServerAuthenticate2
110I_NetServerAuthenticate3
111I_NetServerGetTrustInfo
112I_NetServerPasswordGet
113I_NetServerPasswordSet
114I_NetServerPasswordSet2
115I_NetServerReqChallenge
116I_NetServerSetServiceBits
117I_NetServerSetServiceBitsEx
118I_NetServerTrustPasswordsGet
119I_NetlogonComputeClientDigest
120I_NetlogonComputeServerDigest
121I_NetlogonGetTrustRid
122NetAccessAdd
123NetAccessDel
124NetAccessEnum
125NetAccessGetInfo
126NetAccessGetUserPerms
127NetAccessSetInfo
128NetAddAlternateComputerName
129NetAddServiceAccount
130NetAlertRaise
131NetAlertRaiseEx
132NetApiBufferAllocate
133NetApiBufferFree
134NetApiBufferReallocate
135NetApiBufferSize
136NetAuditClear
137NetAuditRead
138NetAuditWrite
139NetBrowserStatisticsGet
140NetConfigGet
141NetConfigGetAll
142NetConfigSet
143NetConnectionEnum
144NetCreateProvisioningPackage
145NetDfsAdd
146NetDfsAddFtRoot
147NetDfsAddRootTarget
148NetDfsAddStdRoot
149NetDfsAddStdRootForced
150NetDfsEnum
151NetDfsGetClientInfo
152NetDfsGetDcAddress
153NetDfsGetFtContainerSecurity
154NetDfsGetInfo
155NetDfsGetSecurity
156NetDfsGetStdContainerSecurity
157NetDfsGetSupportedNamespaceVersion
158NetDfsManagerGetConfigInfo
159NetDfsManagerInitialize
160NetDfsManagerSendSiteInfo
161NetDfsMove
162NetDfsRemove
163NetDfsRemoveFtRoot
164NetDfsRemoveFtRootForced
165NetDfsRemoveRootTarget
166NetDfsRemoveStdRoot
167NetDfsRename
168NetDfsSetClientInfo
169NetDfsSetFtContainerSecurity
170NetDfsSetInfo
171NetDfsSetSecurity
172NetDfsSetStdContainerSecurity
173NetEnumerateComputerNames
174NetEnumerateServiceAccounts
175NetEnumerateTrustedDomains
176NetErrorLogClear
177NetErrorLogRead
178NetErrorLogWrite
179NetFileClose
180NetFileEnum
181NetFileGetInfo
182NetGetAnyDCName
183NetGetDCName
184NetGetDisplayInformationIndex
185NetGetJoinInformation
186NetGetJoinableOUs
187NetGroupAdd
188NetGroupAddUser
189NetGroupDel
190NetGroupDelUser
191NetGroupEnum
192NetGroupGetInfo
193NetGroupGetUsers
194NetGroupSetInfo
195NetGroupSetUsers
196NetIsServiceAccount
197NetJoinDomain
198NetLocalGroupAdd
199NetLocalGroupAddMember
200NetLocalGroupAddMembers
201NetLocalGroupDel
202NetLocalGroupDelMember
203NetLocalGroupDelMembers
204NetLocalGroupEnum
205NetLocalGroupGetInfo
206NetLocalGroupGetMembers
207NetLocalGroupSetInfo
208NetLocalGroupSetMembers
209NetLogonGetTimeServiceParentDomain
210NetLogonSetServiceBits
211NetMessageBufferSend
212NetMessageNameAdd
213NetMessageNameDel
214NetMessageNameEnum
215NetMessageNameGetInfo
216NetProvisionComputerAccount
217NetQueryDisplayInformation
218NetQueryServiceAccount
219NetRegisterDomainNameChangeNotification
220NetRemoteComputerSupports
221NetRemoteTOD
222NetRemoveAlternateComputerName
223NetRemoveServiceAccount
224NetRenameMachineInDomain
225NetReplExportDirAdd
226NetReplExportDirDel
227NetReplExportDirEnum
228NetReplExportDirGetInfo
229NetReplExportDirLock
230NetReplExportDirSetInfo
231NetReplExportDirUnlock
232NetReplGetInfo
233NetReplImportDirAdd
234NetReplImportDirDel
235NetReplImportDirEnum
236NetReplImportDirGetInfo
237NetReplImportDirLock
238NetReplImportDirUnlock
239NetReplSetInfo
240NetRequestOfflineDomainJoin
241NetRequestProvisioningPackageInstall
242NetScheduleJobAdd
243NetScheduleJobDel
244NetScheduleJobEnum
245NetScheduleJobGetInfo
246NetServerAliasAdd
247NetServerAliasDel
248NetServerAliasEnum
249NetServerComputerNameAdd
250NetServerComputerNameDel
251NetServerDiskEnum
252NetServerEnum
253NetServerEnumEx
254NetServerGetInfo
255NetServerSetInfo
256NetServerTransportAdd
257NetServerTransportAddEx
258NetServerTransportDel
259NetServerTransportEnum
260NetServiceControl
261NetServiceEnum
262NetServiceGetInfo
263NetServiceInstall
264NetSessionDel
265NetSessionEnum
266NetSessionGetInfo
267NetSetPrimaryComputerName
268NetShareAdd
269NetShareCheck
270NetShareDel
271NetShareDelEx
272NetShareDelSticky
273NetShareEnum
274NetShareEnumSticky
275NetShareGetInfo
276NetShareSetInfo
277NetStatisticsGet
278NetUnjoinDomain
279NetUnregisterDomainNameChangeNotification
280NetUseAdd
281NetUseDel
282NetUseEnum
283NetUseGetInfo
284NetUserAdd
285NetUserChangePassword
286NetUserDel
287NetUserEnum
288NetUserGetGroups
289NetUserGetInfo
290NetUserGetLocalGroups
291NetUserModalsGet
292NetUserModalsSet
293NetUserSetGroups
294NetUserSetInfo
295NetValidateName
296NetValidatePasswordPolicy
297NetValidatePasswordPolicyFree
298NetWkstaGetInfo
299NetWkstaSetInfo
300NetWkstaTransportAdd
301NetWkstaTransportDel
302NetWkstaTransportEnum
303NetWkstaUserEnum
304NetWkstaUserGetInfo
305NetWkstaUserSetInfo
306NetapipBufferAllocate
307Netbios
308NetpAccessCheck
309NetpAccessCheckAndAudit
310NetpAccessCheckAndAuditEx
311NetpAddTlnFtinfoEntry
312NetpAllocConfigName
313NetpAllocFtinfoEntry
314NetpAllocStrFromWStr
315NetpAllocWStrFromStr
316NetpAllocWStrFromWStr
317NetpApiStatusToNtStatus
318NetpAssertFailed
319NetpCleanFtinfoContext
320NetpCloseConfigData
321NetpCopyFtinfoContext
322NetpCopyStringToBuffer
323NetpCreateSecurityObject
324NetpDbgPrint
325NetpDeleteSecurityObject
326NetpEventlogClose
327NetpEventlogOpen
328NetpEventlogWriteEx
329NetpGetComputerName
330NetpGetConfigBool
331NetpGetConfigDword
332NetpGetConfigTStrArray
333NetpGetConfigValue
334NetpGetDomainName
335NetpGetFileSecurity
336NetpGetPrivilege
337NetpHexDump
338NetpInitFtinfoContext
339NetpInitOemString
340NetpIsRemote
341NetpIsUncComputerNameValid
342NetpLocalTimeZoneOffset
343NetpLogonPutUnicodeString
344NetpMergeFtinfo
345NetpNetBiosAddName
346NetpNetBiosCall
347NetpNetBiosDelName
348NetpNetBiosGetAdapterNumbers
349NetpNetBiosHangup
350NetpNetBiosReceive
351NetpNetBiosReset
352NetpNetBiosSend
353NetpNetBiosStatusToApiStatus
354NetpNtStatusToApiStatus
355NetpOpenConfigData
356NetpPackString
357NetpParmsQueryUserProperty
358NetpParmsQueryUserPropertyWithLength
359NetpParmsSetUserProperty
360NetpParmsSetUserPropertyWithLength
361NetpParmsUserPropertyFree
362NetpReleasePrivilege
363NetpSetFileSecurity
364NetpSmbCheck
365NetpStoreIntialDcRecord
366NetpStringToNetBiosName
367NetpTStrArrayEntryCount
368NetpUpgradePreNT5JoinInfo
369NetpwNameCanonicalize
370NetpwNameCompare
371NetpwNameValidate
372NetpwPathCanonicalize
373NetpwPathCompare
374NetpwPathType
375NlBindingAddServerToCache
376NlBindingRemoveServerFromCache
377NlBindingSetAuthInfo
378RxNetAccessAdd
379RxNetAccessDel
380RxNetAccessEnum
381RxNetAccessGetInfo
382RxNetAccessGetUserPerms
383RxNetAccessSetInfo
384RxNetServerEnum
385RxNetUserPasswordSet
386RxRemoteApi
lib/libc/mingw/lib-common/rpcns4.def created+71
......@@ -0,0 +1,71 @@
1;
2; Exports of file RPCNS4.dll
3;
4; Autogenerated by gen_exportdef
5; Written by Kai Tietz, 2007
6;
7LIBRARY RPCNS4.dll
8EXPORTS
9I_GetDefaultEntrySyntax
10I_RpcNsGetBuffer
11I_RpcNsNegotiateTransferSyntax
12I_RpcNsRaiseException
13I_RpcNsSendReceive
14I_RpcReBindBuffer
15RpcIfIdVectorFree
16RpcNsBindingExportA
17RpcNsBindingExportPnPA
18RpcNsBindingExportPnPW
19RpcNsBindingExportW
20RpcNsBindingImportBeginA
21RpcNsBindingImportBeginW
22RpcNsBindingImportDone
23RpcNsBindingImportNext
24RpcNsBindingLookupBeginA
25RpcNsBindingLookupBeginW
26RpcNsBindingLookupDone
27RpcNsBindingLookupNext
28RpcNsBindingSelect
29RpcNsBindingUnexportA
30RpcNsBindingUnexportPnPA
31RpcNsBindingUnexportPnPW
32RpcNsBindingUnexportW
33RpcNsEntryExpandNameA
34RpcNsEntryExpandNameW
35RpcNsEntryObjectInqBeginA
36RpcNsEntryObjectInqBeginW
37RpcNsEntryObjectInqDone
38RpcNsEntryObjectInqNext
39RpcNsGroupDeleteA
40RpcNsGroupDeleteW
41RpcNsGroupMbrAddA
42RpcNsGroupMbrAddW
43RpcNsGroupMbrInqBeginA
44RpcNsGroupMbrInqBeginW
45RpcNsGroupMbrInqDone
46RpcNsGroupMbrInqNextA
47RpcNsGroupMbrInqNextW
48RpcNsGroupMbrRemoveA
49RpcNsGroupMbrRemoveW
50RpcNsMgmtBindingUnexportA
51RpcNsMgmtBindingUnexportW
52RpcNsMgmtEntryCreateA
53RpcNsMgmtEntryCreateW
54RpcNsMgmtEntryDeleteA
55RpcNsMgmtEntryDeleteW
56RpcNsMgmtEntryInqIfIdsA
57RpcNsMgmtEntryInqIfIdsW
58RpcNsMgmtHandleSetExpAge
59RpcNsMgmtInqExpAge
60RpcNsMgmtSetExpAge
61RpcNsProfileDeleteA
62RpcNsProfileDeleteW
63RpcNsProfileEltAddA
64RpcNsProfileEltAddW
65RpcNsProfileEltInqBeginA
66RpcNsProfileEltInqBeginW
67RpcNsProfileEltInqDone
68RpcNsProfileEltInqNextA
69RpcNsProfileEltInqNextW
70RpcNsProfileEltRemoveA
71RpcNsProfileEltRemoveW
lib/libc/mingw/lib-common/rpcrt4.def created+577
......@@ -0,0 +1,577 @@
1LIBRARY "RPCRT4.dll"
2EXPORTS
3CreateProxyFromTypeInfo
4CreateStubFromTypeInfo
5I_RpcFixTransferSyntax
6I_RpcBindingInqCurrentModifiedId
7I_RpcFwThisIsTheManager
8I_RpcInitFwImports
9I_RpcInitHttpImports
10I_RpcInitImports
11I_RpcInitNdrImports
12I_RpcMgmtQueryDedicatedThreadPool
13I_RpcOpenClientProcess
14I_RpcOpenClientThread
15I_RpcServerTurnOnOffKeepalives
16I_RpcVerifierCorruptionExpected
17NdrFullPointerFree
18NdrFullPointerInsertRefId
19NdrFullPointerQueryPointer
20NdrFullPointerQueryRefId
21NdrGetBaseInterfaceFromStub
22NdrpClientCall2
23RpcCertMatchPrincipalName
24pfnFreeRoutines DATA
25pfnMarshallRoutines DATA
26pfnSizeRoutines DATA
27pfnUnmarshallRoutines DATA
28CStdStubBuffer_AddRef
29CStdStubBuffer_Connect
30CStdStubBuffer_CountRefs
31CStdStubBuffer_DebugServerQueryInterface
32CStdStubBuffer_DebugServerRelease
33CStdStubBuffer_Disconnect
34CStdStubBuffer_Invoke
35CStdStubBuffer_IsIIDSupported
36CStdStubBuffer_QueryInterface
37CreateProxyFromTypeInfo
38CreateStubFromTypeInfo
39DceErrorInqTextA
40DceErrorInqTextW
41DllGetClassObject
42DllInstall
43DllRegisterServer
44GlobalMutexClearExternal
45GlobalMutexRequestExternal
46IUnknown_AddRef_Proxy
47IUnknown_QueryInterface_Proxy
48IUnknown_Release_Proxy
49I_RpcAbortAsyncCall
50I_RpcAllocate
51I_RpcAsyncAbortCall
52I_RpcAsyncSetHandle
53I_RpcBCacheAllocate
54I_RpcBCacheFree
55I_RpcBindingCopy
56I_RpcBindingCreateNP
57I_RpcBindingHandleToAsyncHandle
58I_RpcBindingInqClientTokenAttributes
59I_RpcBindingInqConnId
60I_RpcBindingInqDynamicEndpoint
61I_RpcBindingInqDynamicEndpointA
62I_RpcBindingInqDynamicEndpointW
63I_RpcBindingInqLocalClientPID
64I_RpcBindingInqMarshalledTargetInfo
65I_RpcBindingInqSecurityContext
66I_RpcBindingInqSecurityContextKeyInfo
67I_RpcBindingInqTransportType
68I_RpcBindingInqWireIdForSnego
69I_RpcBindingIsClientLocal
70I_RpcBindingIsServerLocal
71I_RpcBindingSetPrivateOption
72I_RpcBindingToStaticStringBindingW
73I_RpcCertProcessAndProvision
74I_RpcClearMutex
75I_RpcCompleteAndFree
76I_RpcConnectionInqSockBuffSize
77I_RpcConnectionSetSockBuffSize
78I_RpcCompleteAndFree
79I_RpcDeleteMutex
80I_RpcEnableWmiTrace
81I_RpcExceptionFilter
82I_RpcFilterDCOMActivation
83I_RpcFree
84I_RpcFreeBuffer
85I_RpcFreePipeBuffer
86I_RpcGetBuffer
87I_RpcGetBufferWithObject
88I_RpcGetCurrentCallHandle
89I_RpcGetDefaultSD
90I_RpcGetExtendedError
91I_RpcGetPortAllocationData
92I_RpcIfInqTransferSyntaxes
93I_RpcLogEvent
94I_RpcMapWin32Status
95I_RpcMarshalBindingHandleAndInterfaceForNDF
96I_RpcMgmtEnableDedicatedThreadPool
97I_RpcNDRCGetWireRepresentation
98I_RpcNDRSContextEmergencyCleanup
99I_RpcNegotiateTransferSyntax
100I_RpcNsBindingSetEntryName
101I_RpcNsBindingSetEntryNameA
102I_RpcNsBindingSetEntryNameW
103I_RpcNsInterfaceExported
104I_RpcNsInterfaceUnexported
105I_RpcOpenClientProcess
106I_RpcParseSecurity
107I_RpcPauseExecution
108I_RpcProxyNewConnection
109I_RpcReallocPipeBuffer
110I_RpcReceive
111I_RpcRecordCalloutFailure
112I_RpcReplyToClientWithStatus
113I_RpcRequestMutex
114I_RpcSNCHOption
115I_RpcSend
116I_RpcSendReceive
117I_RpcServerAllocateIpPort
118I_RpcServerCheckClientRestriction
119I_RpcServerDisableExceptionFilter
120I_RpcServerGetAssociationID
121I_RpcServerInqAddressChangeFn
122I_RpcServerInqLocalConnAddress
123I_RpcServerInqRemoteConnAddress
124I_RpcServerInqTransportType
125I_RpcServerIsClientDisconnected
126I_RpcServerRegisterForwardFunction
127I_RpcServerSetAddressChangeFn
128I_RpcServerStartService
129I_RpcServerSubscribeForDisconnectNotification
130I_RpcServerUseProtseq2A
131I_RpcServerUseProtseq2W
132I_RpcServerUseProtseqEp2A
133I_RpcServerUseProtseqEp2W
134I_RpcSessionStrictContextHandle
135I_RpcSetAsyncHandle
136I_RpcSetDCOMAppId
137I_RpcSsDontSerializeContext
138I_RpcSystemFunction001
139I_RpcTransConnectionAllocatePacket
140I_RpcTransConnectionFreePacket
141I_RpcTransConnectionReallocPacket
142I_RpcTransDatagramAllocate
143I_RpcTransDatagramAllocate2
144I_RpcTransDatagramFree
145I_RpcTransGetThreadEvent
146I_RpcTransGetThreadEventThreadOptional
147I_RpcTransIoCancelled
148I_RpcTransServerNewConnection
149I_RpcTurnOnEEInfoPropagation
150I_UuidCreate
151MesBufferHandleReset
152MesDecodeBufferHandleCreate
153MesDecodeIncrementalHandleCreate
154MesEncodeDynBufferHandleCreate
155MesEncodeFixedBufferHandleCreate
156MesEncodeIncrementalHandleCreate
157MesHandleFree
158MesIncrementalHandleReset
159MesInqProcEncodingId
160NDRCContextBinding
161NDRCContextMarshall
162NDRCContextUnmarshall
163NDRSContextMarshall
164NDRSContextMarshall2
165NDRSContextMarshallEx
166NDRSContextUnmarshall
167NDRSContextUnmarshall2
168NDRSContextUnmarshallEx
169Ndr64AsyncClientCall
170Ndr64AsyncServerCall64
171Ndr64AsyncServerCallAll
172Ndr64DcomAsyncClientCall
173Ndr64DcomAsyncStubCall
174NdrAllocate
175NdrAsyncClientCall
176NdrAsyncServerCall
177NdrByteCountPointerBufferSize
178NdrByteCountPointerFree
179NdrByteCountPointerMarshall
180NdrByteCountPointerUnmarshall
181NdrCStdStubBuffer2_Release
182NdrCStdStubBuffer_Release
183NdrClearOutParameters
184NdrClientCall2
185NdrClientCall3
186NdrClientContextMarshall
187NdrClientContextUnmarshall
188NdrClientInitialize
189NdrClientInitializeNew
190NdrComplexArrayBufferSize
191NdrComplexArrayFree
192NdrComplexArrayMarshall
193NdrComplexArrayMemorySize
194NdrComplexArrayUnmarshall
195NdrComplexStructBufferSize
196NdrComplexStructFree
197NdrComplexStructMarshall
198NdrComplexStructMemorySize
199NdrComplexStructUnmarshall
200NdrConformantArrayBufferSize
201NdrConformantArrayFree
202NdrConformantArrayMarshall
203NdrConformantArrayMemorySize
204NdrConformantArrayUnmarshall
205NdrConformantStringBufferSize
206NdrConformantStringMarshall
207NdrConformantStringMemorySize
208NdrConformantStringUnmarshall
209NdrConformantStructBufferSize
210NdrConformantStructFree
211NdrConformantStructMarshall
212NdrConformantStructMemorySize
213NdrConformantStructUnmarshall
214NdrConformantVaryingArrayBufferSize
215NdrConformantVaryingArrayFree
216NdrConformantVaryingArrayMarshall
217NdrConformantVaryingArrayMemorySize
218NdrConformantVaryingArrayUnmarshall
219NdrConformantVaryingStructBufferSize
220NdrConformantVaryingStructFree
221NdrConformantVaryingStructMarshall
222NdrConformantVaryingStructMemorySize
223NdrConformantVaryingStructUnmarshall
224NdrContextHandleInitialize
225NdrContextHandleSize
226NdrConvert
227NdrConvert2
228NdrCorrelationFree
229NdrCorrelationInitialize
230NdrCorrelationPass
231NdrCreateServerInterfaceFromStub
232NdrDcomAsyncClientCall
233NdrDcomAsyncStubCall
234NdrDllCanUnloadNow
235NdrDllGetClassObject
236NdrDllRegisterProxy
237NdrDllUnregisterProxy
238NdrEncapsulatedUnionBufferSize
239NdrEncapsulatedUnionFree
240NdrEncapsulatedUnionMarshall
241NdrEncapsulatedUnionMemorySize
242NdrEncapsulatedUnionUnmarshall
243NdrFixedArrayBufferSize
244NdrFixedArrayFree
245NdrFixedArrayMarshall
246NdrFixedArrayMemorySize
247NdrFixedArrayUnmarshall
248NdrFreeBuffer
249NdrFullPointerFree
250NdrFullPointerInsertRefId
251NdrFullPointerQueryPointer
252NdrFullPointerQueryRefId
253NdrFullPointerXlatFree
254NdrFullPointerXlatInit
255NdrGetBaseInterfaceFromStub
256NdrGetBuffer
257NdrGetDcomProtocolVersion
258NdrGetSimpleTypeBufferAlignment
259NdrGetSimpleTypeBufferSize
260NdrGetSimpleTypeMemorySize
261NdrGetTypeFlags
262NdrGetUserMarshalInfo
263NdrInterfacePointerBufferSize
264NdrInterfacePointerFree
265NdrInterfacePointerMarshall
266NdrInterfacePointerMemorySize
267NdrInterfacePointerUnmarshall
268NdrMapCommAndFaultStatus
269NdrMesProcEncodeDecode
270NdrMesProcEncodeDecode2
271NdrMesProcEncodeDecode3
272NdrMesSimpleTypeAlignSize
273NdrMesSimpleTypeAlignSizeAll
274NdrMesSimpleTypeDecode
275NdrMesSimpleTypeDecodeAll
276NdrMesSimpleTypeEncode
277NdrMesSimpleTypeEncodeAll
278NdrMesTypeAlignSize
279NdrMesTypeAlignSize2
280NdrMesTypeAlignSize3
281NdrMesTypeDecode
282NdrMesTypeDecode2
283NdrMesTypeDecode3
284NdrMesTypeEncode
285NdrMesTypeEncode2
286NdrMesTypeEncode3
287NdrMesTypeFree2
288NdrMesTypeFree3
289NdrNonConformantStringBufferSize
290NdrNonConformantStringMarshall
291NdrNonConformantStringMemorySize
292NdrNonConformantStringUnmarshall
293NdrNonEncapsulatedUnionBufferSize
294NdrNonEncapsulatedUnionFree
295NdrNonEncapsulatedUnionMarshall
296NdrNonEncapsulatedUnionMemorySize
297NdrNonEncapsulatedUnionUnmarshall
298NdrNsGetBuffer
299NdrNsSendReceive
300NdrOleAllocate
301NdrOleFree
302NdrOutInit
303NdrPartialIgnoreClientBufferSize
304NdrPartialIgnoreClientMarshall
305NdrPartialIgnoreServerInitialize
306NdrPartialIgnoreServerUnmarshall
307NdrPointerBufferSize
308NdrPointerFree
309NdrPointerMarshall
310NdrPointerMemorySize
311NdrPointerUnmarshall
312NdrProxyErrorHandler
313NdrProxyFreeBuffer
314NdrProxyGetBuffer
315NdrProxyInitialize
316NdrProxySendReceive
317NdrRangeUnmarshall
318NdrRpcSmClientAllocate
319NdrRpcSmClientFree
320NdrRpcSmSetClientToOsf
321NdrRpcSsDefaultAllocate
322NdrRpcSsDefaultFree
323NdrRpcSsDisableAllocate
324NdrRpcSsEnableAllocate
325NdrSendReceive
326NdrServerCall2
327NdrServerCallAll
328NdrServerCallNdr64
329NdrServerContextMarshall
330NdrServerContextNewMarshall
331NdrServerContextNewUnmarshall
332NdrServerContextUnmarshall
333NdrServerInitialize
334NdrServerInitializeMarshall
335NdrServerInitializeNew
336NdrServerInitializePartial
337NdrServerInitializeUnmarshall
338NdrSimpleStructBufferSize
339NdrSimpleStructFree
340NdrSimpleStructMarshall
341NdrSimpleStructMemorySize
342NdrSimpleStructUnmarshall
343NdrSimpleTypeMarshall
344NdrSimpleTypeUnmarshall
345NdrStubCall2
346NdrStubCall3
347NdrStubForwardingFunction
348NdrStubGetBuffer
349NdrStubInitialize
350NdrStubInitializeMarshall
351NdrTypeFlags DATA
352NdrTypeFree
353NdrTypeMarshall
354NdrTypeSize
355NdrTypeUnmarshall
356NdrUnmarshallBasetypeInline
357NdrUserMarshalBufferSize
358NdrUserMarshalFree
359NdrUserMarshalMarshall
360NdrUserMarshalMemorySize
361NdrUserMarshalSimpleTypeConvert
362NdrUserMarshalUnmarshall
363NdrVaryingArrayBufferSize
364NdrVaryingArrayFree
365NdrVaryingArrayMarshall
366NdrVaryingArrayMemorySize
367NdrVaryingArrayUnmarshall
368NdrXmitOrRepAsBufferSize
369NdrXmitOrRepAsFree
370NdrXmitOrRepAsMarshall
371NdrXmitOrRepAsMemorySize
372NdrXmitOrRepAsUnmarshall
373NdrpCreateProxy
374NdrpCreateStub
375NdrpGetProcFormatString
376NdrpGetTypeFormatString
377NdrpGetTypeGenCookie
378NdrpMemoryIncrement
379NdrpReleaseTypeFormatString
380NdrpReleaseTypeGenCookie
381NdrpSetRpcSsDefaults
382NdrpVarVtOfTypeDesc
383RpcAbortAsyncCall
384RpcAsyncAbortCall
385RpcAsyncCancelCall
386RpcAsyncCompleteCall
387RpcAsyncGetCallStatus
388RpcAsyncInitializeHandle
389RpcAsyncRegisterInfo
390RpcBindingBind
391RpcBindingCopy
392RpcBindingCreateA
393RpcBindingCreateW
394RpcBindingFree
395RpcBindingFromStringBindingA
396RpcBindingFromStringBindingW
397RpcBindingInqAuthClientA
398RpcBindingInqAuthClientExA
399RpcBindingInqAuthClientExW
400RpcBindingInqAuthClientW
401RpcBindingInqAuthInfoA
402RpcBindingInqAuthInfoExA
403RpcBindingInqAuthInfoExW
404RpcBindingInqAuthInfoW
405RpcBindingInqObject
406RpcBindingInqOption
407RpcBindingReset
408RpcBindingServerFromClient
409RpcBindingSetAuthInfoA
410RpcBindingSetAuthInfoExA
411RpcBindingSetAuthInfoExW
412RpcBindingSetAuthInfoW
413RpcBindingSetObject
414RpcBindingSetOption
415RpcBindingToStringBindingA
416RpcBindingToStringBindingW
417RpcBindingUnbind
418RpcBindingVectorFree
419RpcCancelAsyncCall
420RpcCancelThread
421RpcCancelThreadEx
422RpcCertGeneratePrincipalNameA
423RpcCertGeneratePrincipalNameW
424RpcCompleteAsyncCall
425RpcEpRegisterA
426RpcEpRegisterNoReplaceA
427RpcEpRegisterNoReplaceW
428RpcEpRegisterW
429RpcEpResolveBinding
430RpcEpUnregister
431RpcErrorAddRecord
432RpcErrorClearInformation
433RpcErrorEndEnumeration
434RpcErrorGetNextRecord
435RpcErrorGetNumberOfRecords
436RpcErrorLoadErrorInfo
437RpcErrorResetEnumeration
438RpcErrorSaveErrorInfo
439RpcErrorStartEnumeration
440RpcExceptionFilter
441RpcFreeAuthorizationContext
442RpcGetAsyncCallStatus
443RpcGetAuthorizationContextForClient
444RpcIfIdVectorFree
445RpcIfInqId
446RpcImpersonateClient
447RpcImpersonateClient2
448RpcInitializeAsyncHandle
449RpcMgmtEnableIdleCleanup
450RpcMgmtEpEltInqBegin
451RpcMgmtEpEltInqDone
452RpcMgmtEpEltInqNextA
453RpcMgmtEpEltInqNextW
454RpcMgmtEpUnregister
455RpcMgmtInqComTimeout
456RpcMgmtInqDefaultProtectLevel
457RpcMgmtInqIfIds
458RpcMgmtInqServerPrincNameA
459RpcMgmtInqServerPrincNameW
460RpcMgmtInqStats
461RpcMgmtIsServerListening
462RpcMgmtSetAuthorizationFn
463RpcMgmtSetCancelTimeout
464RpcMgmtSetComTimeout
465RpcMgmtSetServerStackSize
466RpcMgmtStatsVectorFree
467RpcMgmtStopServerListening
468RpcMgmtWaitServerListen
469RpcNetworkInqProtseqsA
470RpcNetworkInqProtseqsW
471RpcNetworkIsProtseqValidA
472RpcNetworkIsProtseqValidW
473RpcNsBindingInqEntryNameA
474RpcNsBindingInqEntryNameW
475RpcObjectInqType
476RpcObjectSetInqFn
477RpcObjectSetType
478RpcProtseqVectorFreeA
479RpcProtseqVectorFreeW
480RpcRaiseException
481RpcRegisterAsyncInfo
482RpcRevertToSelf
483RpcRevertToSelfEx
484RpcServerCompleteSecurityCallback
485RpcServerInqBindingHandle
486RpcServerInqBindings
487RpcServerInqCallAttributesA
488RpcServerInqCallAttributesW
489RpcServerInqDefaultPrincNameA
490RpcServerInqDefaultPrincNameW
491RpcServerInqIf
492RpcServerInterfaceGroupActivate
493RpcServerInterfaceGroupClose
494RpcServerInterfaceGroupCreateA
495RpcServerInterfaceGroupCreateW
496RpcServerInterfaceGroupDeactivate
497RpcServerInterfaceGroupInqBindings
498RpcServerListen
499RpcServerRegisterAuthInfoA
500RpcServerRegisterAuthInfoW
501RpcServerRegisterIf
502RpcServerRegisterIf2
503RpcServerRegisterIf3
504RpcServerRegisterIfEx
505RpcServerSubscribeForNotification
506RpcServerTestCancel
507RpcServerUnregisterIf
508RpcServerUnregisterIfEx
509RpcServerUnsubscribeForNotification
510RpcServerUseAllProtseqs
511RpcServerUseAllProtseqsEx
512RpcServerUseAllProtseqsIf
513RpcServerUseAllProtseqsIfEx
514RpcServerUseProtseqA
515RpcServerUseProtseqEpA
516RpcServerUseProtseqEpExA
517RpcServerUseProtseqEpExW
518RpcServerUseProtseqEpW
519RpcServerUseProtseqExA
520RpcServerUseProtseqExW
521RpcServerUseProtseqIfA
522RpcServerUseProtseqIfExA
523RpcServerUseProtseqIfExW
524RpcServerUseProtseqIfW
525RpcServerUseProtseqW
526RpcServerYield
527RpcSmAllocate
528RpcSmClientFree
529RpcSmDestroyClientContext
530RpcSmDisableAllocate
531RpcSmEnableAllocate
532RpcSmFree
533RpcSmGetThreadHandle
534RpcSmSetClientAllocFree
535RpcSmSetThreadHandle
536RpcSmSwapClientAllocFree
537RpcSsAllocate
538RpcSsContextLockExclusive
539RpcSsContextLockShared
540RpcSsDestroyClientContext
541RpcSsDisableAllocate
542RpcSsDontSerializeContext
543RpcSsEnableAllocate
544RpcSsFree
545RpcSsGetContextBinding
546RpcSsGetThreadHandle
547RpcSsSetClientAllocFree
548RpcSsSetThreadHandle
549RpcSsSwapClientAllocFree
550RpcStringBindingComposeA
551RpcStringBindingComposeW
552RpcStringBindingParseA
553RpcStringBindingParseW
554RpcStringFreeA
555RpcStringFreeW
556RpcTestCancel
557RpcUserFree
558SimpleTypeAlignment DATA
559SimpleTypeBufferSize DATA
560SimpleTypeMemorySize DATA
561TowerConstruct
562TowerExplode
563UuidCompare
564UuidCreate
565UuidCreateNil
566UuidCreateSequential
567UuidEqual
568UuidFromStringA
569UuidFromStringW
570UuidHash
571UuidIsNil
572UuidToStringA
573UuidToStringW
574pfnFreeRoutines DATA
575pfnMarshallRoutines DATA
576pfnSizeRoutines DATA
577pfnUnmarshallRoutines DATA
lib/libc/mingw/lib-common/scarddlg.def created+15
......@@ -0,0 +1,15 @@
1;
2; Exports of file SCARDDLG.dll
3;
4; Autogenerated by gen_exportdef
5; Written by Kai Tietz, 2007
6;
7LIBRARY SCARDDLG.dll
8EXPORTS
9GetOpenCardNameA
10GetOpenCardNameW
11SCardDlgExtendedError
12SCardUIDlgSelectCardA
13SCardUIDlgSelectCardW
14SCardUIDlgGetPINA
15SCardUIDlgChangePINA
lib/libc/mingw/lib-common/winscard.def created+84
......@@ -0,0 +1,84 @@
1;
2; Definition file of WinSCard.dll
3; Automatic generated by gendef
4; written by Kai Tietz 2008-2014
5;
6LIBRARY "WinSCard.dll"
7EXPORTS
8ClassInstall32
9SCardAccessNewReaderEvent
10SCardReleaseAllEvents
11SCardReleaseNewReaderEvent
12SCardAccessStartedEvent
13SCardAddReaderToGroupA
14SCardAddReaderToGroupW
15SCardAudit
16SCardBeginTransaction
17SCardCancel
18SCardConnectA
19SCardConnectW
20SCardControl
21SCardDisconnect
22SCardEndTransaction
23SCardEstablishContext
24SCardForgetCardTypeA
25SCardForgetCardTypeW
26SCardForgetReaderA
27SCardForgetReaderGroupA
28SCardForgetReaderGroupW
29SCardForgetReaderW
30SCardFreeMemory
31SCardGetAttrib
32SCardGetCardTypeProviderNameA
33SCardGetCardTypeProviderNameW
34SCardGetDeviceTypeIdA
35SCardGetDeviceTypeIdW
36SCardGetProviderIdA
37SCardGetProviderIdW
38SCardGetReaderDeviceInstanceIdA
39SCardGetReaderDeviceInstanceIdW
40SCardGetReaderIconA
41SCardGetReaderIconW
42SCardGetStatusChangeA
43SCardGetStatusChangeW
44SCardGetTransmitCount
45SCardIntroduceCardTypeA
46SCardIntroduceCardTypeW
47SCardIntroduceReaderA
48SCardIntroduceReaderGroupA
49SCardIntroduceReaderGroupW
50SCardIntroduceReaderW
51SCardIsValidContext
52SCardListCardsA
53SCardListCardsW
54SCardListInterfacesA
55SCardListInterfacesW
56SCardListReaderGroupsA
57SCardListReaderGroupsW
58SCardListReadersA
59SCardListReadersW
60SCardListReadersWithDeviceInstanceIdA
61SCardListReadersWithDeviceInstanceIdW
62SCardLocateCardsA
63SCardLocateCardsByATRA
64SCardLocateCardsByATRW
65SCardLocateCardsW
66SCardReadCacheA
67SCardReadCacheW
68SCardReconnect
69SCardReleaseContext
70SCardReleaseStartedEvent
71SCardRemoveReaderFromGroupA
72SCardRemoveReaderFromGroupW
73SCardSetAttrib
74SCardSetCardTypeProviderNameA
75SCardSetCardTypeProviderNameW
76SCardState
77SCardStatusA
78SCardStatusW
79SCardTransmit
80SCardWriteCacheA
81SCardWriteCacheW
82g_rgSCardRawPci DATA
83g_rgSCardT0Pci DATA
84g_rgSCardT1Pci DATA
lib/libc/mingw/lib-common/winspool.def created+212
......@@ -0,0 +1,212 @@
1;
2; Definition file of WINSPOOL.DRV
3; Automatic generated by gendef
4; written by Kai Tietz 2008
5;
6LIBRARY "WINSPOOL.DRV"
7EXPORTS
8ADVANCEDSETUPDIALOG
9AdvancedSetupDialog
10ConvertAnsiDevModeToUnicodeDevmode
11ConvertUnicodeDevModeToAnsiDevmode
12DEVICEMODE
13DeviceMode
14DocumentEvent
15PerfClose
16PerfCollect
17PerfOpen
18QueryColorProfile
19QueryRemoteFonts
20QuerySpoolMode
21SpoolerDevQueryPrintW
22StartDocDlgW
23AbortPrinter
24AddFormA
25AddFormW
26AddJobA
27AddJobW
28AddMonitorA
29AddMonitorW
30AddPortA
31AddPortExA
32AddPortExW
33AddPortW
34AddPrintProcessorA
35AddPrintProcessorW
36AddPrintProvidorA
37AddPrintProvidorW
38AddPrinterA
39AddPrinterConnection2A
40AddPrinterConnection2W
41AddPrinterConnectionA
42AddPrinterConnectionW
43AddPrinterDriverA
44AddPrinterDriverExA
45AddPrinterDriverExW
46AddPrinterDriverW
47AddPrinterW
48AdvancedDocumentPropertiesA
49AdvancedDocumentPropertiesW
50ClosePrinter
51CloseSpoolFileHandle
52CommitSpoolData
53ConfigurePortA
54ConfigurePortW
55ConnectToPrinterDlg
56CorePrinterDriverInstalledA
57CorePrinterDriverInstalledW
58CreatePrintAsyncNotifyChannel
59CreatePrinterIC
60DEVICECAPABILITIES
61DeleteFormA
62DeleteFormW
63DeleteJobNamedProperty
64DeleteMonitorA
65DeleteMonitorW
66DeletePortA
67DeletePortW
68DeletePrintProcessorA
69DeletePrintProcessorW
70DeletePrintProvidorA
71DeletePrintProvidorW
72DeletePrinter
73DeletePrinterConnectionA
74DeletePrinterConnectionW
75DeletePrinterDataA
76DeletePrinterDataExA
77DeletePrinterDataExW
78DeletePrinterDataW
79DeletePrinterDriverA
80DeletePrinterDriverExA
81DeletePrinterDriverExW
82DeletePrinterDriverPackageA
83DeletePrinterDriverPackageW
84DeletePrinterDriverW
85DeletePrinterIC
86DeletePrinterKeyA
87DeletePrinterKeyW
88DevQueryPrint
89DevQueryPrintEx
90DeviceCapabilities
91DeviceCapabilitiesA
92DeviceCapabilitiesW
93DevicePropertySheets
94DocumentEvent
95DocumentPropertiesA
96DocumentPropertiesW
97DocumentPropertySheets
98EXTDEVICEMODE
99EndDocPrinter
100EndPagePrinter
101EnumFormsA
102EnumFormsW
103EnumJobNamedProperties
104EnumJobsA
105EnumJobsW
106EnumMonitorsA
107EnumMonitorsW
108EnumPortsA
109GetDefaultPrinterA
110SetDefaultPrinterA
111GetDefaultPrinterW
112SetDefaultPrinterW
113EnumPortsW
114EnumPrintProcessorDatatypesA
115EnumPrintProcessorDatatypesW
116EnumPrintProcessorsA
117EnumPrintProcessorsW
118EnumPrinterDataA
119EnumPrinterDataExA
120EnumPrinterDataExW
121EnumPrinterDataW
122EnumPrinterDriversA
123EnumPrinterDriversW
124EnumPrinterKeyA
125EnumPrinterKeyW
126EnumPrintersA
127EnumPrintersW
128ExtDeviceMode
129FindClosePrinterChangeNotification
130FindFirstPrinterChangeNotification
131FindNextPrinterChangeNotification
132FlushPrinter
133FreePrintNamedPropertyArray
134FreePrintPropertyValue
135FreePrinterNotifyInfo
136GetCorePrinterDriversA
137GetCorePrinterDriversW
138GetFormA
139GetFormW
140GetJobA
141GetJobNamedPropertyValue
142GetJobW
143GetPrintExecutionData
144GetPrintOutputInfo
145GetPrintProcessorDirectoryA
146GetPrintProcessorDirectoryW
147GetPrinterA
148GetPrinterDataA
149GetPrinterDataExA
150GetPrinterDataExW
151GetPrinterDataW
152GetPrinterDriver2A
153GetPrinterDriver2W
154GetPrinterDriverA
155GetPrinterDriverDirectoryA
156GetPrinterDriverDirectoryW
157GetPrinterDriverPackagePathA
158GetPrinterDriverPackagePathW
159GetPrinterDriverW
160GetPrinterW
161GetSpoolFileHandle
162InstallPrinterDriverFromPackageA
163InstallPrinterDriverFromPackageW
164IsValidDevmodeA
165IsValidDevmodeW
166OpenPrinter2A
167OpenPrinter2W
168OpenPrinterA
169OpenPrinterW
170PlayGdiScriptOnPrinterIC
171PrinterMessageBoxA
172PrinterMessageBoxW
173PrinterProperties
174QueryColorProfile
175QueryRemoteFonts
176QuerySpoolMode
177ReadPrinter
178RegisterForPrintAsyncNotifications
179ReportJobProcessingProgress
180ResetPrinterA
181ResetPrinterW
182ScheduleJob
183SeekPrinter
184SetAllocFailCount
185SetFormA
186SetFormW
187SetJobA
188SetJobNamedProperty
189SetJobW
190SetPortA
191SetPortW
192SetPrinterA
193SetPrinterDataA
194SetPrinterDataExA
195SetPrinterDataExW
196SetPrinterDataW
197SetPrinterW
198SplDriverUnloadComplete
199SpoolerDevQueryPrintW
200SpoolerInit
201SpoolerPrinterEvent
202StartDocDlgA
203StartDocDlgW
204StartDocPrinterA
205StartDocPrinterW
206StartPagePrinter
207UnRegisterForPrintAsyncNotifications
208UploadPrinterDriverPackageA
209UploadPrinterDriverPackageW
210WaitForPrinterChange
211WritePrinter
212XcvDataW
lib/libc/mingw/lib-common/ws2_32.def.in created+200
......@@ -0,0 +1,200 @@
1#include "func.def.in"
2
3LIBRARY "WS2_32.dll"
4EXPORTS
5accept
6bind
7closesocket
8connect
9getpeername
10getsockname
11getsockopt
12htonl
13htons
14ioctlsocket
15inet_addr
16inet_ntoa
17listen
18ntohl
19ntohs
20recv
21recvfrom
22select
23send
24sendto
25setsockopt
26shutdown
27socket
28WSApSetPostRoutine
29FreeAddrInfoEx
30FreeAddrInfoExW
31FreeAddrInfoW
32GetAddrInfoExA
33GetAddrInfoExCancel
34GetAddrInfoExOverlappedResult
35GetAddrInfoExW
36GetAddrInfoW
37GetHostNameW
38GetNameInfoW
39InetNtopW
40InetPtonW
41SetAddrInfoExA
42SetAddrInfoExW
43WPUCompleteOverlappedRequest
44WPUGetProviderPathEx
45WSAAccept
46WSAAddressToStringA
47WSAAddressToStringW
48WSAAdvertiseProvider
49WSACloseEvent
50WSAConnect
51WSAConnectByList
52WSAConnectByNameA
53WSAConnectByNameW
54WSACreateEvent
55gethostbyaddr
56gethostbyname
57getprotobyname
58getprotobynumber
59getservbyname
60getservbyport
61gethostname
62WSADuplicateSocketA
63WSADuplicateSocketW
64WSAEnumNameSpaceProvidersA
65WSAEnumNameSpaceProvidersExA
66WSAEnumNameSpaceProvidersExW
67WSAEnumNameSpaceProvidersW
68WSAEnumNetworkEvents
69WSAEnumProtocolsA
70WSAEnumProtocolsW
71WSAEventSelect
72WSAGetOverlappedResult
73WSAGetQOSByName
74WSAGetServiceClassInfoA
75WSAGetServiceClassInfoW
76WSAGetServiceClassNameByClassIdA
77WSAGetServiceClassNameByClassIdW
78WSAHtonl
79WSAHtons
80WSAInstallServiceClassA
81WSAInstallServiceClassW
82WSAIoctl
83WSAJoinLeaf
84WSALookupServiceBeginA
85WSALookupServiceBeginW
86WSALookupServiceEnd
87WSALookupServiceNextA
88WSALookupServiceNextW
89WSANSPIoctl
90WSANtohl
91WSANtohs
92WSAPoll
93WSAProviderCompleteAsyncCall
94WSAProviderConfigChange
95WSARecv
96WSARecvDisconnect
97WSARecvFrom
98WSARemoveServiceClass
99WSAResetEvent
100WSASend
101WSASendDisconnect
102WSASendMsg
103WSASendTo
104WSASetEvent
105WSAAsyncSelect
106WSAAsyncGetHostByAddr
107WSAAsyncGetHostByName
108WSAAsyncGetProtoByNumber
109WSAAsyncGetProtoByName
110WSAAsyncGetServByPort
111WSAAsyncGetServByName
112WSACancelAsyncRequest
113WSASetBlockingHook
114WSAUnhookBlockingHook
115WSAGetLastError
116WSASetLastError
117WSACancelBlockingCall
118WSAIsBlocking
119WSAStartup
120WSACleanup
121WSASetServiceA
122WSASetServiceW
123WSASocketA
124WSASocketW
125WSAStringToAddressA
126WSAStringToAddressW
127WSAUnadvertiseProvider
128WSAWaitForMultipleEvents
129WSCDeinstallProvider
130F64(WSCDeinstallProvider32)
131WSCDeinstallProviderEx
132WSCEnableNSProvider
133F64(WSCEnableNSProvider32)
134F64(WSCEnumNameSpaceProviders32)
135F64(WSCEnumNameSpaceProvidersEx32)
136WSCEnumProtocols
137WSCEnumProtocolsEx
138F64(WSCEnumProtocols32)
139WSCGetApplicationCategory
140WSCGetApplicationCategoryEx
141WSCGetProviderInfo
142F64(WSCGetProviderInfo32)
143WSCGetProviderPath
144F64(WSCGetProviderPath32)
145WSCInstallNameSpace
146F64(WSCInstallNameSpace32)
147WSCInstallNameSpaceEx
148WSCInstallNameSpaceEx2
149F64(WSCInstallNameSpaceEx32)
150WSCInstallProvider
151F64(WSCInstallProvider64_32)
152WSCInstallProviderAndChains
153F64(WSCInstallProviderAndChains64_32)
154WSCInstallProviderEx
155WSCSetApplicationCategory
156WSCSetApplicationCategoryEx
157WSCSetProviderInfo
158F64(WSCSetProviderInfo32)
159WSCUnInstallNameSpace
160F64(WSCUnInstallNameSpace32)
161WSCUnInstallNameSpaceEx2
162WSCUpdateProvider
163F64(WSCUpdateProvider32)
164WSCUpdateProviderEx
165WSCWriteNameSpaceOrder
166F64(WSCWriteNameSpaceOrder32)
167WSCWriteProviderOrder
168F64(WSCWriteProviderOrder32)
169WSCWriteProviderOrderEx
170WahCloseApcHelper
171__WSAFDIsSet
172WahCloseHandleHelper
173WahCloseNotificationHandleHelper
174WahCloseSocketHandle
175WahCloseThread
176WahCompleteRequest
177WahCreateHandleContextTable
178WahCreateNotificationHandle
179WahCreateSocketHandle
180WahDestroyHandleContextTable
181WahDisableNonIFSHandleSupport
182WahEnableNonIFSHandleSupport
183WahEnumerateHandleContexts
184WahInsertHandleContext
185WahNotifyAllProcesses
186WahOpenApcHelper
187WahOpenCurrentThread
188WahOpenHandleHelper
189WahOpenNotificationHandleHelper
190WahQueueUserApc
191WahReferenceContextByHandle
192WahRemoveHandleContext
193WahWaitForNotification
194WahWriteLSPEvent
195freeaddrinfo
196getaddrinfo
197getnameinfo
198inet_ntop
199inet_pton
200WEP
lib/libc/mingw/lib32/advapi32.def created+823
......@@ -0,0 +1,823 @@
1;
2; Definition file of ADVAPI32.dll
3; Automatic generated by gendef
4; written by Kai Tietz 2008
5;
6LIBRARY "ADVAPI32.dll"
7EXPORTS
8ord_1000@8 @1000
9I_ScGetCurrentGroupStateW@12
10A_SHAFinal@8
11A_SHAInit@4
12A_SHAUpdate@12
13AbortSystemShutdownA@4
14AbortSystemShutdownW@4
15AccessCheck@32
16AccessCheckAndAuditAlarmA@44
17AccessCheckAndAuditAlarmW@44
18AccessCheckByType@44
19AccessCheckByTypeAndAuditAlarmA@64
20AccessCheckByTypeAndAuditAlarmW@64
21AccessCheckByTypeResultList@44
22AccessCheckByTypeResultListAndAuditAlarmA@64
23AccessCheckByTypeResultListAndAuditAlarmByHandleA@68
24AccessCheckByTypeResultListAndAuditAlarmByHandleW@68
25AccessCheckByTypeResultListAndAuditAlarmW@64
26AddAccessAllowedAce@16
27AddAccessAllowedAceEx@20
28AddAccessAllowedObjectAce@28
29AddAccessDeniedAce@16
30AddAccessDeniedAceEx@20
31AddAccessDeniedObjectAce@28
32AddAce@20
33AddAuditAccessAce@24
34AddAuditAccessAceEx@28
35AddAuditAccessObjectAce@36
36AddConditionalAce@32
37AddMandatoryAce@20
38AddUsersToEncryptedFile@8
39AddUsersToEncryptedFileEx@16
40AdjustTokenGroups@24
41AdjustTokenPrivileges@24
42AllocateAndInitializeSid@44
43AllocateLocallyUniqueId@4
44AreAllAccessesGranted@8
45AreAnyAccessesGranted@8
46AuditComputeEffectivePolicyBySid@16
47AuditComputeEffectivePolicyByToken@16
48AuditEnumerateCategories@8
49AuditEnumeratePerUserPolicy@4
50AuditEnumerateSubCategories@16
51AuditFree@4
52AuditLookupCategoryGuidFromCategoryId@8
53AuditLookupCategoryIdFromCategoryGuid@8
54AuditLookupCategoryNameA@8
55AuditLookupCategoryNameW@8
56AuditLookupSubCategoryNameA@8
57AuditLookupSubCategoryNameW@8
58AuditQueryGlobalSaclA@8
59AuditQueryGlobalSaclW@8
60AuditQueryPerUserPolicy@16
61AuditQuerySecurity@8
62AuditQuerySystemPolicy@12
63AuditSetGlobalSaclA@8
64AuditSetGlobalSaclW@8
65AuditSetPerUserPolicy@12
66AuditSetSecurity@8
67AuditSetSystemPolicy@8
68BackupEventLogA@8
69BackupEventLogW@8
70BuildExplicitAccessWithNameA@20
71BuildExplicitAccessWithNameW@20
72BuildImpersonateExplicitAccessWithNameA@24
73BuildImpersonateExplicitAccessWithNameW@24
74BuildImpersonateTrusteeA@8
75BuildImpersonateTrusteeW@8
76BuildSecurityDescriptorA@36
77BuildSecurityDescriptorW@36
78BuildTrusteeWithNameA@8
79BuildTrusteeWithNameW@8
80BuildTrusteeWithObjectsAndNameA@24
81BuildTrusteeWithObjectsAndNameW@24
82BuildTrusteeWithObjectsAndSidA@20
83BuildTrusteeWithObjectsAndSidW@20
84BuildTrusteeWithSidA@8
85BuildTrusteeWithSidW@8
86CancelOverlappedAccess@4
87ChangeServiceConfig2A@12
88ChangeServiceConfig2W@12
89ChangeServiceConfigA@44
90ChangeServiceConfigW@44
91CheckTokenMembership@12
92ClearEventLogA@8
93ClearEventLogW@8
94CloseCodeAuthzLevel@4
95CloseEncryptedFileRaw@4
96CloseEventLog@4
97CloseServiceHandle@4
98CloseThreadWaitChainSession@4
99CloseTrace@8
100CommandLineFromMsiDescriptor@12
101ComputeAccessTokenFromCodeAuthzLevel@20
102ControlService@12
103ControlServiceExA@16
104ControlServiceExW@16
105ControlTraceA@20
106ControlTraceW@20
107ConvertAccessToSecurityDescriptorA@20
108ConvertAccessToSecurityDescriptorW@20
109ConvertSDToStringSDRootDomainA@24
110ConvertSDToStringSDRootDomainW@24
111ConvertSecurityDescriptorToAccessA@28
112ConvertSecurityDescriptorToAccessNamedA@28
113ConvertSecurityDescriptorToAccessNamedW@28
114ConvertSecurityDescriptorToAccessW@28
115ConvertSecurityDescriptorToStringSecurityDescriptorA@20
116ConvertSecurityDescriptorToStringSecurityDescriptorW@20
117ConvertSidToStringSidA@8
118ConvertSidToStringSidW@8
119ConvertStringSDToSDDomainA@24
120ConvertStringSDToSDDomainW@24
121ConvertStringSDToSDRootDomainA@20
122ConvertStringSDToSDRootDomainW@20
123ConvertStringSecurityDescriptorToSecurityDescriptorA@16
124ConvertStringSecurityDescriptorToSecurityDescriptorW@16
125ConvertStringSidToSidA@8
126ConvertStringSidToSidW@8
127ConvertToAutoInheritPrivateObjectSecurity@24
128CopySid@12
129CreateCodeAuthzLevel@20
130CreatePrivateObjectSecurity@24
131CreatePrivateObjectSecurityEx@32
132CreatePrivateObjectSecurityWithMultipleInheritance@36
133CreateProcessAsUserA@44
134CreateProcessAsUserW@44
135CreateProcessWithLogonW@44
136CreateProcessWithTokenW@36
137CreateRestrictedToken@36
138CreateServiceA@52
139CreateServiceW@52
140CreateTraceInstanceId@8
141CreateWellKnownSid@16
142CredBackupCredentials@20
143CredDeleteA@12
144CredDeleteW@12
145CredEncryptAndMarshalBinaryBlob@12
146CredEnumerateA@16
147CredEnumerateW@16
148CredFindBestCredentialA@16
149CredFindBestCredentialW@16
150CredFree@4
151CredGetSessionTypes@8
152CredGetTargetInfoA@12
153CredGetTargetInfoW@12
154CredIsMarshaledCredentialA@4
155CredIsMarshaledCredentialW@4
156CredIsProtectedA@8
157CredIsProtectedW@8
158CredMarshalCredentialA@12
159CredMarshalCredentialW@12
160CredProfileLoaded@0
161CredProfileUnloaded@0
162CredProtectA@24
163CredProtectW@24
164CredReadA@16
165CredReadByTokenHandle@20
166CredReadDomainCredentialsA@16
167CredReadDomainCredentialsW@16
168CredReadW@16
169CredRenameA@16
170CredRenameW@16
171CredRestoreCredentials@16
172CredUnmarshalCredentialA@12
173CredUnmarshalCredentialW@12
174CredUnprotectA@20
175CredUnprotectW@20
176CredWriteA@8
177CredWriteDomainCredentialsA@12
178CredWriteDomainCredentialsW@12
179CredWriteW@8
180CredpConvertCredential@16
181CredpConvertOneCredentialSize@8
182CredpConvertTargetInfo@16
183CredpDecodeCredential@4
184CredpEncodeCredential@4
185CredpEncodeSecret@20
186CryptAcquireContextA@20
187CryptAcquireContextW@20
188CryptContextAddRef@12
189CryptCreateHash@20
190CryptDecrypt@24
191CryptDeriveKey@20
192CryptDestroyHash@4
193CryptDestroyKey@4
194CryptDuplicateHash@16
195CryptDuplicateKey@16
196CryptEncrypt@28
197CryptEnumProviderTypesA@24
198CryptEnumProviderTypesW@24
199CryptEnumProvidersA@24
200CryptEnumProvidersW@24
201CryptExportKey@24
202CryptGenKey@16
203CryptGenRandom@12
204CryptGetDefaultProviderA@20
205CryptGetDefaultProviderW@20
206CryptGetHashParam@20
207CryptGetKeyParam@20
208CryptGetProvParam@20
209CryptGetUserKey@12
210CryptHashData@16
211CryptHashSessionKey@12
212CryptImportKey@24
213CryptReleaseContext@8
214CryptSetHashParam@16
215CryptSetKeyParam@16
216CryptSetProvParam@16
217CryptSetProviderA@8
218CryptSetProviderExA@16
219CryptSetProviderExW@16
220CryptSetProviderW@8
221CryptSignHashA@24
222CryptSignHashW@24
223CryptVerifySignatureA@24
224CryptVerifySignatureW@24
225DecryptFileA@8
226DecryptFileW@8
227DeleteAce@8
228DeleteService@4
229DeregisterEventSource@4
230DestroyPrivateObjectSecurity@4
231DuplicateEncryptionInfoFile@20
232DuplicateToken@12
233DuplicateTokenEx@24
234ElfBackupEventLogFileA@8
235ElfBackupEventLogFileW@8
236ElfChangeNotify@8
237ElfClearEventLogFileA@8
238ElfClearEventLogFileW@8
239ElfCloseEventLog@4
240ElfDeregisterEventSource@4
241ElfFlushEventLog@4
242ElfNumberOfRecords@8
243ElfOldestRecord@8
244ElfOpenBackupEventLogA@12
245ElfOpenBackupEventLogW@12
246ElfOpenEventLogA@12
247ElfOpenEventLogW@12
248ElfReadEventLogA@28
249ElfReadEventLogW@28
250ElfRegisterEventSourceA@12
251ElfRegisterEventSourceW@12
252ElfReportEventA@48
253ElfReportEventAndSourceW@60
254ElfReportEventW@48
255EnableTrace@24
256EnableTraceEx2@44
257EnableTraceEx@48
258EncryptFileA@4
259EncryptFileW@4
260EncryptedFileKeyInfo@12
261EncryptionDisable@8
262EnumDependentServicesA@24
263EnumDependentServicesW@24
264EnumServiceGroupW@36
265EnumServicesStatusA@32
266EnumServicesStatusExA@40
267EnumServicesStatusExW@40
268EnumServicesStatusW@32
269EnumerateTraceGuids@12
270EnumerateTraceGuidsEx@24
271EqualDomainSid@12
272EqualPrefixSid@8
273EqualSid@8
274EventAccessControl@20
275EventAccessQuery@12
276EventAccessRemove@4
277EventActivityIdControl@8
278EventEnabled@12
279EventProviderEnabled@20
280EventRegister@16
281EventUnregister@8
282EventWrite@20
283EventWriteEndScenario@20
284EventWriteEx@40
285EventWriteStartScenario@20
286EventWriteString@24
287EventWriteTransfer@28
288FileEncryptionStatusA@8
289FileEncryptionStatusW@8
290FindFirstFreeAce@8
291FlushEfsCache@4
292FlushTraceA@16
293FlushTraceW@16
294FreeEncryptedFileKeyInfo@4
295FreeEncryptedFileMetadata@4
296FreeEncryptionCertificateHashList@4
297FreeInheritedFromArray@12
298FreeSid@4
299GetAccessPermissionsForObjectA@36
300GetAccessPermissionsForObjectW@36
301GetAce@12
302GetAclInformation@16
303GetAuditedPermissionsFromAclA@16
304GetAuditedPermissionsFromAclW@16
305GetCurrentHwProfileA@4
306GetCurrentHwProfileW@4
307GetEffectiveRightsFromAclA@12
308GetEffectiveRightsFromAclW@12
309GetEncryptedFileMetadata@12
310GetEventLogInformation@20
311GetExplicitEntriesFromAclA@12
312GetExplicitEntriesFromAclW@12
313GetFileSecurityA@20
314GetFileSecurityW@20
315GetInformationCodeAuthzLevelW@20
316GetInformationCodeAuthzPolicyW@24
317GetInheritanceSourceA@40
318GetInheritanceSourceW@40
319GetKernelObjectSecurity@20
320GetLengthSid@4
321GetLocalManagedApplicationData@12
322GetLocalManagedApplications@12
323GetManagedApplicationCategories@8
324GetManagedApplications@20
325GetMangledSiteSid@12
326GetMultipleTrusteeA@4
327GetMultipleTrusteeOperationA@4
328GetMultipleTrusteeOperationW@4
329GetMultipleTrusteeW@4
330GetNamedSecurityInfoA@32
331GetNamedSecurityInfoExA@36
332GetNamedSecurityInfoExW@36
333GetNamedSecurityInfoW@32
334GetNumberOfEventLogRecords@8
335GetOldestEventLogRecord@8
336GetOverlappedAccessResults@16
337GetPrivateObjectSecurity@20
338GetSecurityDescriptorControl@12
339GetSecurityDescriptorDacl@16
340GetSecurityDescriptorGroup@12
341GetSecurityDescriptorLength@4
342GetSecurityDescriptorOwner@12
343GetSecurityDescriptorRMControl@8
344GetSecurityDescriptorSacl@16
345GetSecurityInfo@32
346GetSecurityInfoExA@36
347GetSecurityInfoExW@36
348GetServiceDisplayNameA@16
349GetServiceDisplayNameW@16
350GetServiceKeyNameA@16
351GetServiceKeyNameW@16
352GetSidIdentifierAuthority@4
353GetSidLengthRequired@4
354GetSidSubAuthority@8
355GetSidSubAuthorityCount@4
356GetSiteDirectoryA@12
357GetSiteDirectoryW@12
358GetSiteNameFromSid@8
359GetSiteSidFromToken@4
360GetSiteSidFromUrl@4
361GetThreadWaitChain@28
362GetTokenInformation@20
363GetTraceEnableFlags@8
364GetTraceEnableLevel@8
365GetTraceLoggerHandle@4
366GetTrusteeFormA@4
367GetTrusteeFormW@4
368GetTrusteeNameA@4
369GetTrusteeNameW@4
370GetTrusteeTypeA@4
371GetTrusteeTypeW@4
372GetUserNameA@8
373GetUserNameW@8
374GetWindowsAccountDomainSid@12
375I_QueryTagInformation@12
376I_ScIsSecurityProcess@0
377I_ScPnPGetServiceName@12
378I_ScQueryServiceConfig@12
379I_ScSendPnPMessage@24
380I_ScSendTSMessage@16
381I_ScSetServiceBitsA@20
382I_ScSetServiceBitsW@20
383I_ScValidatePnPService@12
384IdentifyCodeAuthzLevelW@16
385ImpersonateAnonymousToken@4
386ImpersonateLoggedOnUser@4
387ImpersonateNamedPipeClient@4
388ImpersonateSelf@4
389InitializeAcl@12
390InitializeSecurityDescriptor@8
391InitializeSid@12
392InitiateShutdownA@20
393InitiateShutdownW@20
394InitiateSystemShutdownA@20
395InitiateSystemShutdownExA@24
396InitiateSystemShutdownExW@24
397InitiateSystemShutdownW@20
398InstallApplication@4
399IsProcessRestricted@0
400IsTextUnicode@12
401IsTokenRestricted@4
402IsTokenUntrusted@4
403IsValidAcl@4
404IsValidRelativeSecurityDescriptor@12
405IsValidSecurityDescriptor@4
406IsValidSid@4
407IsWellKnownSid@8
408LockServiceDatabase@4
409LogonUserA@24
410LogonUserExA@40
411LogonUserExExW@44
412LogonUserExW@40
413LogonUserW@24
414LookupAccountNameA@28
415LookupAccountNameW@28
416LookupAccountSidA@28
417LookupAccountSidW@28
418LookupPrivilegeDisplayNameA@20
419LookupPrivilegeDisplayNameW@20
420LookupPrivilegeNameA@16
421LookupPrivilegeNameW@16
422LookupPrivilegeValueA@12
423LookupPrivilegeValueW@12
424LookupSecurityDescriptorPartsA@28
425LookupSecurityDescriptorPartsW@28
426LsaAddAccountRights@16
427LsaAddPrivilegesToAccount@8
428LsaClearAuditLog@4
429LsaClose@4
430LsaCreateAccount@16
431LsaCreateSecret@16
432LsaCreateTrustedDomain@16
433LsaCreateTrustedDomainEx@20
434LsaDelete@4
435LsaDeleteTrustedDomain@8
436LsaEnumerateAccountRights@16
437LsaEnumerateAccounts@20
438LsaEnumerateAccountsWithUserRight@16
439LsaEnumeratePrivileges@20
440LsaEnumeratePrivilegesOfAccount@8
441LsaEnumerateTrustedDomains@20
442LsaEnumerateTrustedDomainsEx@20
443LsaFreeMemory@4
444LsaGetQuotasForAccount@8
445LsaGetRemoteUserName@12
446LsaGetSystemAccessAccount@8
447LsaGetUserName@8
448LsaICLookupNames@40
449LsaICLookupNamesWithCreds@48
450LsaICLookupSids@36
451LsaICLookupSidsWithCreds@48
452LsaLookupNames2@24
453LsaLookupNames@20
454LsaLookupPrivilegeDisplayName@16
455LsaLookupPrivilegeName@12
456LsaLookupPrivilegeValue@12
457LsaLookupSids@20
458LsaManageSidNameMapping@12
459LsaNtStatusToWinError@4
460LsaOpenAccount@16
461LsaOpenPolicy@16
462LsaOpenPolicySce@16
463LsaOpenSecret@16
464LsaOpenTrustedDomain@16
465LsaOpenTrustedDomainByName@16
466LsaQueryDomainInformationPolicy@12
467LsaQueryForestTrustInformation@12
468LsaQueryInfoTrustedDomain@12
469LsaQueryInformationPolicy@12
470LsaQuerySecret@20
471LsaQuerySecurityObject@12
472LsaQueryTrustedDomainInfo@16
473LsaQueryTrustedDomainInfoByName@16
474LsaRemoveAccountRights@20
475LsaRemovePrivilegesFromAccount@12
476LsaRetrievePrivateData@12
477LsaSetDomainInformationPolicy@12
478LsaSetForestTrustInformation@20
479LsaSetInformationPolicy@12
480LsaSetInformationTrustedDomain@12
481LsaSetQuotasForAccount@8
482LsaSetSecret@12
483LsaSetSecurityObject@12
484LsaSetSystemAccessAccount@8
485LsaSetTrustedDomainInfoByName@16
486LsaSetTrustedDomainInformation@16
487LsaStorePrivateData@12
488MD4Final@4
489MD4Init@4
490MD4Update@12
491MD5Final@4
492MD5Init@4
493MD5Update@12
494MSChapSrvChangePassword2@28
495MSChapSrvChangePassword@28
496MakeAbsoluteSD2@8
497MakeAbsoluteSD@44
498MakeSelfRelativeSD@12
499MapGenericMask@8
500NotifyBootConfigStatus@4
501NotifyChangeEventLog@8
502NotifyServiceStatusChange@12
503NotifyServiceStatusChangeA@12
504NotifyServiceStatusChangeW@12
505ObjectCloseAuditAlarmA@12
506ObjectCloseAuditAlarmW@12
507ObjectDeleteAuditAlarmA@12
508ObjectDeleteAuditAlarmW@12
509ObjectOpenAuditAlarmA@48
510ObjectOpenAuditAlarmW@48
511ObjectPrivilegeAuditAlarmA@24
512ObjectPrivilegeAuditAlarmW@24
513OpenBackupEventLogA@8
514OpenBackupEventLogW@8
515OpenEncryptedFileRawA@12
516OpenEncryptedFileRawW@12
517OpenEventLogA@8
518OpenEventLogW@8
519OpenProcessToken@12
520OpenSCManagerA@12
521OpenSCManagerW@12
522OpenServiceA@12
523OpenServiceW@12
524OpenThreadToken@16
525OpenThreadWaitChainSession@8
526OpenTraceA@4
527OpenTraceW@4
528PerfAddCounters@12
529PerfCloseQueryHandle@4
530PerfCreateInstance@16
531PerfDecrementULongCounterValue@16
532PerfDecrementULongLongCounterValue@20
533PerfDeleteCounters@12
534PerfDeleteInstance@8
535PerfEnumerateCounterSet@16
536PerfEnumerateCounterSetInstances@20
537PerfIncrementULongCounterValue@16
538PerfIncrementULongLongCounterValue@20
539PerfOpenQueryHandle@8
540PerfQueryCounterData@16
541PerfQueryCounterInfo@16
542PerfQueryCounterSetRegistrationInfo@28
543PerfQueryInstance@16
544PerfSetCounterRefValue@16
545PerfSetCounterSetInfo@12
546PerfSetULongCounterValue@16
547PerfSetULongLongCounterValue@20
548PerfStartProvider@12
549PerfStartProviderEx@12
550PerfStopProvider@4
551PrivilegeCheck@12
552PrivilegedServiceAuditAlarmA@20
553PrivilegedServiceAuditAlarmW@20
554ProcessIdleTasks@0
555ProcessIdleTasksW@16
556ProcessTrace@16
557QueryAllTracesA@12
558QueryAllTracesW@12
559QueryRecoveryAgentsOnEncryptedFile@8
560QuerySecurityAccessMask@8
561QueryServiceConfig2A@20
562QueryServiceConfig2W@20
563QueryServiceConfigA@16
564QueryServiceConfigW@16
565QueryServiceLockStatusA@16
566QueryServiceLockStatusW@16
567QueryServiceObjectSecurity@20
568QueryServiceStatus@8
569QueryServiceStatusEx@20
570QueryTraceA@16
571QueryTraceW@16
572QueryUsersOnEncryptedFile@8
573QueryWindows31FilesMigration@4
574ReadEncryptedFileRaw@12
575ReadEventLogA@28
576ReadEventLogW@28
577RegCloseKey@4
578RegConnectRegistryA@12
579RegConnectRegistryExA@16
580RegConnectRegistryExW@16
581RegConnectRegistryW@12
582RegCopyTreeA@12
583RegCopyTreeW@12
584RegCreateKeyA@12
585RegCreateKeyExA@36
586RegCreateKeyExW@36
587RegCreateKeyTransactedA@44
588RegCreateKeyTransactedW@44
589RegCreateKeyW@12
590RegDeleteKeyA@8
591RegDeleteKeyW@8
592RegDeleteKeyExA@16
593RegDeleteKeyExW@16
594RegDeleteKeyTransactedA@24
595RegDeleteKeyTransactedW@24
596RegDeleteKeyValueA@12
597RegDeleteKeyValueW@12
598RegDeleteKeyW@8
599RegDeleteTreeA@8
600RegDeleteTreeW@8
601RegDeleteValueA@8
602RegDeleteValueW@8
603RegDisablePredefinedCache@0
604RegDisablePredefinedCacheEx@0
605RegDisableReflectionKey@4
606RegEnableReflectionKey@4
607RegEnumKeyA@16
608RegEnumKeyExA@32
609RegEnumKeyExW@32
610RegEnumKeyW@16
611RegEnumValueA@32
612RegEnumValueW@32
613RegFlushKey@4
614RegGetKeySecurity@16
615RegGetValueA@28
616RegGetValueW@28
617RegLoadAppKeyA@20
618RegLoadAppKeyW@20
619RegLoadKeyA@12
620RegLoadKeyW@12
621RegLoadMUIStringA@28
622RegLoadMUIStringW@28
623RegNotifyChangeKeyValue@20
624RegOpenCurrentUser@8
625RegOpenKeyA@12
626RegOpenKeyExA@20
627RegOpenKeyExW@20
628RegOpenKeyTransactedA@28
629RegOpenKeyTransactedW@28
630RegOpenKeyW@12
631RegOpenUserClassesRoot@16
632RegOverridePredefKey@8
633RegQueryInfoKeyA@48
634RegQueryInfoKeyW@48
635RegQueryMultipleValuesA@20
636RegQueryMultipleValuesW@20
637RegQueryReflectionKey@8
638RegQueryValueA@16
639RegQueryValueExA@24
640RegQueryValueExW@24
641RegQueryValueW@16
642RegRenameKey@12
643RegReplaceKeyA@16
644RegReplaceKeyW@16
645RegRestoreKeyA@12
646RegRestoreKeyW@12
647RegSaveKeyA@12
648RegSaveKeyExA@16
649RegSaveKeyExW@16
650RegSaveKeyW@12
651RegSetKeySecurity@12
652RegSetKeyValueA@24
653RegSetKeyValueW@24
654RegSetValueA@20
655RegSetValueExA@24
656RegSetValueExW@24
657RegSetValueW@20
658RegUnLoadKeyA@8
659RegUnLoadKeyW@8
660RegisterEventSourceA@8
661RegisterEventSourceW@8
662RegisterIdleTask@16
663RegisterServiceCtrlHandlerA@8
664RegisterServiceCtrlHandlerExA@12
665RegisterServiceCtrlHandlerExW@12
666RegisterServiceCtrlHandlerW@8
667RegisterTraceGuidsA@32
668RegisterTraceGuidsW@32
669RegisterWaitChainCOMCallback@8
670RemoveTraceCallback@4
671RemoveUsersFromEncryptedFile@8
672ReportEventA@36
673ReportEventW@36
674RevertToSelf@0
675SaferCloseLevel@4
676SaferComputeTokenFromLevel@20
677SaferCreateLevel@20
678SaferGetLevelInformation@20
679SaferGetPolicyInformation@24
680SaferIdentifyLevel@16
681SaferRecordEventLogEntry@12
682SaferSetLevelInformation@16
683SaferSetPolicyInformation@20
684SaferiChangeRegistryScope@8
685SaferiCompareTokenLevels@12
686SaferiIsDllAllowed@12
687SaferiIsExecutableFileType@8
688SaferiPopulateDefaultsInRegistry@8
689SaferiRecordEventLogEntry@12
690SaferiSearchMatchingHashRules@24
691SetAclInformation@16
692SetEncryptedFileMetadata@24
693SetEntriesInAccessListA@24
694SetEntriesInAccessListW@24
695SetEntriesInAclA@16
696SetEntriesInAclW@16
697SetEntriesInAuditListA@24
698SetEntriesInAuditListW@24
699SetFileSecurityA@12
700SetFileSecurityW@12
701SetInformationCodeAuthzLevelW@16
702SetInformationCodeAuthzPolicyW@20
703SetKernelObjectSecurity@12
704SetNamedSecurityInfoA@28
705SetNamedSecurityInfoExA@36
706SetNamedSecurityInfoExW@36
707SetNamedSecurityInfoW@28
708SetPrivateObjectSecurity@20
709SetPrivateObjectSecurityEx@24
710SetSecurityAccessMask@8
711SetSecurityDescriptorControl@12
712SetSecurityDescriptorDacl@16
713SetSecurityDescriptorGroup@12
714SetSecurityDescriptorOwner@12
715SetSecurityDescriptorRMControl@8
716SetSecurityDescriptorSacl@16
717SetSecurityInfo@28
718SetSecurityInfoExA@36
719SetSecurityInfoExW@36
720SetServiceBits@16
721SetServiceObjectSecurity@12
722SetServiceStatus@8
723SetThreadToken@8
724SetTokenInformation@16
725SetTraceCallback@8
726SetUserFileEncryptionKey@4
727SetUserFileEncryptionKeyEx@16
728StartServiceA@12
729StartServiceCtrlDispatcherA@4
730StartServiceCtrlDispatcherW@4
731StartServiceW@12
732StartTraceA@12
733StartTraceW@12
734SynchronizeWindows31FilesAndWindowsNTRegistry@16
735StopTraceA@16
736StopTraceW@16
737SystemFunction001@12
738SystemFunction002@12
739SystemFunction003@8
740SystemFunction004@12
741SystemFunction005@12
742SystemFunction006@8
743SystemFunction007@8
744SystemFunction008@12
745SystemFunction009@12
746SystemFunction010@12
747SystemFunction011@12
748SystemFunction012@12
749SystemFunction013@12
750SystemFunction014@12
751SystemFunction015@12
752SystemFunction016@12
753SystemFunction017@12
754SystemFunction018@12
755SystemFunction019@12
756SystemFunction020@12
757SystemFunction021@12
758SystemFunction022@12
759SystemFunction023@12
760SystemFunction024@12
761SystemFunction025@12
762SystemFunction026@12
763SystemFunction027@12
764SystemFunction028@8
765SystemFunction029@8
766SystemFunction030@8
767SystemFunction031@8
768SystemFunction032@8
769SystemFunction033@8
770SystemFunction034@12
771SystemFunction035@4
772SystemFunction036@8
773SystemFunction040@12
774SystemFunction041@12
775TraceEvent@12
776TraceEventInstance@20
777TraceMessage
778TraceMessageVa@24
779TraceSetInformation@20
780TreeResetNamedSecurityInfoA@44
781TreeResetNamedSecurityInfoW@44
782TreeSetNamedSecurityInfoA@44
783TreeSetNamedSecurityInfoW@44
784TrusteeAccessToObjectA@24
785TrusteeAccessToObjectW@24
786UninstallApplication@8
787UnlockServiceDatabase@4
788UnregisterIdleTask@12
789UnregisterTraceGuids@8
790UpdateTraceA@16
791UpdateTraceW@16
792UsePinForEncryptedFilesA@12
793UsePinForEncryptedFilesW@12
794WmiCloseBlock@4
795WmiDevInstToInstanceNameA@16
796WmiDevInstToInstanceNameW@16
797WmiEnumerateGuids@8
798WmiExecuteMethodA@28
799WmiExecuteMethodW@28
800WmiFileHandleToInstanceNameA@16
801WmiFileHandleToInstanceNameW@16
802WmiFreeBuffer@4
803WmiMofEnumerateResourcesA@12
804WmiMofEnumerateResourcesW@12
805WmiNotificationRegistrationA@20
806WmiNotificationRegistrationW@20
807WmiOpenBlock@12
808WmiQueryAllDataA@12
809WmiQueryAllDataMultipleA@16
810WmiQueryAllDataMultipleW@16
811WmiQueryAllDataW@12
812WmiQueryGuidInformation@8
813WmiQuerySingleInstanceA@16
814WmiQuerySingleInstanceMultipleA@20
815WmiQuerySingleInstanceMultipleW@20
816WmiQuerySingleInstanceW@16
817WmiReceiveNotificationsA@16
818WmiReceiveNotificationsW@16
819WmiSetSingleInstanceA@20
820WmiSetSingleInstanceW@20
821WmiSetSingleItemA@24
822WmiSetSingleItemW@24
823WriteEncryptedFileRaw@12
lib/libc/mingw/lib32/bcrypt.def created+67
......@@ -0,0 +1,67 @@
1;
2; Definition file of bcrypt.dll
3; Automatic generated by gendef
4; written by Kai Tietz 2008
5;
6LIBRARY "bcrypt.dll"
7EXPORTS
8BCryptAddContextFunction@20
9BCryptAddContextFunctionProvider@24
10BCryptCloseAlgorithmProvider@8
11BCryptConfigureContext@12
12BCryptConfigureContextFunction@20
13BCryptCreateContext@12
14BCryptCreateHash@28
15BCryptDecrypt@40
16BCryptDeleteContext@8
17BCryptDeriveKey@28
18BCryptDeriveKeyCapi@20
19BCryptDeriveKeyPBKDF2@40
20BCryptDestroyHash@4
21BCryptDestroyKey@4
22BCryptDestroySecret@4
23BCryptDuplicateHash@20
24BCryptDuplicateKey@20
25BCryptEncrypt@40
26BCryptEnumAlgorithms@16
27BCryptEnumContextFunctionProviders@24
28BCryptEnumContextFunctions@20
29BCryptEnumContexts@12
30BCryptEnumProviders@16
31BCryptEnumRegisteredProviders@8
32BCryptExportKey@28
33BCryptFinalizeKeyPair@8
34BCryptFinishHash@16
35BCryptFreeBuffer@4
36BCryptGenRandom@16
37BCryptGenerateKeyPair@16
38BCryptGenerateSymmetricKey@28
39BCryptGetFipsAlgorithmMode@4
40BCryptGetProperty@24
41BCryptHashData@16
42BCryptImportKey@36
43BCryptImportKeyPair@28
44BCryptOpenAlgorithmProvider@16
45BCryptQueryContextConfiguration@16
46BCryptQueryContextFunctionConfiguration@24
47BCryptQueryContextFunctionProperty@28
48BCryptQueryProviderRegistration@20
49BCryptRegisterConfigChangeNotify@4
50BCryptRegisterProvider@12
51BCryptRemoveContextFunction@16
52BCryptRemoveContextFunctionProvider@20
53BCryptResolveProviders@32
54BCryptSecretAgreement@16
55BCryptSetAuditingInterface@4
56BCryptSetContextFunctionProperty@28
57BCryptSetProperty@20
58BCryptSignHash@32
59BCryptUnregisterConfigChangeNotify@4
60BCryptUnregisterProvider@4
61BCryptVerifySignature@28
62GetAsymmetricEncryptionInterface@16
63GetCipherInterface@16
64GetHashInterface@16
65GetRngInterface@12
66GetSecretAgreementInterface@16
67GetSignatureInterface@16
lib/libc/mingw/lib32/comctl32.def created+119
......@@ -0,0 +1,119 @@
1LIBRARY COMCTL32.DLL
2EXPORTS
3_TrackMouseEvent@4
4AddMRUData@12
5AddMRUStringA@8
6AddMRUStringW@8
7Alloc@4
8CreateMRUListA@4
9CreateMRUListW@4
10CreateMappedBitmap@20
11CreatePage@8
12CreatePropertySheetPage@4
13CreatePropertySheetPageA@4
14CreatePropertySheetPageW@4
15CreateProxyPage@8
16CreateStatusWindow@16
17CreateStatusWindowA@16
18CreateStatusWindowW@16
19CreateToolbar@32
20CreateToolbarEx@52
21CreateUpDownControl@48
22DPA_Clone@8
23DPA_Create@4
24DPA_CreateEx@8
25DPA_DeleteAllPtrs@4
26DPA_DeletePtr@8
27DPA_Destroy@4
28DPA_GetPtr@8
29DPA_GetPtrIndex@8
30DPA_Grow@8
31DPA_InsertPtr@12
32DPA_Search@24
33DPA_SetPtr@12
34DPA_Sort@12
35DSA_Create@8
36DSA_DeleteAllItems@4
37DSA_DeleteItem@8
38DSA_Destroy@4
39DSA_GetItem@12
40DSA_GetItemPtr@8
41DSA_InsertItem@12
42DSA_SetItem@12
43DefSubclassProc@16
44DelMRUString@8
45DestroyPropertySheetPage@4
46DrawInsert@12
47DrawStatusText@16
48DrawStatusTextA@16
49DrawStatusTextW@16
50EnumMRUListA@16
51EnumMRUListW@16
52FindMRUData@16
53FindMRUStringA@12
54FindMRUStringW@12
55Free@4
56FreeMRUList@4
57GetEffectiveClientRect@12
58GetMUILanguage@0
59GetSize@4
60GetWindowSubclass@16
61ImageList_Add@12
62ImageList_AddIcon@8
63ImageList_AddMasked@12
64ImageList_BeginDrag@16
65ImageList_Copy@20
66ImageList_Create@20
67ImageList_Destroy@4
68ImageList_DragEnter@12
69ImageList_DragLeave@4
70ImageList_DragMove@8
71ImageList_DragShowNolock@4
72ImageList_Draw@24
73ImageList_DrawEx@40
74ImageList_DrawIndirect@4
75ImageList_Duplicate@4
76ImageList_EndDrag@0
77ImageList_GetBkColor@4
78ImageList_GetDragImage@8
79ImageList_GetIcon@12
80ImageList_GetIconSize@12
81ImageList_GetImageCount@4
82ImageList_GetImageInfo@12
83ImageList_GetImageRect@12
84ImageList_LoadImage@28
85ImageList_LoadImageA@28
86ImageList_LoadImageW@28
87ImageList_Merge@24
88ImageList_Read@4
89ImageList_Remove@8
90ImageList_Replace@16
91ImageList_ReplaceIcon@12
92ImageList_SetBkColor@8
93ImageList_SetDragCursorImage@16
94ImageList_SetIconSize@12
95ImageList_SetImageCount@8
96ImageList_SetOverlayImage@12
97ImageList_Write@8
98InitCommonControls@0
99InitCommonControlsEx@4
100InitMUILanguage@4
101LBItemFromPt@16
102LoadIconMetric@16
103MakeDragList@4
104MenuHelp@28
105PropertySheet@4
106PropertySheetA@4
107PropertySheetW@4
108ReAlloc@8
109RemoveWindowSubclass@12
110SendNotify@16
111SendNotifyEx@20
112SetWindowSubclass@16
113ShowHideMenuCtl@12
114Str_GetPtrA@12
115Str_GetPtrW@12
116Str_SetPtrA@8
117Str_SetPtrW@8
118TaskDialog@32
119TaskDialogIndirect@16
lib/libc/mingw/lib32/comdlg32.def created+27
......@@ -0,0 +1,27 @@
1LIBRARY COMDLG32.DLL
2EXPORTS
3ChooseColorA@4
4ChooseColorW@4
5ChooseFontA@4
6ChooseFontW@4
7CommDlgExtendedError@0
8FindTextA@4
9FindTextW@4
10GetFileTitleA@12
11GetFileTitleW@12
12GetOpenFileNameA@4
13GetOpenFileNameW@4
14GetSaveFileNameA@4
15GetSaveFileNameW@4
16LoadAlterBitmap@12
17PageSetupDlgA@4
18PageSetupDlgW@4
19PrintDlgA@4
20PrintDlgExA@4
21PrintDlgExW@4
22PrintDlgW@4
23ReplaceTextA@4
24ReplaceTextW@4
25WantArrows@16
26dwLBSubclass@16
27dwOKSubclass@16
lib/libc/mingw/lib32/crypt32.def created+314
......@@ -0,0 +1,314 @@
1;
2; Definition file of CRYPT32.dll
3; Automatic generated by gendef
4; written by Kai Tietz 2008
5;
6LIBRARY "CRYPT32.dll"
7EXPORTS
8CryptAcquireContextU@20
9CryptEnumProvidersU@24
10CryptObjectLocatorFree@4
11CryptObjectLocatorGet@12
12CryptObjectLocatorGetContent@4
13CryptObjectLocatorGetUpdated@4
14CryptObjectLocatorInitialize@20
15CryptObjectLocatorIsChanged@4
16CryptObjectLocatorRelease@8
17CryptSetProviderU@8
18CryptSignHashU@24
19CryptVerifySignatureU@24
20I_PFXImportCertStoreEx@20
21RegCreateKeyExU@36
22RegDeleteValueU@8
23RegEnumValueU@32
24RegOpenKeyExU@20
25RegQueryInfoKeyU@48
26RegQueryValueExU@24
27RegSetValueExU@24
28CertAddCRLContextToStore@16
29CertAddCRLLinkToStore@16
30CertAddCTLContextToStore@16
31CertAddCTLLinkToStore@16
32CertAddCertificateContextToStore@16
33CertAddCertificateLinkToStore@16
34CertAddEncodedCRLToStore@24
35CertAddEncodedCTLToStore@24
36CertAddEncodedCertificateToStore@24
37CertAddEncodedCertificateToSystemStoreA@12
38CertAddEncodedCertificateToSystemStoreW@12
39CertAddEnhancedKeyUsageIdentifier@8
40CertAddRefServerOcspResponse@4
41CertAddRefServerOcspResponseContext@4
42CertAddSerializedElementToStore@32
43CertAddStoreToCollection@16
44CertAlgIdToOID@4
45CertCloseServerOcspResponse@8
46CertCloseStore@8
47CertCompareCertificate@12
48CertCompareCertificateName@12
49CertCompareIntegerBlob@8
50CertComparePublicKeyInfo@12
51CertControlStore@16
52CertCreateCRLContext@12
53CertCreateCTLContext@12
54CertCreateCTLEntryFromCertificateContextProperties@28
55CertCreateCertificateChainEngine@8
56CertCreateCertificateContext@12
57CertCreateContext@24
58CertCreateSelfSignCertificate@32
59CertDeleteCRLFromStore@4
60CertDeleteCTLFromStore@4
61CertDeleteCertificateFromStore@4
62CertDuplicateCRLContext@4
63CertDuplicateCTLContext@4
64CertDuplicateCertificateChain@4
65CertDuplicateCertificateContext@4
66CertDuplicateStore@4
67CertEnumCRLContextProperties@8
68CertEnumCRLsInStore@8
69CertEnumCTLContextProperties@8
70CertEnumCTLsInStore@8
71CertEnumCertificateContextProperties@8
72CertEnumCertificatesInStore@8
73CertEnumPhysicalStore@16
74CertEnumSubjectInSortedCTL@16
75CertEnumSystemStore@16
76CertEnumSystemStoreLocation@12
77CertFindAttribute@12
78CertFindCRLInStore@24
79CertFindCTLInStore@24
80CertFindCertificateInCRL@20
81CertFindCertificateInStore@24
82CertFindChainInStore@24
83CertFindExtension@12
84CertFindRDNAttr@8
85CertFindSubjectInCTL@20
86CertFindSubjectInSortedCTL@20
87CertFreeCRLContext@4
88CertFreeCTLContext@4
89CertFreeCertificateChain@4
90CertFreeCertificateChainEngine@4
91CertFreeCertificateChainList@4
92CertFreeCertificateContext@4
93CertFreeServerOcspResponseContext@4
94CertGetCRLContextProperty@16
95CertGetCRLFromStore@16
96CertGetCTLContextProperty@16
97CertGetCertificateChain@32
98CertGetCertificateContextProperty@16
99CertGetEnhancedKeyUsage@16
100CertGetIntendedKeyUsage@16
101CertGetIssuerCertificateFromStore@16
102CertGetNameStringA@24
103CertGetNameStringW@24
104CertGetPublicKeyLength@8
105CertGetServerOcspResponseContext@12
106CertGetStoreProperty@16
107CertGetSubjectCertificateFromStore@12
108CertGetValidUsages@20
109CertIsRDNAttrsInCertificateName@16
110CertIsStrongHashToSign@12
111CertIsValidCRLForCertificate@16
112CertIsWeakHash@24
113CertNameToStrA@20
114CertNameToStrW@20
115CertOIDToAlgId@4
116CertOpenServerOcspResponse@12
117CertOpenStore@20
118CertOpenSystemStoreA@8
119CertOpenSystemStoreW@8
120CertRDNValueToStrA@16
121CertRDNValueToStrW@16
122CertRegisterPhysicalStore@20
123CertRegisterSystemStore@16
124CertRemoveEnhancedKeyUsageIdentifier@8
125CertRemoveStoreFromCollection@8
126CertResyncCertificateChainEngine@4
127CertRetrieveLogoOrBiometricInfo@36
128CertSaveStore@24
129CertSelectCertificateChains@32
130CertSerializeCRLStoreElement@16
131CertSerializeCTLStoreElement@16
132CertSerializeCertificateStoreElement@16
133CertSetCRLContextProperty@16
134CertSetCTLContextProperty@16
135CertSetCertificateContextPropertiesFromCTLEntry@12
136CertSetCertificateContextProperty@16
137CertSetEnhancedKeyUsage@8
138CertSetStoreProperty@16
139CertStrToNameA@28
140CertStrToNameW@28
141CertUnregisterPhysicalStore@12
142CertUnregisterSystemStore@8
143CertVerifyCRLRevocation@16
144CertVerifyCRLTimeValidity@8
145CertVerifyCTLUsage@28
146CertVerifyCertificateChainPolicy@16
147CertVerifyRevocation@28
148CertVerifySubjectCertificateContext@12
149CertVerifyTimeValidity@8
150CertVerifyValidityNesting@8
151CreateFileU@28
152CryptAcquireCertificatePrivateKey@24
153CryptBinaryToStringA@20
154CryptBinaryToStringW@20
155CryptCloseAsyncHandle@4
156CryptCreateAsyncHandle@8
157CryptCreateKeyIdentifierFromCSP@32
158CryptDecodeMessage@52
159CryptDecodeObject@28
160CryptDecodeObjectEx@32
161CryptDecryptAndVerifyMessageSignature@36
162CryptDecryptMessage@24
163CryptEncodeObject@20
164CryptEncodeObjectEx@28
165CryptEncryptMessage@28
166CryptEnumKeyIdentifierProperties@28
167CryptEnumOIDFunction@24
168CryptEnumOIDInfo@16
169CryptExportPKCS8@28
170CryptExportPublicKeyInfo@20
171CryptExportPublicKeyInfoEx@32
172CryptExportPublicKeyInfoFromBCryptKeyHandle@28
173CryptFindCertificateKeyProvInfo@12
174CryptFindLocalizedName@4
175CryptFindOIDInfo@12
176CryptFormatObject@36
177CryptFreeOIDFunctionAddress@8
178CryptGetAsyncParam@16
179CryptGetDefaultOIDDllList@16
180CryptGetDefaultOIDFunctionAddress@24
181CryptGetKeyIdentifierProperty@28
182CryptGetMessageCertificates@20
183CryptGetMessageSignerCount@12
184CryptGetOIDFunctionAddress@24
185CryptGetOIDFunctionValue@28
186CryptHashCertificate2@28
187CryptHashCertificate@28
188CryptHashMessage@36
189CryptHashPublicKeyInfo@28
190CryptHashToBeSigned@24
191CryptImportPKCS8@36
192CryptImportPublicKeyInfo@16
193CryptImportPublicKeyInfoEx2@20
194CryptImportPublicKeyInfoEx@28
195CryptInitOIDFunctionSet@8
196CryptInstallDefaultContext@24
197CryptInstallOIDFunctionAddress@24
198CryptLoadSip@12
199CryptMemAlloc@4
200CryptMemFree@4
201CryptMemRealloc@8
202CryptMsgCalculateEncodedLength@24
203CryptMsgClose@4
204CryptMsgControl@16
205CryptMsgCountersign@16
206CryptMsgCountersignEncoded@28
207CryptMsgDuplicate@4
208CryptMsgEncodeAndSignCTL@24
209CryptMsgGetAndVerifySigner@24
210CryptMsgGetParam@20
211CryptMsgOpenToDecode@24
212CryptMsgOpenToEncode@24
213CryptMsgSignCTL@28
214CryptMsgUpdate@16
215CryptMsgVerifyCountersignatureEncoded@28
216CryptMsgVerifyCountersignatureEncodedEx@40
217CryptProtectData@28
218CryptProtectMemory@12
219CryptQueryObject@44
220CryptRegisterDefaultOIDFunction@16
221CryptRegisterOIDFunction@20
222CryptRegisterOIDInfo@8
223CryptRetrieveTimeStamp@40
224CryptSIPAddProvider@4
225CryptSIPCreateIndirectData@12
226CryptSIPGetCaps@8
227CryptSIPGetSealedDigest@20
228CryptSIPGetSignedDataMsg@20
229CryptSIPLoad@12
230CryptSIPPutSignedDataMsg@20
231CryptSIPRemoveProvider@4
232CryptSIPRemoveSignedDataMsg@8
233CryptSIPRetrieveSubjectGuid@12
234CryptSIPRetrieveSubjectGuidForCatalogFile@12
235CryptSIPVerifyIndirectData@8
236CryptSetAsyncParam@16
237CryptSetKeyIdentifierProperty@24
238CryptSetOIDFunctionValue@28
239CryptSignAndEncodeCertificate@36
240CryptSignAndEncryptMessage@32
241CryptSignCertificate@36
242CryptSignMessage@28
243CryptSignMessageWithKey@20
244CryptStringToBinaryA@28
245CryptStringToBinaryW@28
246CryptUninstallDefaultContext@12
247CryptUnprotectData@28
248CryptUnprotectMemory@12
249CryptUnregisterDefaultOIDFunction@12
250CryptUnregisterOIDFunction@12
251CryptUnregisterOIDInfo@4
252CryptUpdateProtectedState@20
253CryptVerifyCertificateSignature@20
254CryptVerifyCertificateSignatureEx@32
255CryptVerifyDetachedMessageHash@32
256CryptVerifyDetachedMessageSignature@32
257CryptVerifyMessageHash@28
258CryptVerifyMessageSignature@28
259CryptVerifyMessageSignatureWithKey@24
260CryptVerifyTimeStampSignature@32
261I_CertChainEngineIsDisallowedCertificate@8
262I_CertDiagControl@12
263I_CertFinishSslHandshake@16
264I_CertProcessSslHandshake@24
265I_CertProtectFunction@28
266I_CertSrvProtectFunction@40
267I_CertSyncStore@8
268I_CertUpdateStore@16
269I_CryptAddRefLruEntry@4
270I_CryptAddSmartCardCertToStore@20
271I_CryptAllocTls@0
272I_CryptAllocTlsEx@4
273I_CryptCreateLruCache@8
274I_CryptCreateLruEntry@16
275I_CryptDetachTls@4
276I_CryptDisableLruOfEntries@4
277I_CryptEnableLruOfEntries@8
278I_CryptEnumMatchingLruEntries@4
279I_CryptFindLruEntry@8
280I_CryptFindLruEntryData@12
281I_CryptFindSmartCardCertInStore@16
282I_CryptFlushLruCache@12
283I_CryptFreeLruCache@12
284I_CryptFreeTls@8
285I_CryptGetAsn1Decoder@4
286I_CryptGetAsn1Encoder@4
287I_CryptGetDefaultCryptProv@4
288I_CryptGetDefaultCryptProvForEncrypt@12
289I_CryptGetFileVersion@12
290I_CryptGetLruEntryData@4
291I_CryptGetLruEntryIdentifier@4
292I_CryptGetOssGlobal@4
293I_CryptGetTls@4
294I_CryptInsertLruEntry@8
295I_CryptInstallAsn1Module@12
296I_CryptInstallOssGlobal@12
297I_CryptReadTrustedPublisherDWORDValueFromRegistry@8
298I_CryptRegisterSmartCardStore@20
299I_CryptReleaseLruEntry@4
300I_CryptRemoveLruEntry@12
301I_CryptSetTls@8
302I_CryptTouchLruEntry@8
303I_CryptUninstallAsn1Module@4
304I_CryptUninstallOssGlobal@4
305I_CryptUnregisterSmartCardStore@4
306I_CryptWalkAllLruCacheEntries@12
307PFXExportCertStore2@16
308PFXExportCertStore@16
309PFXExportCertStoreEx@20
310PFXImportCertStore@12
311PFXIsPFXBlob@4
312PFXVerifyPassword@12
313RegCreateHKCUKeyExU@36
314RegOpenHKCUKeyExU@20
lib/libc/mingw/lib32/cryptnet.def created+26
......@@ -0,0 +1,26 @@
1;
2; Definition file of CRYPTNET.dll
3; Automatic generated by gendef
4; written by Kai Tietz 2008
5;
6LIBRARY "CRYPTNET.dll"
7EXPORTS
8CertDllVerifyCTLUsage@28
9CertDllVerifyRevocation@28
10LdapProvOpenStore@28
11CryptCancelAsyncRetrieval@4
12CryptFlushTimeValidObject@20
13CryptGetObjectUrl@32
14CryptGetTimeValidObject@36
15CryptInstallCancelRetrieval@16
16CryptRetrieveObjectByUrlA@36
17CryptRetrieveObjectByUrlW@36
18CryptUninstallCancelRetrieval@8
19DllRegisterServer
20DllUnregisterServer
21I_CryptNetEnumUrlCacheEntry@16
22I_CryptNetGetHostNameFromUrl@12
23I_CryptNetGetUserDsStoreUrl@8
24I_CryptNetIsConnected
25I_CryptNetSetUrlCacheFlushInfo@20
26I_CryptNetSetUrlCachePreFetchInfo@20
lib/libc/mingw/lib32/gdi32.def created+376
......@@ -0,0 +1,376 @@
1LIBRARY GDI32.dll
2EXPORTS
3AbortDoc@4
4AbortPath@4
5AddFontMemResourceEx@16
6AddFontResourceA@4
7AddFontResourceW@4
8AddFontResourceExA@12
9AddFontResourceExW@12
10AngleArc@24
11AnimatePalette@16
12Arc@36
13ArcTo@36
14BeginPath@4
15BitBlt@36
16CancelDC@4
17CheckColorsInGamut@16
18ChoosePixelFormat@8
19Chord@36
20CloseEnhMetaFile@4
21CloseFigure@4
22CloseMetaFile@4
23ColorCorrectPalette@16
24ColorMatchToTarget@12
25CombineRgn@16
26CombineTransform@12
27CopyEnhMetaFileA@8
28CopyEnhMetaFileW@8
29CopyMetaFileA@8
30CopyMetaFileW@8
31CreateBitmap@20
32CreateBitmapIndirect@4
33CreateBrushIndirect@4
34CreateColorSpaceA@4
35CreateColorSpaceW@4
36CreateCompatibleBitmap@12
37CreateCompatibleDC@4
38CreateDCA@16
39CreateDCW@16
40CreateDIBPatternBrush@8
41CreateDIBPatternBrushPt@8
42CreateDIBSection@24
43CreateDIBitmap@24
44CreateDiscardableBitmap@12
45CreateEllipticRgn@16
46CreateEllipticRgnIndirect@4
47CreateEnhMetaFileA@16
48CreateEnhMetaFileW@16
49CreateFontA@56
50CreateFontIndirectA@4
51CreateFontIndirectExA@4
52CreateFontIndirectExW@4
53CreateFontIndirectW@4
54CreateFontW@56
55CreateHalftonePalette@4
56CreateHatchBrush@8
57CreateICA@16
58CreateICW@16
59CreateMetaFileA@4
60CreateMetaFileW@4
61CreatePalette@4
62CreatePatternBrush@4
63CreatePen@12
64CreatePenIndirect@4
65CreatePolyPolygonRgn@16
66CreatePolygonRgn@12
67CreateRectRgn@16
68CreateRectRgnIndirect@4
69CreateRoundRectRgn@24
70CreateScalableFontResourceA@16
71CreateScalableFontResourceW@16
72CreateSolidBrush@4
73DPtoLP@12
74DeleteColorSpace@4
75DeleteDC@4
76DeleteEnhMetaFile@4
77DeleteMetaFile@4
78DeleteObject@4
79DescribePixelFormat@16
80DeviceCapabilitiesEx@24
81DeviceCapabilitiesExA@24
82DeviceCapabilitiesExW@24
83DrawEscape@16
84Ellipse@20
85EnableEUDC@4
86EndDoc@4
87EndPage@4
88EndPath@4
89EnumEnhMetaFile@20
90EnumFontFamiliesA@16
91EnumFontFamiliesExA@20
92EnumFontFamiliesExW@20
93EnumFontFamiliesW@16
94EnumFontsA@16
95EnumFontsW@16
96EnumICMProfilesA@12
97EnumICMProfilesW@12
98EnumMetaFile@16
99EnumObjects@16
100EqualRgn@8
101Escape@20
102ExcludeClipRect@20
103ExtCreatePen@20
104ExtCreateRegion@12
105ExtEscape@24
106ExtFloodFill@20
107ExtSelectClipRgn@12
108ExtTextOutA@32
109ExtTextOutW@32
110FillPath@4
111FillRgn@12
112FixBrushOrgEx@16
113FlattenPath@4
114FloodFill@16
115FontIsLinked@4
116FrameRgn@20
117GdiAlphaBlend@44
118GdiComment@12
119GdiConvertToDevmodeW@4
120GdiEntry13@0 ; alias for DdQueryDisplaySettingsUniqueness
121GdiFlush@0
122GdiGetBatchLimit@0
123GdiGetCharDimensions@12
124GdiGetCodePage@4
125GdiGetSpoolMessage@16
126GdiGradientFill@24
127GdiInitSpool@0
128GdiInitializeLanguagePack@4
129GdiIsMetaFileDC@4
130GdiIsMetaPrintDC@4
131GdiIsPlayMetafileDC@4
132GdiPlayDCScript@24
133GdiPlayJournal@20
134GdiPlayScript@28
135GdiRealizationInfo@8
136GdiSetBatchLimit@4
137GdiTransparentBlt@44
138GetArcDirection@4
139GetAspectRatioFilterEx@8
140GetBitmapBits@12
141GetBitmapDimensionEx@8
142GetBkColor@4
143GetBkMode@4
144GetBoundsRect@12
145GetBrushOrgEx@8
146GetCharABCWidthsA@16
147GetCharABCWidthsFloatA@16
148GetCharABCWidthsFloatW@16
149GetCharABCWidthsI@20
150GetCharABCWidthsW@16
151GetCharWidth32A@16
152GetCharWidth32W@16
153GetCharWidthA@16
154GetCharWidthFloatA@16
155GetCharWidthFloatW@16
156GetCharWidthI@20
157GetCharWidthW@16
158GetCharacterPlacementA@24
159GetCharacterPlacementW@24
160GetClipBox@8
161GetClipRgn@8
162GetColorAdjustment@8
163GetColorSpace@4
164GetCurrentObject@8
165GetCurrentPositionEx@8
166GetDCBrushColor@4
167GetDCOrgEx@8
168GetDCPenColor@4
169GetDIBColorTable@16
170GetDIBits@28
171GetDeviceCaps@8
172GetDeviceGammaRamp@8
173GetEnhMetaFileA@4
174GetEnhMetaFileBits@12
175GetEnhMetaFileDescriptionA@12
176GetEnhMetaFileDescriptionW@12
177GetEnhMetaFileHeader@12
178GetEnhMetaFilePaletteEntries@12
179GetEnhMetaFilePixelFormat@12
180GetEnhMetaFileW@4
181GetFontData@20
182GetFontLanguageInfo@4
183GetFontResourceInfo@16
184GetFontResourceInfoW@16
185GetFontUnicodeRanges@8
186GetGlyphIndicesA@20
187GetGlyphIndicesW@20
188GetGlyphOutline@28
189GetGlyphOutlineA@28
190GetGlyphOutlineW@28
191GetGlyphOutlineWow@28
192GetGraphicsMode@4
193GetICMProfileA@12
194GetICMProfileW@12
195GetKerningPairs@12
196GetKerningPairsA@12
197GetKerningPairsW@12
198GetLayout@4
199GetLogColorSpaceA@12
200GetLogColorSpaceW@12
201GetMapMode@4
202GetMetaFileA@4
203GetMetaFileBitsEx@12
204GetMetaFileW@4
205GetMetaRgn@8
206GetMiterLimit@8
207GetNearestColor@8
208GetNearestPaletteIndex@8
209GetObjectA@12
210GetObjectType@4
211GetObjectW@12
212GetOutlineTextMetricsA@12
213GetOutlineTextMetricsW@12
214GetPaletteEntries@16
215GetPath@16
216GetPixel@12
217GetPixelFormat@4
218GetPolyFillMode@4
219GetROP2@4
220GetRandomRgn@12
221GetRasterizerCaps@8
222GetRegionData@12
223GetRelAbs@8
224GetRgnBox@8
225GetStockObject@4
226GetStretchBltMode@4
227GetSystemPaletteEntries@16
228GetSystemPaletteUse@4
229GetTextAlign@4
230GetTextCharacterExtra@4
231GetTextCharset@4
232GetTextCharsetInfo@12
233GetTextColor@4
234GetTextExtentExPointA@28
235GetTextExtentExPointW@28
236GetTextExtentExPointI@28
237GetTextExtentPoint32A@16
238GetTextExtentPoint32W@16
239GetTextExtentPointA@16
240GetTextExtentPointI@16
241GetTextExtentPointW@16
242GetTextFaceA@12
243GetTextFaceW@12
244GetTextMetricsA@8
245GetTextMetricsW@8
246GetTransform@12
247GetViewportExtEx@8
248GetViewportOrgEx@8
249GetWinMetaFileBits@20
250GetWindowExtEx@8
251GetWindowOrgEx@8
252GetWorldTransform@8
253IntersectClipRect@20
254InvertRgn@8
255LPtoDP@12
256LineDDA@24
257LineTo@12
258MaskBlt@48
259ModifyWorldTransform@12
260MoveToEx@16
261NamedEscape@28
262OffsetClipRgn@12
263OffsetRgn@12
264OffsetViewportOrgEx@16
265OffsetWindowOrgEx@16
266PaintRgn@8
267PatBlt@24
268PathToRegion@4
269Pie@36
270PlayEnhMetaFile@12
271PlayEnhMetaFileRecord@16
272PlayMetaFile@8
273PlayMetaFileRecord@16
274PlgBlt@40
275PolyBezier@12
276PolyBezierTo@12
277PolyDraw@16
278PolyPolygon@16
279PolyPolyline@16
280PolyTextOutA@12
281PolyTextOutW@12
282Polygon@12
283Polyline@12
284PolylineTo@12
285PtInRegion@12
286PtVisible@12
287RealizePalette@4
288RectInRegion@8
289RectVisible@8
290Rectangle@20
291RemoveFontMemResourceEx@4
292RemoveFontResourceA@4
293RemoveFontResourceW@4
294RemoveFontResourceExA@12
295RemoveFontResourceExW@12
296ResetDCA@8
297ResetDCW@8
298ResizePalette@8
299RestoreDC@8
300RoundRect@28
301SaveDC@4
302ScaleViewportExtEx@24
303ScaleWindowExtEx@24
304SelectBrushLocal@8
305SelectClipPath@8
306SelectClipRgn@8
307SelectFontLocal@8
308SelectObject@8
309SelectPalette@12
310SetAbortProc@8
311SetArcDirection@8
312SetBitmapBits@12
313SetBitmapDimensionEx@16
314SetBkColor@8
315SetBkMode@8
316SetBoundsRect@12
317SetBrushOrgEx@16
318SetColorAdjustment@8
319SetColorSpace@8
320SetDCBrushColor@8
321SetDCPenColor@8
322SetDIBColorTable@16
323SetDIBits@28
324SetDIBitsToDevice@48
325SetDeviceGammaRamp@8
326SetEnhMetaFileBits@8
327SetFontEnumeration@4
328SetGraphicsMode@8
329SetICMMode@8
330SetICMProfileA@8
331SetICMProfileW@8
332SetLayout@8
333SetMagicColors@12
334SetMapMode@8
335SetMapperFlags@8
336SetMetaFileBitsEx@8
337SetMetaRgn@4
338SetMiterLimit@12
339SetPaletteEntries@16
340SetPixel@16
341SetPixelFormat@12
342SetPixelV@16
343SetPolyFillMode@8
344SetROP2@8
345SetRectRgn@20
346SetRelAbs@8
347SetStretchBltMode@8
348SetSystemPaletteUse@8
349SetTextAlign@8
350SetTextCharacterExtra@8
351SetTextColor@8
352SetTextJustification@12
353SetViewportExtEx@16
354SetViewportOrgEx@16
355SetVirtualResolution@20
356SetWinMetaFileBits@16
357SetWindowExtEx@16
358SetWindowOrgEx@16
359SetWorldTransform@8
360StartDocA@8
361StartDocW@8
362StartPage@4
363StretchBlt@44
364StretchDIBits@52
365StrokeAndFillPath@4
366StrokePath@4
367SwapBuffers@4
368TextOutA@20
369TextOutW@20
370TranslateCharsetInfo@12
371UnrealizeObject@4
372UpdateColors@4
373UpdateICMRegKeyA@16
374UpdateICMRegKeyW@16
375WidenPath@4
376gdiPlaySpoolStream@24
lib/libc/mingw/lib32/imm32.def created+136
......@@ -0,0 +1,136 @@
1LIBRARY IMM32.DLL
2EXPORTS
3CtfImmAppCompatEnableIMEonProtectedCode
4CtfImmCoUninitialize
5CtfImmDispatchDefImeMessage@16
6CtfImmEnterCoInitCountSkipMode
7CtfImmGenerateMessage@8
8CtfImmGetCompatibleKeyboardLayout@4
9CtfImmGetGuidAtom@12
10CtfImmGetIMEFileName@8
11CtfImmGetTMAEFlags
12CtfImmHideToolbarWnd
13CtfImmIsCiceroEnabled
14CtfImmIsCiceroStartedInThread
15CtfImmIsGuidMapEnable@4
16CtfImmIsTextFrameServiceDisabled
17CtfImmLastEnabledWndDestroy@4
18CtfImmLeaveCoInitCountSkipMode
19CtfImmNotify@12
20CtfImmRestoreToolbarWnd@4
21CtfImmSetAppCompatFlags@4
22CtfImmSetCiceroStartInThread@4
23CtfImmSetDefaultRemoteKeyboardLayout@8
24CtfImmTIMActivate@8
25GetKeyboardLayoutCP@4
26ImmActivateLayout@4
27ImmAssociateContext@8
28ImmAssociateContextEx@12
29ImmCallImeConsoleIME@20
30ImmConfigureIMEA@16
31ImmConfigureIMEW@16
32ImmCreateContext@0
33ImmCreateIMCC@4
34ImmCreateSoftKeyboard@16
35ImmDestroyContext@4
36ImmDestroyIMCC@4
37ImmDestroySoftKeyboard@4
38ImmDisableIME@4
39ImmDisableIme@4
40ImmDisableTextFrameService@4
41ImmEnumInputContext@12
42ImmEnumRegisterWordA@24
43ImmEnumRegisterWordW@24
44ImmEscapeA@16
45ImmEscapeW@16
46ImmFreeLayout@4
47ImmGenerateMessage@4
48ImmGetAppCompatFlags@4
49ImmGetCandidateListA@16
50ImmGetCandidateListCountA@8
51ImmGetCandidateListCountW@8
52ImmGetCandidateListW@16
53ImmGetCandidateWindow@12
54ImmGetCompositionFontA@8
55ImmGetCompositionFontW@8
56ImmGetCompositionStringA@16
57ImmGetCompositionStringW@16
58ImmGetCompositionWindow@8
59ImmGetContext@4
60ImmGetConversionListA@24
61ImmGetConversionListW@24
62ImmGetConversionStatus@12
63ImmGetDefaultIMEWnd@4
64ImmGetDescriptionA@12
65ImmGetDescriptionW@12
66ImmGetGuideLineA@16
67ImmGetGuideLineW@16
68ImmGetHotKey@16
69ImmGetIMCCLockCount@4
70ImmGetIMCCSize@4
71ImmGetIMCLockCount@4
72ImmGetIMEFileNameA@12
73ImmGetIMEFileNameW@12
74ImmGetImeInfoEx@12
75ImmGetImeMenuItemsA@24
76ImmGetImeMenuItemsW@24
77ImmGetOpenStatus@4
78ImmGetProperty@8
79ImmGetRegisterWordStyleA@12
80ImmGetRegisterWordStyleW@12
81ImmGetStatusWindowPos@8
82ImmGetVirtualKey@4
83ImmIMPGetIMEA@8
84ImmIMPGetIMEW@8
85ImmIMPQueryIMEA@4
86ImmIMPQueryIMEW@4
87ImmIMPSetIMEA@8
88ImmIMPSetIMEW@8
89ImmInstallIMEA@8
90ImmInstallIMEW@8
91ImmIsIME@4
92ImmIsUIMessageA@16
93ImmIsUIMessageW@16
94ImmLoadIME@4
95ImmLoadLayout@8
96ImmLockClientImc@4
97ImmLockIMC@4
98ImmLockIMCC@4
99ImmLockImeDpi@4
100ImmNotifyIME@16
101ImmProcessKey@20
102ImmPutImeMenuItemsIntoMappedFile@4
103ImmReSizeIMCC@8
104ImmRegisterClient@8
105ImmRegisterWordA@16
106ImmRegisterWordW@16
107ImmReleaseContext@8
108ImmRequestMessageA@12
109ImmRequestMessageW@12
110ImmSendIMEMessageExA@8
111ImmSendIMEMessageExW@8
112ImmSetActiveContext@12
113ImmSetActiveContextConsoleIME@8
114ImmSetCandidateWindow@8
115ImmSetCompositionFontA@8
116ImmSetCompositionFontW@8
117ImmSetCompositionStringA@24
118ImmSetCompositionStringW@24
119ImmSetCompositionWindow@8
120ImmSetConversionStatus@12
121ImmSetHotKey@16
122ImmSetOpenStatus@8
123ImmSetStatusWindowPos@8
124ImmShowSoftKeyboard@8
125ImmSimulateHotKey@8
126ImmSystemHandler@12
127ImmTranslateMessage@16
128ImmUnlockClientImc@4
129ImmUnlockIMC@4
130ImmUnlockIMCC@4
131ImmUnlockImeDpi@4
132ImmUnregisterWordA@16
133ImmUnregisterWordW@16
134ImmWINNLSEnableIME@8
135ImmWINNLSGetEnableStatus@4
136ImmWINNLSGetIMEHotkey@4
lib/libc/mingw/lib32/kernel32.def created+1660
......@@ -0,0 +1,1660 @@
1;
2; Definition file of KERNEL32.dll
3; Automatic generated by gendef
4; written by Kai Tietz 2008
5;
6LIBRARY "KERNEL32.dll"
7EXPORTS
8BaseThreadInitThunk@4
9InterlockedPushListSList@8
10AcquireSRWLockExclusive@4
11AcquireSRWLockShared@4
12ActivateActCtx@8
13ActivateActCtxWorker@8
14AddAtomA@4
15AddAtomW@4
16AddConsoleAliasA@12
17AddConsoleAliasW@12
18AddDllDirectory@4
19AddIntegrityLabelToBoundaryDescriptor@8
20AddLocalAlternateComputerNameA@8
21AddLocalAlternateComputerNameW@8
22AddRefActCtx@4
23AddRefActCtxWorker@4
24AddResourceAttributeAce@28
25AddSIDToBoundaryDescriptor@8
26AddScopedPolicyIDAce@20
27AddSecureMemoryCacheCallback@4
28AddVectoredContinueHandler@8
29AddVectoredExceptionHandler@8
30AdjustCalendarDate@12
31AllocConsole@0
32AllocateUserPhysicalPages@12
33AllocateUserPhysicalPagesNuma@16
34AppPolicyGetClrCompat@8
35AppPolicyGetCreateFileAccess@8
36AAppPolicyGetLifecycleManagement@8
37AppPolicyGetMediaFoundationCodecLoading@8
38AppPolicyGetProcessTerminationMethod@8
39AppPolicyGetShowDeveloperDiagnostic@8
40AppPolicyGetThreadInitializationType@8
41AppPolicyGetWindowingModel@8
42AppXGetOSMaxVersionTested@8
43ApplicationRecoveryFinished@4
44ApplicationRecoveryInProgress@4
45AreFileApisANSI@0
46AssignProcessToJobObject@8
47AttachConsole@4
48BackupRead@28
49BackupSeek@24
50BackupWrite@28
51BaseAttachCompleteThunk@0
52BaseCheckAppcompatCache@16
53BaseCheckAppcompatCacheEx@24
54BaseCheckAppcompatCacheExWorker@36
55BaseCheckAppcompatCacheWorker@16
56BaseCheckElevation@48
57BaseCheckRunApp@52
58BaseCleanupAppcompatCacheSupport@4
59BaseDllReadWriteIniFile@32
60BaseDumpAppcompatCache@0
61BaseDumpAppcompatCacheWorker@0
62BaseElevationPostProcessing@12
63BaseFlushAppcompatCache@0
64BaseFlushAppcompatCacheWorker@0
65BaseFormatObjectAttributes@16
66BaseFormatTimeOut@8
67BaseFreeAppCompatDataForProcessWorker@4
68BaseGenerateAppCompatData@24
69BaseGetNamedObjectDirectory@4
70BaseInitAppcompatCacheSupport@0
71BaseInitAppcompatCacheSupportWorker@0
72BaseIsAppcompatInfrastructureDisabled@0
73BaseIsAppcompatInfrastructureDisabledWorker@0
74BaseIsDosApplication@8
75BaseQueryModuleData@28
76BaseReadAppCompatDataForProcessWorker@12
77BaseSetLastNTError@4
78BaseUpdateAppcompatCache@12
79BaseUpdateAppcompatCacheWorker@12
80BaseUpdateVDMEntry@16
81BaseVerifyUnicodeString@4
82BaseWriteErrorElevationRequiredEvent@0
83Basep8BitStringToDynamicUnicodeString@8
84BasepAllocateActivationContextActivationBlock@16
85BasepAnsiStringToDynamicUnicodeString@8
86BasepAppContainerEnvironmentExtension@12
87BasepAppXExtension@24
88BasepCheckAppCompat@16
89BasepCheckBadapp@56
90BasepCheckWebBladeHashes@4
91BasepCheckWinSaferRestrictions@28
92BasepConstructSxsCreateProcessMessage@80
93BasepCopyEncryption@12
94BasepFreeActivationContextActivationBlock@4
95BasepFreeAppCompatData@12
96BasepGetAppCompatData@60
97BasepGetComputerNameFromNtPath@16
98BasepGetExeArchType@12
99BasepInitAppCompatData@12
100BasepIsProcessAllowed@4
101BasepMapModuleHandle@8
102BasepNotifyLoadStringResource@16
103BasepPostSuccessAppXExtension@8
104BasepProcessInvalidImage@84
105BasepQueryAppCompat@72
106BasepQueryModuleChpeSettings@40
107BasepReleaseAppXContext@4
108BasepReleaseSxsCreateProcessUtilityStruct@4
109BasepReportFault@8
110BasepSetFileEncryptionCompression@32
111Beep@8
112BeginUpdateResourceA@8
113BeginUpdateResourceW@8
114BindIoCompletionCallback@12
115BuildCommDCBA@8
116BuildCommDCBAndTimeoutsA@12
117BuildCommDCBAndTimeoutsW@12
118BuildCommDCBW@8
119CallNamedPipeA@28
120CallNamedPipeW@28
121CallbackMayRunLong@4
122CancelDeviceWakeupRequest@4
123CancelIo@4
124CancelIoEx@8
125CancelSynchronousIo@4
126CancelThreadpoolIo@4
127CancelTimerQueueTimer@8
128CancelWaitableTimer@4
129CeipIsOptedIn@0
130ChangeTimerQueueTimer@16
131CheckAllowDecryptedRemoteDestinationPolicy@0
132CheckElevation@20
133CheckElevationEnabled@4
134CheckForReadOnlyResource@8
135CheckForReadOnlyResourceFilter@4
136CheckNameLegalDOS8Dot3A@20
137CheckNameLegalDOS8Dot3W@20
138CheckRemoteDebuggerPresent@8
139CheckTokenCapability@12
140CheckTokenMembershipEx@16
141ClearCommBreak@4
142ClearCommError@12
143CloseConsoleHandle@4
144CloseHandle@4
145ClosePackageInfo@4
146ClosePrivateNamespace@8
147CloseProfileUserMapping@0
148ClosePseudoConsole@4
149CloseState@4
150CloseThreadpool@4
151CloseThreadpoolCleanupGroup@4
152CloseThreadpoolCleanupGroupMembers@12
153CloseThreadpoolIo@4
154CloseThreadpoolTimer@4
155CloseThreadpoolWait@4
156CloseThreadpoolWork@4
157CmdBatNotification@4
158CommConfigDialogA@12
159CommConfigDialogW@12
160CompareCalendarDates@12
161CompareFileTime@8
162CompareStringA@24
163CompareStringEx@36
164CompareStringOrdinal@20
165CompareStringW@24
166ConnectNamedPipe@8
167ConsoleIMERoutine@4
168ConsoleMenuControl@12
169ContinueDebugEvent@12
170ConvertCalDateTimeToSystemTime@8
171ConvertDefaultLocale@4
172ConvertFiberToThread@0
173ConvertNLSDayOfWeekToWin32DayOfWeek@4
174ConvertSystemTimeToCalDateTime@12
175ConvertThreadToFiber@4
176ConvertThreadToFiberEx@8
177ConvertToGlobalHandle@4
178CopyContext@12
179CopyFile2@12
180CopyFileA@12
181CopyFileExA@24
182CopyFileExW@24
183CopyFileTransactedA@28
184CopyFileTransactedW@28
185CopyFileW@12
186CopyLZFile@8
187CreateActCtxA@4
188CreateActCtxW@4
189CreateActCtxWWorker@4
190CreateBoundaryDescriptorA@8
191CreateBoundaryDescriptorW@8
192CreateConsoleScreenBuffer@20
193CreateDirectoryA@8
194CreateDirectoryExA@12
195CreateDirectoryExW@12
196CreateDirectoryTransactedA@16
197CreateDirectoryTransactedW@16
198CreateDirectoryW@8
199CreateEnclave@32
200CreateEventA@16
201CreateEventExA@16
202CreateEventExW@16
203CreateEventW@16
204CreateFiber@12
205CreateFiberEx@20
206CreateFile2@20
207CreateFileA@28
208CreateFileMappingA@24
209CreateFileMappingFromApp@24
210CreateFileMappingNumaA@28
211CreateFileMappingNumaW@28
212CreateFileMappingW@24
213CreateFileTransactedA@40
214CreateFileTransactedW@40
215CreateFileW@28
216CreateHardLinkA@12
217CreateHardLinkTransactedA@16
218CreateHardLinkTransactedW@16
219CreateHardLinkW@12
220CreateIoCompletionPort@16
221CreateJobObjectA@8
222CreateJobObjectW@8
223CreateJobSet@12
224CreateMailslotA@16
225CreateMailslotW@16
226CreateMemoryResourceNotification@4
227CreateMutexA@12
228CreateMutexExA@16
229CreateMutexExW@16
230CreateMutexW@12
231CreateNamedPipeA@32
232CreateNamedPipeW@32
233CreatePipe@16
234CreatePrivateNamespaceA@12
235CreatePrivateNamespaceW@12
236CreateProcessA@40
237CreateProcessAsUserA@44
238CreateProcessAsUserW@44
239CreateProcessInternalA@48
240CreateProcessInternalW@48
241CreateProcessW@40
242CreatePseudoConsole@20
243CreateRemoteThread@28
244CreateRemoteThreadEx@32
245CreateSemaphoreA@16
246CreateSemaphoreExA@24
247CreateSemaphoreExW@24
248CreateSemaphoreW@16
249CreateSocketHandle@0
250CreateSymbolicLinkA@12
251CreateSymbolicLinkTransactedA@16
252CreateSymbolicLinkTransactedW@16
253CreateSymbolicLinkW@12
254CreateTapePartition@16
255CreateThread@24
256CreateThreadpool@4
257CreateThreadpoolCleanupGroup@0
258CreateThreadpoolIo@16
259CreateThreadpoolTimer@12
260CreateThreadpoolWait@12
261CreateThreadpoolWork@12
262CreateTimerQueue@0
263CreateTimerQueueTimer@28
264CreateToolhelp32Snapshot@8
265CreateVirtualBuffer@12
266CreateWaitableTimerA@12
267CreateWaitableTimerExA@16
268CreateWaitableTimerExW@16
269CreateWaitableTimerW@12
270CtrlRoutine@4
271DeactivateActCtx@8
272DeactivateActCtxWorker@8
273DebugActiveProcess@4
274DebugActiveProcessStop@4
275DebugBreak@0
276DebugBreakProcess@4
277DebugSetProcessKillOnExit@4
278DecodePointer@4
279DecodeSystemPointer@4
280DefineDosDeviceA@12
281DefineDosDeviceW@12
282DelayLoadFailureHook@8
283DeleteAtom@4
284DeleteBoundaryDescriptor@4
285DeleteCriticalSection@4
286DeleteFiber@4
287DeleteFileA@4
288DeleteFileTransactedA@8
289DeleteFileTransactedW@8
290DeleteFileW@4
291DeleteProcThreadAttributeList@4
292DeleteSynchronizationBarrier@4
293DeleteTimerQueue@4
294DeleteTimerQueueEx@8
295DeleteTimerQueueTimer@12
296DeleteVolumeMountPointA@4
297DeleteVolumeMountPointW@4
298DeviceIoControl@32
299DisableThreadLibraryCalls@4
300DisableThreadProfiling@4
301DisassociateCurrentThreadFromCallback@4
302DiscardVirtualMemory@8
303DisconnectNamedPipe@4
304DnsHostnameToComputerNameA@12
305DnsHostnameToComputerNameExW@12
306DnsHostnameToComputerNameW@12
307DosDateTimeToFileTime@12
308DosPathToSessionPathA@12
309DosPathToSessionPathW@12
310DuplicateConsoleHandle@16
311DuplicateEncryptionInfoFileExt@20
312DuplicateHandle@28
313EnableThreadProfiling@20
314EncodePointer@4
315EncodeSystemPointer@4
316EndUpdateResourceA@8
317EndUpdateResourceW@8
318EnterCriticalSection@4
319EnterSynchronizationBarrier@8
320EnumCalendarInfoA@16
321EnumCalendarInfoExA@16
322EnumCalendarInfoExEx@24
323EnumCalendarInfoExW@16
324EnumCalendarInfoW@16
325EnumDateFormatsA@12
326EnumDateFormatsExA@12
327EnumDateFormatsExEx@16
328EnumDateFormatsExW@12
329EnumDateFormatsW@12
330EnumLanguageGroupLocalesA@16
331EnumLanguageGroupLocalesW@16
332EnumResourceLanguagesA@20
333EnumResourceLanguagesExA@28
334EnumResourceLanguagesExW@28
335EnumResourceLanguagesW@20
336EnumResourceNamesA@16
337EnumResourceNamesExA@24
338EnumResourceNamesExW@24
339EnumResourceNamesW@16
340EnumResourceTypesA@12
341EnumResourceTypesExA@20
342EnumResourceTypesExW@20
343EnumResourceTypesW@12
344EnumSystemCodePagesA@8
345EnumSystemCodePagesW@8
346EnumSystemFirmwareTables@12
347EnumSystemGeoID@12
348EnumSystemGeoNames@12
349EnumSystemLanguageGroupsA@12
350EnumSystemLanguageGroupsW@12
351EnumSystemLocalesA@8
352EnumSystemLocalesEx@16
353EnumSystemLocalesW@8
354EnumTimeFormatsA@12
355EnumTimeFormatsEx@16
356EnumTimeFormatsW@12
357EnumUILanguagesA@12
358EnumUILanguagesW@12
359EnumerateLocalComputerNamesA@16
360EnumerateLocalComputerNamesW@16
361EraseTape@12
362EscapeCommFunction@8
363ExitProcess@4
364ExitThread@4
365ExitVDM@8
366ExpandEnvironmentStringsA@12
367ExpandEnvironmentStringsW@12
368ExpungeConsoleCommandHistoryA@4
369ExpungeConsoleCommandHistoryW@4
370ExtendVirtualBuffer@8
371FatalAppExitA@8
372FatalAppExitW@8
373FatalExit@4
374FileTimeToDosDateTime@12
375FileTimeToLocalFileTime@8
376FileTimeToSystemTime@8
377FillConsoleOutputAttribute@20
378FillConsoleOutputCharacterA@20
379FillConsoleOutputCharacterW@20
380FindActCtxSectionGuid@20
381FindActCtxSectionGuidWorker@20
382FindActCtxSectionStringA@20
383FindActCtxSectionStringW@20
384FindActCtxSectionStringWWorker@20
385FindAtomA@4
386FindAtomW@4
387FindClose@4
388FindCloseChangeNotification@4
389FindFirstChangeNotificationA@12
390FindFirstChangeNotificationW@12
391FindFirstFileA@8
392FindFirstFileExA@24
393FindFirstFileExW@24
394FindFirstFileNameTransactedW@20
395FindFirstFileNameW@16
396FindFirstFileTransactedA@28
397FindFirstFileTransactedW@28
398FindFirstFileW@8
399FindFirstStreamTransactedW@20
400FindFirstStreamW@16
401FindFirstVolumeA@8
402FindFirstVolumeMountPointA@12
403FindFirstVolumeMountPointW@12
404FindFirstVolumeW@8
405FindNLSString@28
406FindNLSStringEx@40
407FindNextChangeNotification@4
408FindNextFileA@8
409FindNextFileNameW@12
410FindNextFileW@8
411FindNextStreamW@8
412FindNextVolumeA@12
413FindNextVolumeMountPointA@12
414FindNextVolumeMountPointW@12
415FindNextVolumeW@12
416FindPackagesByPackageFamily@28
417FindResourceA@12
418FindResourceExA@16
419FindResourceExW@16
420FindResourceW@12
421FindStringOrdinal@24
422FindVolumeClose@4
423FindVolumeMountPointClose@4
424FlsAlloc@4
425FlsFree@4
426FlsGetValue@4
427FlsSetValue@8
428FlushConsoleInputBuffer@4
429FlushFileBuffers@4
430FlushInstructionCache@12
431FlushProcessWriteBuffers@0
432FlushViewOfFile@8
433FoldStringA@20
434FoldStringW@20
435FormatApplicationUserModelId@16
436FormatMessageA@28
437FormatMessageW@28
438FreeConsole@0
439FreeEnvironmentStringsA@4
440FreeEnvironmentStringsW@4
441FreeLibrary@4
442FreeLibraryAndExitThread@8
443FreeLibraryWhenCallbackReturns@8
444FreeMemoryJobObject@4
445FreeResource@4
446FreeUserPhysicalPages@12
447FreeVirtualBuffer@4
448GenerateConsoleCtrlEvent@8
449GetACP@0
450GetActiveProcessorCount@4
451GetActiveProcessorGroupCount@0
452GetAppContainerAce@16
453GetAppContainerNamedObjectPath@20
454GetApplicationRecoveryCallback@20
455GetApplicationRecoveryCallbackWorker@20
456GetApplicationRestartSettings@16
457GetApplicationRestartSettingsWorker@16
458GetApplicationUserModelId@12
459GetAtomNameA@12
460GetAtomNameW@12
461GetBinaryType@8
462GetBinaryTypeA@8
463GetBinaryTypeW@8
464GetCPFileNameFromRegistry@12
465GetCPInfo@8
466GetCPInfoExA@12
467GetCPInfoExW@12
468GetCachedSigningLevel@24
469GetCalendarDateFormat@24
470GetCalendarDateFormatEx@24
471GetCalendarDaysInMonth@16
472GetCalendarDifferenceInDays@12
473GetCalendarInfoA@24
474GetCalendarInfoEx@28
475GetCalendarInfoW@24
476GetCalendarMonthsInYear@12
477GetCalendarSupportedDateRange@12
478GetCalendarWeekNumber@16
479GetComPlusPackageInstallStatus@0
480GetCommConfig@12
481GetCommMask@8
482GetCommModemStatus@8
483GetCommProperties@8
484GetCommState@8
485GetCommTimeouts@8
486GetCommandLineA@0
487GetCommandLineW@0
488GetCompressedFileSizeA@8
489GetCompressedFileSizeTransactedA@12
490GetCompressedFileSizeTransactedW@12
491GetCompressedFileSizeW@8
492GetComputerNameA@8
493GetComputerNameExA@12
494GetComputerNameExW@12
495GetComputerNameW@8
496GetConsoleAliasA@16
497GetConsoleAliasExesA@8
498GetConsoleAliasExesLengthA@0
499GetConsoleAliasExesLengthW@0
500GetConsoleAliasExesW@8
501GetConsoleAliasW@16
502GetConsoleAliasesA@12
503GetConsoleAliasesLengthA@4
504GetConsoleAliasesLengthW@4
505GetConsoleAliasesW@12
506GetConsoleCP@0
507GetConsoleCharType@12
508GetConsoleCommandHistoryA@12
509GetConsoleCommandHistoryLengthA@4
510GetConsoleCommandHistoryLengthW@4
511GetConsoleCommandHistoryW@12
512GetConsoleCursorInfo@8
513GetConsoleCursorMode@12
514GetConsoleDisplayMode@4
515GetConsoleFontInfo@16
516GetConsoleFontSize@8
517GetConsoleHardwareState@12
518GetConsoleHistoryInfo@4
519GetConsoleInputExeNameA@8
520GetConsoleInputExeNameW@8
521GetConsoleInputWaitHandle@0
522GetConsoleKeyboardLayoutNameA@4
523GetConsoleKeyboardLayoutNameW@4
524GetConsoleMode@8
525GetConsoleNlsMode@8
526GetConsoleOriginalTitleA@8
527GetConsoleOriginalTitleW@8
528GetConsoleOutputCP@0
529GetConsoleProcessList@8
530GetConsoleScreenBufferInfo@8
531GetConsoleScreenBufferInfoEx@8
532GetConsoleSelectionInfo@4
533GetConsoleTitleA@8
534GetConsoleTitleW@8
535GetConsoleWindow@0
536GetCurrencyFormatA@24
537GetCurrencyFormatEx@24
538GetCurrencyFormatW@24
539GetCurrentActCtx@4
540GetCurrentActCtxWorker@4
541GetCurrentApplicationUserModelId@8
542GetCurrentConsoleFont@12
543GetCurrentConsoleFontEx@12
544GetCurrentDirectoryA@8
545GetCurrentDirectoryW@8
546GetCurrentPackageFamilyName@8
547GetCurrentPackageFullName@8
548GetCurrentPackageId@8
549GetCurrentPackageInfo@16
550GetCurrentPackagePath@8
551GetCurrentProcess@0
552GetCurrentProcessId@0
553GetCurrentProcessorNumber@0
554GetCurrentProcessorNumberEx@4
555GetCurrentThread@0
556GetCurrentThreadId@0
557GetCurrentThreadStackLimits@8
558GetDateFormatA@24
559GetDateFormatAWorker@28
560GetDateFormatEx@28
561GetDateFormatW@24
562GetDateFormatWWorker@28
563GetDefaultCommConfigA@12
564GetDefaultCommConfigW@12
565GetDevicePowerState@8
566GetDiskFreeSpaceA@20
567GetDiskFreeSpaceExA@16
568GetDiskFreeSpaceExW@16
569GetDiskFreeSpaceW@20
570GetDiskSpaceInformationA@8
571GetDiskSpaceInformationW@8
572GetDllDirectoryA@8
573GetDllDirectoryW@8
574GetDriveTypeA@4
575GetDriveTypeW@4
576GetDurationFormat@32
577GetDurationFormatEx@32
578GetDynamicTimeZoneInformation@4
579GetEnabledXStateFeatures@0
580GetEncryptedFileVersionExt@8
581GetEnvironmentStrings@0
582GetEnvironmentStringsA@0
583GetEnvironmentStringsW@0
584GetEnvironmentVariableA@12
585GetEnvironmentVariableW@12
586GetEraNameCountedString@16
587GetErrorMode@0
588GetExitCodeProcess@8
589GetExitCodeThread@8
590GetExpandedNameA@8
591GetExpandedNameW@8
592GetFileAttributesA@4
593GetFileAttributesExA@12
594GetFileAttributesExW@12
595GetFileAttributesTransactedA@16
596GetFileAttributesTransactedW@16
597GetFileAttributesW@4
598GetFileBandwidthReservation@24
599GetFileInformationByHandle@8
600GetFileInformationByHandleEx@16
601GetFileMUIInfo@16
602GetFileMUIPath@28
603GetFileSize@8
604GetFileSizeEx@8
605GetFileTime@16
606GetFileType@4
607GetFinalPathNameByHandleA@16
608GetFinalPathNameByHandleW@16
609GetFirmwareEnvironmentVariableA@16
610GetFirmwareEnvironmentVariableExA@20
611GetFirmwareEnvironmentVariableExW@20
612GetFirmwareEnvironmentVariableW@16
613GetFirmwareType@4
614GetFullPathNameA@16
615GetFullPathNameTransactedA@20
616GetFullPathNameTransactedW@20
617GetFullPathNameW@16
618GetGeoInfoA@20
619GetGeoInfoEx@16
620GetGeoInfoW@20
621GetHandleContext@4
622GetHandleInformation@8
623GetLargePageMinimum@0
624GetLargestConsoleWindowSize@4
625GetLastError@0
626GetLocalTime@4
627GetLocaleInfoA@16
628GetLocaleInfoEx@16
629GetLocaleInfoW@16
630GetLogicalDriveStringsA@8
631GetLogicalDriveStringsW@8
632GetLogicalDrives@0
633GetLogicalProcessorInformation@8
634GetLogicalProcessorInformationEx@12
635GetLongPathNameA@12
636GetLongPathNameTransactedA@16
637GetLongPathNameTransactedW@16
638GetLongPathNameW@12
639GetMailslotInfo@20
640GetMaximumProcessorCount@4
641GetMaximumProcessorGroupCount@0
642GetMemoryErrorHandlingCapabilities@4
643GetModuleFileNameA@12
644GetModuleFileNameW@12
645GetModuleHandleA@4
646GetModuleHandleExA@12
647GetModuleHandleExW@12
648GetModuleHandleW@4
649GetNLSVersion@12
650GetNLSVersionEx@12
651GetNamedPipeAttribute@20
652GetNamedPipeClientComputerNameA@12
653GetNamedPipeClientComputerNameW@12
654GetNamedPipeClientProcessId@8
655GetNamedPipeClientSessionId@8
656GetNamedPipeHandleStateA@28
657GetNamedPipeHandleStateW@28
658GetNamedPipeInfo@20
659GetNamedPipeServerProcessId@8
660GetNamedPipeServerSessionId@8
661GetNativeSystemInfo@4
662GetNextVDMCommand@4
663GetNumaAvailableMemoryNode@8
664GetNumaAvailableMemoryNodeEx@8
665GetNumaHighestNodeNumber@4
666GetNumaNodeNumberFromHandle@8
667GetNumaNodeProcessorMask@8
668GetNumaNodeProcessorMaskEx@8
669GetNumaProcessorNode@8
670GetNumaProcessorNodeEx@8
671GetNumaProximityNode@8
672GetNumaProximityNodeEx@8
673GetNumberFormatA@24
674GetNumberFormatEx@24
675GetNumberFormatW@24
676GetNumberOfConsoleFonts@0
677GetNumberOfConsoleInputEvents@8
678GetNumberOfConsoleMouseButtons@4
679GetOEMCP@0
680GetOverlappedResult@16
681GetOverlappedResultEx@20
682GetPackageApplicationIds@16
683GetPackageFamilyName@12
684GetPackageFullName@12
685GetPackageId@12
686GetPackageInfo@20
687GetPackagePath@24
688GetPackagePathByFullName@12
689GetPackagesByPackageFamily@20
690GetPhysicallyInstalledSystemMemory@4
691GetPriorityClass@4
692GetPrivateProfileIntA@16
693GetPrivateProfileIntW@16
694GetPrivateProfileSectionA@16
695GetPrivateProfileSectionNamesA@12
696GetPrivateProfileSectionNamesW@12
697GetPrivateProfileSectionW@16
698GetPrivateProfileStringA@24
699GetPrivateProfileStringW@24
700GetPrivateProfileStructA@20
701GetPrivateProfileStructW@20
702GetProcAddress@8
703GetProcessAffinityMask@12
704GetProcessDEPPolicy@12
705GetProcessDefaultCpuSets@16
706GetProcessGroupAffinity@12
707GetProcessHandleCount@8
708GetProcessHeap@0
709GetProcessHeaps@8
710GetProcessId@4
711GetProcessIdOfThread@4
712GetProcessInformation@16
713GetProcessIoCounters@8
714GetProcessMitigationPolicy@16
715GetProcessPreferredUILanguages@16
716GetProcessPriorityBoost@8
717GetProcessShutdownParameters@8
718GetProcessTimes@20
719GetProcessUserModeExceptionPolicy@4
720GetProcessVersion@4
721GetProcessWorkingSetSize@12
722GetProcessWorkingSetSizeEx@16
723GetProcessorSystemCycleTime@12
724GetProductInfo@20
725GetProductName@8
726GetProfileIntA@12
727GetProfileIntW@12
728GetProfileSectionA@12
729GetProfileSectionW@12
730GetProfileStringA@20
731GetProfileStringW@20
732GetQueuedCompletionStatus@20
733GetQueuedCompletionStatusEx@24
734GetShortPathNameA@12
735GetShortPathNameW@12
736GetStagedPackagePathByFullName@12
737GetStartupInfoA@4
738GetStartupInfoW@4
739GetStateFolder@16
740GetStdHandle@4
741GetStringScripts@20
742GetStringTypeA@20
743GetStringTypeExA@20
744GetStringTypeExW@20
745GetStringTypeW@16
746GetSystemAppDataKey@16
747GetSystemCpuSetInformation@20
748GetSystemDEPPolicy@0
749GetSystemDefaultLCID@0
750GetSystemDefaultLangID@0
751GetSystemDefaultLocaleName@8
752GetSystemDefaultUILanguage@0
753GetSystemDirectoryA@8
754GetSystemDirectoryW@8
755GetSystemFileCacheSize@12
756GetSystemFirmwareTable@16
757GetSystemInfo@4
758GetSystemPowerStatus@4
759GetSystemPreferredUILanguages@16
760GetSystemRegistryQuota@8
761GetSystemTime@4
762GetSystemTimeAdjustment@12
763GetSystemTimeAsFileTime@4
764GetSystemTimePreciseAsFileTime@4
765GetSystemTimes@12
766GetSystemWindowsDirectoryA@8
767GetSystemWindowsDirectoryW@8
768GetSystemWow64DirectoryA@8
769GetSystemWow64DirectoryW@8
770GetTapeParameters@16
771GetTapePosition@20
772GetTapeStatus@4
773GetTempFileNameA@16
774GetTempFileNameW@16
775GetTempPathA@8
776GetTempPathW@8
777GetThreadContext@8
778GetThreadDescription@8
779GetThreadErrorMode@0
780GetThreadGroupAffinity@8
781GetThreadIOPendingFlag@8
782GetThreadId@4
783GetThreadIdealProcessorEx@8
784GetThreadInformation@16
785GetThreadLocale@0
786GetThreadPreferredUILanguages@16
787GetThreadPriority@4
788GetThreadPriorityBoost@8
789GetThreadSelectedCpuSets@16
790GetThreadSelectorEntry@12
791GetThreadTimes@20
792GetThreadUILanguage@0
793GetTickCount64@0
794GetTickCount@0
795GetTimeFormatA@24
796GetTimeFormatAWorker@28
797GetTimeFormatEx@24
798GetTimeFormatW@24
799GetTimeFormatWWorker@24
800GetTimeZoneInformation@4
801GetTimeZoneInformationForYear@12
802GetUILanguageInfo@20
803GetUserDefaultGeoName@8
804GetUserDefaultLCID@0
805GetUserDefaultLangID@0
806GetUserDefaultLocaleName@8
807GetUserDefaultUILanguage@0
808GetUserGeoID@4
809GetUserPreferredUILanguages@16
810GetVDMCurrentDirectories@8
811GetVersion@0
812GetVersionExA@4
813GetVersionExW@4
814GetVolumeInformationA@32
815GetVolumeInformationByHandleW@32
816GetVolumeInformationW@32
817GetVolumeNameForVolumeMountPointA@12
818GetVolumeNameForVolumeMountPointW@12
819GetVolumePathNameA@12
820GetVolumePathNameW@12
821GetVolumePathNamesForVolumeNameA@16
822GetVolumePathNamesForVolumeNameW@16
823GetWindowsDirectoryA@8
824GetWindowsDirectoryW@8
825GetWriteWatch@24
826GetXStateFeaturesMask@8
827GlobalAddAtomA@4
828GlobalAddAtomExA@8
829GlobalAddAtomExW@8
830GlobalAddAtomW@4
831GlobalAlloc@8
832GlobalCompact@4
833GlobalDeleteAtom@4
834GlobalFindAtomA@4
835GlobalFindAtomW@4
836GlobalFix@4
837GlobalFlags@4
838GlobalFree@4
839GlobalGetAtomNameA@12
840GlobalGetAtomNameW@12
841GlobalHandle@4
842GlobalLock@4
843GlobalMemoryStatus@4
844GlobalMemoryStatusEx@4
845GlobalMemoryStatusVlm@4
846GlobalReAlloc@12
847GlobalSize@4
848GlobalUnWire@4
849GlobalUnfix@4
850GlobalUnlock@4
851GlobalWire@4
852Heap32First@12
853Heap32ListFirst@8
854Heap32ListNext@8
855Heap32Next@4
856HeapAlloc@12
857HeapCompact@8
858HeapCreate@12
859HeapCreateTagsW@16
860HeapDestroy@4
861HeapExtend@16
862HeapFree@12
863HeapLock@4
864HeapQueryInformation@20
865HeapQueryTagW@20
866HeapReAlloc@16
867HeapSetInformation@16
868HeapSize@12
869HeapSummary@12
870HeapUnlock@4
871HeapUsage@20
872HeapValidate@12
873HeapWalk@8
874IdnToAscii@20
875IdnToNameprepUnicode@20
876IdnToUnicode@20
877InitAtomTable@4
878InitializeCriticalSection@4
879InitOnceBeginInitialize@16
880InitOnceComplete@12
881InitOnceExecuteOnce@16
882InitOnceInitialize@4
883InitializeConditionVariable@4
884InitializeContext2@24
885InitializeContext@16
886InitializeCriticalSection@4
887InitializeCriticalSectionAndSpinCount@8
888InitializeCriticalSectionEx@12
889InitializeEnclave@20
890InitializeProcThreadAttributeList@16
891InitializeSListHead@4
892InitializeSRWLock@4
893InitializeSynchronizationBarrier@12
894InstallELAMCertificateInfo@4
895InterlockedCompareExchange64@20 DATA ; FIXME: this is for Vista+. forwards to NTDLL.RtlInterlockedCompareExchange64@20
896InterlockedCompareExchange@12 DATA
897InterlockedDecrement@4 DATA
898InterlockedExchange@8 DATA
899InterlockedExchangeAdd@8 DATA
900InterlockedFlushSList@4
901InterlockedIncrement@4 DATA
902InterlockedPopEntrySList@4
903InterlockedPushEntrySList@8
904InterlockedPushListSListEx@16
905InvalidateConsoleDIBits@8
906IsBadCodePtr@4
907IsBadHugeReadPtr@8
908IsBadHugeWritePtr@8
909IsBadReadPtr@8
910IsBadStringPtrA@8
911IsBadStringPtrW@8
912IsBadWritePtr@8
913IsCalendarLeapDay@20
914IsCalendarLeapMonth@16
915IsCalendarLeapYear@12
916IsDBCSLeadByte@4
917IsDBCSLeadByteEx@8
918IsDebuggerPresent@0
919IsEnclaveTypeSupported@4
920IsNLSDefinedString@20
921IsNativeVhdBoot@4
922IsNormalizedString@12
923IsProcessCritical@8
924IsProcessInJob@12
925IsProcessorFeaturePresent@4
926IsSystemResumeAutomatic@0
927IsThreadAFiber@0
928IsThreadpoolTimerSet@4
929IsTimeZoneRedirectionEnabled@0
930IsValidCalDateTime@8
931IsValidCodePage@4
932IsValidLanguageGroup@8
933IsValidLocale@8
934IsValidLocaleName@4
935IsValidNLSVersion@12
936IsWow64GuestMachineSupported@8
937IsWow64Process2@12
938IsWow64Process@8
939K32EmptyWorkingSet@4
940K32EnumDeviceDrivers@12
941K32EnumPageFilesA@8
942K32EnumPageFilesW@8
943K32EnumProcessModules@16
944K32EnumProcessModulesEx@20
945K32EnumProcesses@12
946K32GetDeviceDriverBaseNameA@12
947K32GetDeviceDriverBaseNameW@12
948K32GetDeviceDriverFileNameA@12
949K32GetDeviceDriverFileNameW@12
950K32GetMappedFileNameA@16
951K32GetMappedFileNameW@16
952K32GetModuleBaseNameA@16
953K32GetModuleBaseNameW@16
954K32GetModuleFileNameExA@16
955K32GetModuleFileNameExW@16
956K32GetModuleInformation@16
957K32GetPerformanceInfo@8
958K32GetProcessImageFileNameA@12
959K32GetProcessImageFileNameW@12
960K32GetProcessMemoryInfo@12
961K32GetWsChanges@12
962K32GetWsChangesEx@12
963K32InitializeProcessForWsWatch@4
964K32QueryWorkingSet@12
965K32QueryWorkingSetEx@12
966LCIDToLocaleName@16
967LCMapStringA@24
968LCMapStringEx@36
969LCMapStringW@24
970LZClose@4
971LZCloseFile@4
972LZCopy@8
973LZCreateFileW@20
974LZDone@0
975LZInit@4
976LZOpenFileA@12
977LZOpenFileW@12
978LZRead@12
979LZSeek@12
980LZStart@0
981LeaveCriticalSection@4
982LeaveCriticalSectionWhenCallbackReturns@8
983LoadAppInitDlls@0
984LoadEnclaveData@36
985LoadLibraryA@4
986LoadLibraryExA@12
987LoadLibraryExW@12
988LoadLibraryW@4
989LoadModule@8
990LoadPackagedLibrary@8
991LoadResource@8
992LoadStringBaseExW@20
993LoadStringBaseW@16
994LocalAlloc@8
995LocalCompact@4
996LocalFileTimeToFileTime@8
997LocalFileTimeToLocalSystemTime@12
998LocalFlags@4
999LocalFree@4
1000LocalHandle@4
1001LocalLock@4
1002LocalReAlloc@12
1003LocalShrink@8
1004LocalSize@4
1005LocalSystemTimeToLocalFileTime@12
1006LocalUnlock@4
1007LocaleNameToLCID@8
1008LocateXStateFeature@12
1009LockFile@20
1010LockFileEx@24
1011LockResource@4
1012MapUserPhysicalPages@12
1013MapUserPhysicalPagesScatter@12
1014MapViewOfFile@20
1015MapViewOfFileEx@24
1016MapViewOfFileExNuma@28
1017MapViewOfFileVlm@28
1018MapViewOfFileFromApp@20
1019Module32First@8
1020Module32FirstW@8
1021Module32Next@8
1022Module32NextW@8
1023MoveFileA@8
1024MoveFileExA@12
1025MoveFileExW@12
1026MoveFileTransactedA@24
1027MoveFileTransactedW@24
1028MoveFileW@8
1029MoveFileWithProgressA@20
1030MoveFileWithProgressW@20
1031MulDiv@12
1032MultiByteToWideChar@24
1033NeedCurrentDirectoryForExePathA@4
1034NeedCurrentDirectoryForExePathW@4
1035NlsCheckPolicy@8
1036NlsConvertIntegerToString@20
1037NlsEventDataDescCreate@16
1038NlsGetCacheUpdateCount@0
1039NlsUpdateLocale@8
1040NlsUpdateSystemLocale@8
1041NlsWriteEtwEvent@20
1042NormalizeString@20
1043NotifyMountMgr@12
1044NotifyUILanguageChange@20
1045NtVdm64CreateProcessInternalW@48
1046OOBEComplete@4
1047OfferVirtualMemory@12
1048OpenConsoleW@16
1049OpenConsoleWStub@16
1050OpenEventA@12
1051OpenEventW@12
1052OpenFile@12
1053OpenFileById@24
1054OpenFileMappingA@12
1055OpenFileMappingW@12
1056OpenJobObjectA@12
1057OpenJobObjectW@12
1058OpenMutexA@12
1059OpenMutexW@12
1060OpenPackageInfoByFullName@12
1061OpenPrivateNamespaceA@8
1062OpenPrivateNamespaceW@8
1063OpenProcess@12
1064; MSDN says OpenProcessToken is from Advapi32.dll, not Kernel32.dll
1065; OpenProcessToken@12
1066OpenProfileUserMapping@0
1067OpenSemaphoreA@12
1068OpenSemaphoreW@12
1069OpenState@0
1070OpenStateExplicit@8
1071OpenThread@12
1072OpenThreadToken@16
1073OpenWaitableTimerA@12
1074OpenWaitableTimerW@12
1075OutputDebugStringA@4
1076OutputDebugStringW@4
1077PackageFamilyNameFromFullName@12
1078PackageFamilyNameFromId@12
1079PackageFullNameFromId@12
1080PackageIdFromFullName@16
1081PackageNameAndPublisherIdFromFamilyName@20
1082ParseApplicationUserModelId@20
1083PeekConsoleInputA@16
1084PeekConsoleInputW@16
1085PeekNamedPipe@24
1086PostQueuedCompletionStatus@16
1087PowerClearRequest@8
1088PowerCreateRequest@4
1089PowerSetRequest@8
1090PrefetchVirtualMemory@16
1091PrepareTape@12
1092PrivCopyFileExW@24
1093PrivMoveFileIdentityW@12
1094Process32First@8
1095Process32FirstW@8
1096Process32Next@8
1097Process32NextW@8
1098ProcessIdToSessionId@8
1099PssCaptureSnapshot@16
1100PssDuplicateSnapshot@20
1101PssFreeSnapshot@8
1102PssQuerySnapshot@16
1103PssWalkMarkerCreate@8
1104PssWalkMarkerFree@4
1105PssWalkMarkerGetPosition@8
1106PssWalkMarkerRewind@4
1107PssWalkMarkerSeek@8
1108PssWalkMarkerSeekToBeginning@4
1109PssWalkMarkerSetPosition@8
1110PssWalkMarkerTell@8
1111PssWalkSnapshot@20
1112PulseEvent@4
1113PurgeComm@8
1114QueryActCtxSettingsW@28
1115QueryActCtxSettingsWWorker@28
1116QueryActCtxW@28
1117QueryActCtxWWorker@28
1118QueryDepthSList@4
1119QueryDosDeviceA@12
1120QueryDosDeviceW@12
1121QueryFullProcessImageNameA@16
1122QueryFullProcessImageNameW@16
1123QueryIdleProcessorCycleTime@8
1124QueryIdleProcessorCycleTimeEx@12
1125QueryInformationJobObject@20
1126QueryIoRateControlInformationJobObject@16
1127QueryMemoryResourceNotification@8
1128QueryPerformanceCounter@4
1129QueryPerformanceFrequency@4
1130QueryProcessAffinityUpdateMode@8
1131QueryProcessCycleTime@8
1132QueryProtectedPolicy@8
1133QueryThreadCycleTime@8
1134QueryThreadProfiling@8
1135QueryThreadpoolStackInformation@8
1136QueryUnbiasedInterruptTime@4
1137QueueUserAPC@12
1138QueueUserWorkItem@12
1139QueryWin31IniFilesMappedToRegistry@16
1140QuirkGetData2Worker@8
1141QuirkGetDataWorker@8
1142QuirkIsEnabled2Worker@12
1143QuirkIsEnabled3Worker@8
1144QuirkIsEnabledForPackage2Worker@24
1145QuirkIsEnabledForPackage3Worker@20
1146QuirkIsEnabledForPackage4Worker@20
1147QuirkIsEnabledForPackageWorker@16
1148QuirkIsEnabledForProcessWorker@12
1149QuirkIsEnabledWorker@4
1150RaiseException@16
1151RaiseFailFastException@12
1152RaiseInvalid16BitExeError@4
1153ReOpenFile@16
1154ReclaimVirtualMemory@8
1155ReadConsoleA@20
1156ReadConsoleInputA@16
1157ReadConsoleInputExA@20
1158ReadConsoleInputExW@20
1159ReadConsoleInputW@16
1160ReadConsoleOutputA@20
1161ReadConsoleOutputAttribute@20
1162ReadConsoleOutputCharacterA@20
1163ReadConsoleOutputCharacterW@20
1164ReadConsoleOutputW@20
1165ReadConsoleW@20
1166ReadDirectoryChangesExW@36
1167ReadDirectoryChangesW@32
1168ReadFile@20
1169ReadFileEx@20
1170ReadFileScatter@20
1171ReadFileVlm@20
1172ReadProcessMemory@20
1173ReadThreadProfilingData@12
1174ReclaimVirtualMemory@8
1175;
1176; MSDN says these functions are exported
1177; from advapi32.dll. Commented out for
1178; compatibility with older versions of
1179; Windows.
1180;
1181; RegKrnGetGlobalState and RegKrnInitialize
1182; are known exceptions.
1183;
1184;RegCloseKey@4
1185;RegCopyTreeW@12
1186;RegCreateKeyExA@36
1187;RegCreateKeyExW@36
1188;RegDeleteKeyExA@16
1189;RegDeleteKeyExW@16
1190;RegDeleteTreeA@8
1191;RegDeleteTreeW@8
1192;RegDeleteValueA@8
1193;RegDeleteValueW@8
1194;RegDisablePredefinedCacheEx@0
1195;RegEnumKeyExA@32
1196;RegEnumKeyExW@32
1197;RegEnumValueA@32
1198;RegEnumValueW@32
1199;RegFlushKey@4
1200;RegGetKeySecurity@16
1201;RegGetValueA@28
1202;RegGetValueW@28
1203;RegLoadKeyA@12
1204;RegLoadKeyW@12
1205;RegLoadMUIStringA@28
1206;RegLoadMUIStringW@28
1207;RegNotifyChangeKeyValue@20
1208;RegOpenCurrentUser@8
1209;RegOpenKeyExA@20
1210;RegOpenKeyExW@20
1211;RegOpenUserClassesRoot@16
1212;RegQueryInfoKeyA@48
1213;RegQueryInfoKeyW@48
1214;RegQueryValueExA@24
1215;RegQueryValueExW@24
1216;RegRestoreKeyA@12
1217;RegRestoreKeyW@12
1218;RegSaveKeyExA@16
1219;RegSaveKeyExW@16
1220;RegSetKeySecurity@12
1221;RegSetValueExA@24
1222;RegSetValueExW@24
1223;RegUnLoadKeyA@8
1224;RegUnLoadKeyW@8
1225RegisterApplicationRecoveryCallback@16
1226RegisterApplicationRestart@8
1227RegisterBadMemoryNotification@4
1228RegisterConsoleIME@8
1229RegisterConsoleOS2@4
1230RegisterConsoleVDM@44
1231RegisterWaitForInputIdle@4
1232RegisterWaitForSingleObject@24
1233RegisterWaitForSingleObjectEx@20
1234RegisterWaitUntilOOBECompleted@12
1235RegisterWowBaseHandlers@4
1236RegisterWowExec@4
1237ReleaseActCtx@4
1238ReleaseActCtxWorker@4
1239ReleaseMutex@4
1240ReleaseMutexWhenCallbackReturns@8
1241ReleaseSRWLockExclusive@4
1242ReleaseSRWLockShared@4
1243ReleaseSemaphore@12
1244ReleaseSemaphoreWhenCallbackReturns@12
1245ResolveLocaleName@12
1246RemoveDirectoryA@4
1247RemoveDirectoryTransactedA@8
1248RemoveDirectoryTransactedW@8
1249RemoveDirectoryW@4
1250RemoveDllDirectory@4
1251RemoveLocalAlternateComputerNameA@8
1252RemoveLocalAlternateComputerNameW@8
1253RemoveSecureMemoryCacheCallback@4
1254RemoveVectoredContinueHandler@4
1255RemoveVectoredExceptionHandler@4
1256ReplaceFile@24
1257ReplaceFileA@24
1258ReplaceFileW@24
1259ReplacePartitionUnit@12
1260RequestDeviceWakeup@4
1261RequestWakeupLatency@4
1262ResetEvent@4
1263ResetWriteWatch@8
1264ResizePseudoConsole@8
1265ResolveDelayLoadedAPI@24
1266ResolveDelayLoadsFromDll@12
1267ResolveLocaleName@12
1268RestoreLastError@4
1269ResumeThread@4
1270RtlCaptureContext@4
1271RtlCaptureStackBackTrace@16
1272RtlFillMemory@12
1273RtlMoveMemory@12
1274RtlPcToFileHeader@8
1275RtlUnwind@16
1276RtlZeroMemory@8
1277ScrollConsoleScreenBufferA@20
1278ScrollConsoleScreenBufferW@20
1279SearchPathA@24
1280SearchPathW@24
1281SetCachedSigningLevel@16
1282SetCalendarInfoA@16
1283SetCalendarInfoW@16
1284SetClientTimeZoneInformation@4
1285SetComPlusPackageInstallStatus@4
1286SetCommBreak@4
1287SetCommConfig@12
1288SetCommMask@8
1289SetCommState@8
1290SetCommTimeouts@8
1291SetComputerNameA@4
1292SetComputerNameEx2W@12
1293SetComputerNameExA@8
1294SetComputerNameExW@8
1295SetComputerNameW@4
1296SetConsoleActiveScreenBuffer@4
1297SetConsoleCP@4
1298SetConsoleCommandHistoryMode@4
1299SetConsoleCtrlHandler@8
1300SetConsoleCursor@8
1301SetConsoleCursorInfo@8
1302SetConsoleCursorMode@12
1303SetConsoleCursorPosition@8
1304SetConsoleDisplayMode@12
1305SetConsoleFont@8
1306SetConsoleHardwareState@12
1307SetConsoleHistoryInfo@4
1308SetConsoleIcon@4
1309SetConsoleInputExeNameA@4
1310SetConsoleInputExeNameW@4
1311SetConsoleKeyShortcuts@16
1312SetConsoleLocalEUDC@16
1313SetConsoleMaximumWindowSize@8
1314SetConsoleMenuClose@4
1315SetConsoleMode@8
1316SetConsoleNlsMode@8
1317SetConsoleNumberOfCommandsA@8
1318SetConsoleNumberOfCommandsW@8
1319SetConsoleOS2OemFormat@4
1320SetConsoleOutputCP@4
1321SetConsolePalette@12
1322SetConsoleScreenBufferInfoEx@8
1323SetConsoleScreenBufferSize@8
1324SetConsoleTextAttribute@8
1325SetConsoleTitleA@4
1326SetConsoleTitleW@4
1327SetConsoleWindowInfo@12
1328SetCriticalSectionSpinCount@8
1329SetCurrentConsoleFontEx@12
1330SetCurrentDirectoryA@4
1331SetCurrentDirectoryW@4
1332SetDefaultCommConfigA@12
1333SetDefaultCommConfigW@12
1334SetDefaultDllDirectories@4
1335SetDllDirectoryA@4
1336SetDllDirectoryW@4
1337SetDynamicTimeZoneInformation@4
1338SetEndOfFile@4
1339SetEnvironmentStringsA@4
1340SetEnvironmentStringsW@4
1341SetEnvironmentVariableA@8
1342SetEnvironmentVariableW@8
1343SetErrorMode@4
1344SetEvent@4
1345SetEventWhenCallbackReturns@8
1346SetFileApisToANSI@0
1347SetFileApisToOEM@0
1348SetFileAttributesA@8
1349SetFileAttributesTransactedA@12
1350SetFileAttributesTransactedW@12
1351SetFileAttributesW@8
1352SetFileBandwidthReservation@24
1353SetFileCompletionNotificationModes@8
1354SetFileInformationByHandle@16
1355SetFileIoOverlappedRange@12
1356SetFilePointer@16
1357SetFilePointerEx@20
1358SetFileShortNameA@8
1359SetFileShortNameW@8
1360SetFileTime@16
1361SetFileValidData@12
1362SetFirmwareEnvironmentVariableA@16
1363SetFirmwareEnvironmentVariableExA@20
1364SetFirmwareEnvironmentVariableExW@20
1365SetFirmwareEnvironmentVariableW@16
1366SetHandleContext@8
1367SetHandleCount@4
1368SetHandleInformation@12
1369SetInformationJobObject@16
1370SetIoRateControlInformationJobObject@8
1371SetLastConsoleEventActive@0
1372SetLastError@4
1373SetLocalPrimaryComputerNameA@8
1374SetLocalPrimaryComputerNameW@8
1375SetLocalTime@4
1376SetLocaleInfoA@12
1377SetLocaleInfoW@12
1378SetMailslotInfo@8
1379SetMessageWaitingIndicator@8
1380SetNamedPipeAttribute@20
1381SetNamedPipeHandleState@16
1382SetPriorityClass@8
1383SetProcessAffinityMask@8
1384SetProcessAffinityUpdateMode@8
1385SetProcessDEPPolicy@4
1386SetProcessDefaultCpuSets@12
1387SetProcessInformation@16
1388SetProcessMitigationPolicy@12
1389SetProcessPreferredUILanguages@12
1390SetProcessPriorityBoost@8
1391SetProcessShutdownParameters@8
1392SetProcessUserModeExceptionPolicy@4
1393SetProcessWorkingSetSize@12
1394SetProcessWorkingSetSizeEx@16
1395SetProtectedPolicy@12
1396SetSearchPathMode@4
1397SetStdHandle@8
1398SetStdHandleEx@12
1399SetSystemFileCacheSize@12
1400SetSystemPowerState@8
1401SetSystemTime@4
1402SetSystemTimeAdjustment@8
1403SetTapeParameters@12
1404SetTapePosition@24
1405SetTermsrvAppInstallMode@4
1406SetThreadAffinityMask@8
1407SetThreadContext@8
1408SetThreadDescription@8
1409SetThreadErrorMode@8
1410SetThreadExecutionState@4
1411SetThreadGroupAffinity@12
1412SetThreadIdealProcessor@8
1413SetThreadIdealProcessorEx@12
1414SetThreadInformation@16
1415SetThreadLocale@4
1416SetThreadPreferredUILanguages@12
1417SetThreadPriority@8
1418SetThreadPriorityBoost@8
1419SetThreadSelectedCpuSets@12
1420SetThreadStackGuarantee@4
1421SetThreadToken@8
1422SetThreadUILanguage@4
1423SetThreadpoolStackInformation@8
1424SetThreadpoolThreadMaximum@8
1425SetThreadpoolThreadMinimum@8
1426SetThreadpoolTimer@16
1427SetThreadpoolTimerEx@16
1428SetThreadpoolWait@12
1429SetThreadpoolWaitEx@16
1430SetTimeZoneInformation@4
1431SetTimerQueueTimer@24
1432SetUnhandledExceptionFilter@4
1433SetUserGeoID@4
1434SetUserGeoName@4
1435SetVDMCurrentDirectories@8
1436SetVolumeLabelA@8
1437SetVolumeLabelW@8
1438SetVolumeMountPointA@8
1439SetVolumeMountPointW@8
1440SetVolumeMountPointWStub@8
1441SetWaitableTimer@24
1442SetWaitableTimerEx@28
1443SetXStateFeaturesMask@12
1444SetupComm@12
1445ShowConsoleCursor@8
1446SignalObjectAndWait@16
1447SizeofResource@8
1448Sleep@4
1449SleepConditionVariableCS@12
1450SleepConditionVariableSRW@16
1451SleepEx@8
1452SortCloseHandle@4
1453SortGetHandle@12
1454StartThreadpoolIo@4
1455SubmitThreadpoolWork@4
1456SuspendThread@4
1457SwitchToFiber@4
1458SwitchToThread@0
1459SystemTimeToFileTime@8
1460SystemTimeToTzSpecificLocalTime@12
1461SystemTimeToTzSpecificLocalTimeEx@12
1462TerminateJobObject@8
1463TerminateProcess@8
1464TerminateThread@8
1465TermsrvAppInstallMode@0
1466TermsrvConvertSysRootToUserDir@8
1467TermsrvCreateRegEntry@20
1468TermsrvDeleteKey@4
1469TermsrvDeleteValue@8
1470TermsrvGetPreSetValue@16
1471TermsrvGetWindowsDirectoryA@8
1472TermsrvGetWindowsDirectoryW@8
1473TermsrvOpenRegEntry@12
1474TermsrvOpenUserClasses@8
1475TermsrvRestoreKey@12
1476TermsrvSetKeySecurity@12
1477TermsrvSetValueKey@24
1478TermsrvSyncUserIniFileExt@4
1479Thread32First@8
1480Thread32Next@8
1481TlsAlloc@0
1482TlsFree@4
1483TlsGetValue@4
1484TlsSetValue@8
1485Toolhelp32ReadProcessMemory@20
1486TransactNamedPipe@28
1487TransmitCommChar@8
1488TrimVirtualBuffer@4
1489TryAcquireSRWLockExclusive@4
1490TryAcquireSRWLockShared@4
1491TryEnterCriticalSection@4
1492TrySubmitThreadpoolCallback@12
1493TzSpecificLocalTimeToSystemTime@12
1494TzSpecificLocalTimeToSystemTimeEx@12
1495UTRegister@28
1496UTUnRegister@4
1497UnhandledExceptionFilter@4
1498UnlockFile@20
1499UnlockFileEx@20
1500UnmapViewOfFile@4
1501UnmapViewOfFileVlm@4
1502UnregisterApplicationRecoveryCallback@0
1503UnregisterApplicationRestart@0
1504UnregisterBadMemoryNotification@4
1505UnregisterConsoleIME@0
1506UnregisterWait@4
1507UnregisterWaitEx@8
1508UnregisterWaitUntilOOBECompleted@4
1509UpdateCalendarDayOfWeek@4
1510UpdateProcThreadAttribute@28
1511UpdateResourceA@24
1512UpdateResourceW@24
1513VDMConsoleOperation@8
1514VDMOperationStarted@4
1515VerLanguageNameA@12
1516VerLanguageNameW@12
1517VerSetConditionMask@16
1518VerifyConsoleIoHandle@4
1519VerifyScripts@20
1520VerifyVersionInfoA@16
1521VerifyVersionInfoW@16
1522VirtualAlloc@16
1523VirtualAllocEx@20
1524VirtualAllocExNuma@24
1525VirtualAllocVlm@24
1526VirtualBufferExceptionHandler@12
1527VirtualFree@12
1528VirtualFreeEx@16
1529VirtualFreeVlm@20
1530VirtualLock@8
1531VirtualProtect@16
1532VirtualProtectEx@20
1533VirtualProtectVlm@24
1534VirtualQuery@12
1535VirtualQueryEx@16
1536VirtualQueryVlm@16
1537VirtualUnlock@8
1538WTSGetActiveConsoleSessionId@0
1539WaitCommEvent@12
1540WaitForDebugEvent@8
1541WaitForMultipleObjects@16
1542WaitForMultipleObjectsEx@20
1543WaitForSingleObject@8
1544WaitForSingleObjectEx@12
1545WaitForThreadpoolIoCallbacks@8
1546WaitForThreadpoolTimerCallbacks@8
1547WaitForThreadpoolWaitCallbacks@8
1548WaitForThreadpoolWorkCallbacks@8
1549WaitNamedPipeA@8
1550WaitNamedPipeW@8
1551WakeAllConditionVariable@4
1552WakeConditionVariable@4
1553WerGetFlags@8
1554WerGetFlagsWorker@8
1555WerRegisterAdditionalProcess@8
1556WerRegisterAppLocalDump@4
1557WerRegisterCustomMetadata@8
1558WerRegisterExcludedMemoryBlock@8
1559WerRegisterFile@12
1560WerRegisterFileWorker@12
1561WerRegisterMemoryBlock@8
1562WerRegisterMemoryBlockWorker@8
1563WerRegisterRuntimeExceptionModule@8
1564WerRegisterRuntimeExceptionModuleWorker@8
1565WerSetFlags@4
1566WerSetFlagsWorker@4
1567WerUnregisterAdditionalProcess@4
1568WerUnregisterAppLocalDump
1569WerUnregisterCustomMetadata@4
1570WerUnregisterExcludedMemoryBlock@4
1571WerUnregisterFile@4
1572WerUnregisterFileWorker@4
1573WerUnregisterMemoryBlock@4
1574WerUnregisterMemoryBlockWorker@4
1575WerUnregisterRuntimeExceptionModule@8
1576WerUnregisterRuntimeExceptionModuleWorker@8
1577WerpCleanupMessageMapping@0
1578WerpGetDebugger@8
1579WerpInitiateRemoteRecovery@4
1580WerpNotifyLoadStringResource@16
1581WerpNotifyLoadStringResourceEx@20
1582WerpNotifyUseStringResource@4
1583WerpStringLookup@8
1584WideCharToMultiByte@32
1585WinExec@8
1586Wow64DisableWow64FsRedirection@4
1587Wow64EnableWow64FsRedirection@4
1588Wow64GetThreadContext@8
1589Wow64GetThreadSelectorEntry@12
1590Wow64RevertWow64FsRedirection@4
1591Wow64SetThreadContext@8
1592Wow64SuspendThread@4
1593WriteConsoleA@20
1594WriteConsoleInputA@16
1595WriteConsoleInputVDMA@16
1596WriteConsoleInputVDMW@16
1597WriteConsoleInputW@16
1598WriteConsoleOutputA@20
1599WriteConsoleOutputAttribute@20
1600WriteConsoleOutputCharacterA@20
1601WriteConsoleOutputCharacterW@20
1602WriteConsoleOutputW@20
1603WriteConsoleW@20
1604WriteFile@20
1605WriteFileEx@20
1606WriteFileGather@20
1607WriteFileVlm@20
1608WritePrivateProfileSectionA@12
1609WritePrivateProfileSectionW@12
1610WritePrivateProfileStringA@16
1611WritePrivateProfileStringW@16
1612WritePrivateProfileStructA@20
1613WritePrivateProfileStructW@20
1614WriteProcessMemory@20
1615WriteProcessMemoryVlm@20
1616WriteProfileSectionA@8
1617WriteProfileSectionW@8
1618WriteProfileStringA@12
1619WriteProfileStringW@12
1620WriteTapemark@16
1621WTSGetActiveConsoleSessionId@0
1622ZombifyActCtx@4
1623ZombifyActCtxWorker@4
1624_hread@12
1625_hwrite@12
1626_lclose@4
1627_lcreat@8
1628_llseek@12
1629_lopen@8
1630_lread@12
1631_lwrite@12
1632lstrcat@8
1633lstrcatA@8
1634lstrcatW@8
1635lstrcmp@8
1636lstrcmpA@8
1637lstrcmpW@8
1638lstrcmpi@8
1639lstrcmpiA@8
1640lstrcmpiW@8
1641lstrcpy@8
1642lstrcpyA@8
1643lstrcpyW@8
1644lstrcpyn@12
1645lstrcpynA@12
1646lstrcpynW@12
1647lstrlen@4
1648lstrlenA@4
1649lstrlenW@4
1650;
1651; MSDN says these functions are exported
1652; from winmm.dll. Commented out for
1653; compatibility with older versions of
1654; Windows.
1655;
1656;timeBeginPeriod@4
1657;timeEndPeriod@4
1658;timeGetDevCaps@8
1659;timeGetSystemTime@8
1660;timeGetTime@0
lib/libc/mingw/lib32/lz32.def created+14
......@@ -0,0 +1,14 @@
1LIBRARY LZ32.DLL
2EXPORTS
3CopyLZFile@8
4GetExpandedNameA@8
5GetExpandedNameW@8
6LZClose@4
7LZCopy@8
8LZDone@0
9LZInit@4
10LZOpenFileA@12
11LZOpenFileW@12
12LZRead@12
13LZSeek@12
14LZStart@0
lib/libc/mingw/lib32/mpr.def created+72
......@@ -0,0 +1,72 @@
1LIBRARY MPR.DLL
2EXPORTS
3MultinetGetConnectionPerformanceA@8
4MultinetGetConnectionPerformanceW@8
5RestoreConnectionA0@8
6WNetAddConnection2A@16
7WNetAddConnection2W@16
8WNetAddConnection3A@20
9WNetAddConnection3W@20
10WNetAddConnectionA@12
11WNetAddConnectionW@12
12WNetCancelConnection2A@12
13WNetCancelConnection2W@12
14WNetCancelConnectionA@8
15WNetCancelConnectionW@8
16WNetClearConnections@4
17WNetCloseEnum@4
18WNetConnectionDialog1A@4
19WNetConnectionDialog1W@4
20WNetConnectionDialog2@16
21WNetConnectionDialog@8
22WNetDirectoryNotifyA@12
23WNetDirectoryNotifyW@12
24WNetDisconnectDialog1A@4
25WNetDisconnectDialog1W@4
26WNetDisconnectDialog2@16
27WNetDisconnectDialog@8
28WNetEnumResourceA@16
29WNetEnumResourceW@16
30WNetFMXEditPerm@12
31WNetFMXGetPermCaps@4
32WNetFMXGetPermHelp@24
33WNetFormatNetworkNameA@24
34WNetFormatNetworkNameW@24
35WNetGetConnection2A@12
36WNetGetConnection2W@12
37WNetGetConnectionA@12
38WNetGetConnectionW@12
39WNetGetDirectoryTypeA@12
40WNetGetDirectoryTypeW@12
41WNetGetFormatNameProc@4
42WNetGetLastErrorA@20
43WNetGetLastErrorW@20
44WNetGetNetworkInformationA@8
45WNetGetNetworkInformationW@8
46WNetGetPropertyTextA@24
47WNetGetPropertyTextW@24
48WNetGetProviderNameA@12
49WNetGetProviderNameW@12
50WNetGetResourceInformationA@16
51WNetGetResourceInformationW@16
52WNetGetResourceParentA@12
53WNetGetResourceParentW@12
54WNetGetSearchDialog@4
55WNetGetUniversalNameA@16
56WNetGetUniversalNameW@16
57WNetGetUserA@12
58WNetGetUserW@12
59WNetLogonNotify@36
60WNetOpenEnumA@20
61WNetOpenEnumW@20
62WNetPasswordChangeNotify@32
63WNetPropertyDialogA@20
64WNetPropertyDialogW@20
65WNetRestoreConnection@8
66WNetSetConnectionA@12
67WNetSetConnectionW@12
68WNetSetLastErrorA@12
69WNetSetLastErrorW@12
70WNetSupportGlobalEnum@4
71WNetUseConnectionA@32
72WNetUseConnectionW@32
lib/libc/mingw/lib32/mswsock.def created+28
......@@ -0,0 +1,28 @@
1LIBRARY MSWSOCK.DLL
2EXPORTS
3AcceptEx@32
4EnumProtocolsA@12
5EnumProtocolsW@12
6GetAcceptExSockaddrs@32
7GetAddressByNameA@40
8GetAddressByNameW@40
9GetNameByTypeA@12
10GetNameByTypeW@12
11GetServiceA@28
12GetServiceW@28
13GetTypeByNameA@8
14GetTypeByNameW@8
15MigrateWinsockConfiguration@12
16NPLoadNameSpaces@12
17SetServiceA@24
18SetServiceW@24
19TransmitFile@28
20WSARecvEx@16
21dn_expand@20
22getnetbyname@4
23inet_network@4
24rcmd@24
25rexec@24
26rresvport@4
27s_perror@8
28sethostname@8
lib/libc/mingw/lib32/ncrypt.def created+61
......@@ -0,0 +1,61 @@
1;
2; Definition file of ncrypt.dll
3; Automatic generated by gendef
4; written by Kai Tietz 2008
5;
6LIBRARY "ncrypt.dll"
7EXPORTS
8GetIsolationServerInterface@12
9GetKeyStorageInterface@12
10GetSChannelInterface@12
11NCryptCreatePersistedKey@24
12NCryptDecrypt@32
13NCryptDeleteKey@8
14NCryptDeriveKey@28
15NCryptEncrypt@32
16NCryptEnumAlgorithms@20
17NCryptEnumKeys@20
18NCryptEnumStorageProviders@12
19NCryptExportKey@32
20NCryptFinalizeKey@8
21NCryptFreeBuffer@4
22NCryptFreeObject@4
23NCryptGetProperty@24
24NCryptImportKey@32
25NCryptIsAlgSupported@12
26NCryptIsKeyHandle@4
27NCryptNotifyChangeKey@12
28NCryptOpenKey@20
29NCryptOpenStorageProvider@12
30NCryptSecretAgreement@16
31NCryptSetAuditingInterface@4
32NCryptSetProperty@20
33NCryptSignHash@32
34NCryptTranslateHandle@24
35NCryptVerifySignature@28
36SslChangeNotify@8
37SslComputeClientAuthHash@32
38SslComputeEapKeyBlock@32
39SslComputeFinishedHash@24
40SslCreateEphemeralKey@36
41SslCreateHandshakeHash@20
42SslDecrementProviderReferenceCount@4
43SslDecryptPacket@40
44SslEncryptPacket@44
45SslEnumCipherSuites@20
46SslEnumProtocolProviders@12
47SslExportKey@28
48SslFreeBuffer@4
49SslFreeObject@8
50SslGenerateMasterKey@44
51SslGenerateSessionKeys@24
52SslGetKeyProperty@20
53SslGetProviderProperty@24
54SslHashHandshake@20
55SslImportKey@24
56SslImportMasterKey@36
57SslIncrementProviderReferenceCount@4
58SslLookupCipherSuiteInfo@24
59SslOpenPrivateKey@16
60SslOpenProvider@12
61SslSignHash@32
lib/libc/mingw/lib32/netapi32.def created+413
......@@ -0,0 +1,413 @@
1;
2; Definition file of NETAPI32.dll
3; Automatic generated by gendef
4; written by Kai Tietz 2008
5;
6LIBRARY "NETAPI32.dll"
7EXPORTS
8CredpValidateTargetName@52
9DavAddConnection@24
10DavDeleteConnection@4
11DavFlushFile@4
12DavGetExtendedError@16
13DavGetHTTPFromUNCPath@12
14DavGetUNCFromHTTPPath@12
15DsAddressToSiteNamesA@16
16DsAddressToSiteNamesExA@20
17DsAddressToSiteNamesExW@20
18DsAddressToSiteNamesW@16
19DsDeregisterDnsHostRecordsA@20
20DsDeregisterDnsHostRecordsW@20
21DsEnumerateDomainTrustsA@16
22DsEnumerateDomainTrustsW@16
23DsGetDcCloseW@4
24DsGetDcNameA@24
25DsGetDcNameW@24
26DsGetDcNameWithAccountA@32
27DsGetDcNameWithAccountW@32
28DsGetDcNextA@16
29DsGetDcNextW@16
30DsGetDcOpenA@28
31DsGetDcOpenW@28
32DsGetDcSiteCoverageA@12
33DsGetDcSiteCoverageW@12
34DsGetForestTrustInformationW@16
35DsGetSiteNameA@8
36DsGetSiteNameW@8
37DsMergeForestTrustInformationW@16
38DsRoleAbortDownlevelServerUpgrade@16
39DsRoleCancel@8
40DsRoleDcAsDc@68
41DsRoleDcAsReplica@12
42DsRoleDemoteDc@44
43DsRoleDnsNameToFlatName@16
44DsRoleFreeMemory@4
45DsRoleGetDatabaseFacts@24
46DsRoleGetDcOperationProgress@12
47DsRoleGetDcOperationResults@12
48DsRoleGetPrimaryDomainInformation@12
49DsRoleIfmHandleFree@8
50DsRoleServerSaveStateForUpgrade@4
51DsRoleUpgradeDownlevelServer@48
52DsValidateSubnetNameA@4
53DsValidateSubnetNameW@4
54I_BrowserDebugCall@12
55I_BrowserDebugTrace@8
56I_BrowserQueryEmulatedDomains@12
57I_BrowserQueryOtherDomains@16
58I_BrowserQueryStatistics@8
59I_BrowserResetNetlogonState@4
60I_BrowserResetStatistics@4
61I_BrowserServerEnum@44
62I_BrowserSetNetlogonState@16
63I_DsUpdateReadOnlyServerDnsRecords@28
64I_NetAccountDeltas@48
65I_NetAccountSync@48
66I_NetChainSetClientAttributes2@36
67I_NetChainSetClientAttributes@36
68I_NetDatabaseDeltas@32
69I_NetDatabaseRedo@28
70I_NetDatabaseSync2@36
71I_NetDatabaseSync@32
72I_NetDfsCreateExitPoint@24
73I_NetDfsCreateLocalPartition@28
74I_NetDfsDeleteExitPoint@16
75I_NetDfsDeleteLocalPartition@12
76I_NetDfsFixLocalVolume@36
77I_NetDfsGetFtServers@16
78I_NetDfsGetVersion@8
79I_NetDfsIsThisADomainName@4
80I_NetDfsManagerReportSiteInfo@8
81I_NetDfsModifyPrefix@12
82I_NetDfsSetLocalVolumeState@16
83I_NetDfsSetServerInfo@12
84I_NetGetDCList@16
85I_NetGetForestTrustInformation@24
86I_NetListCanonicalize@36
87I_NetListTraverse@12
88I_NetLogonControl2@20
89I_NetLogonControl@16
90I_NetLogonGetDomainInfo@28
91I_NetLogonSamLogoff@24
92I_NetLogonSamLogon@36
93I_NetLogonSamLogonEx@40
94I_NetLogonSamLogonWithFlags@40
95I_NetLogonSendToSam@24
96I_NetLogonUasLogoff@12
97I_NetLogonUasLogon@12
98I_NetNameCanonicalize@24
99I_NetNameCompare@20
100I_NetNameValidate@16
101I_NetPathCanonicalize@28
102I_NetPathCompare@20
103I_NetPathType@16
104I_NetServerAuthenticate2@28
105I_NetServerAuthenticate3@32
106I_NetServerAuthenticate@24
107I_NetServerGetTrustInfo@36
108I_NetServerPasswordGet@28
109I_NetServerPasswordSet2@28
110I_NetServerPasswordSet@28
111I_NetServerReqChallenge@16
112I_NetServerSetServiceBits@16
113I_NetServerSetServiceBitsEx@24
114I_NetServerTrustPasswordsGet@32
115I_NetlogonComputeClientDigest@24
116I_NetlogonComputeServerDigest@24
117I_NetlogonGetTrustRid@12
118NetAccessAdd@16
119NetAccessDel@8
120NetAccessEnum@36
121NetAccessGetInfo@16
122NetAccessGetUserPerms@16
123NetAccessSetInfo@20
124NetAddAlternateComputerName@20
125NetAddServiceAccount@16
126NetAlertRaise@12
127NetAlertRaiseEx@16
128NetApiBufferAllocate@8
129NetApiBufferFree@4
130NetApiBufferReallocate@12
131NetApiBufferSize@8
132NetAuditClear@12
133NetAuditRead@44
134NetAuditWrite@20
135NetBrowserStatisticsGet@12
136NetConfigGet@16
137NetConfigGetAll@12
138NetConfigSet@28
139NetConnectionEnum@32
140NetDfsAdd@20
141NetDfsAddFtRoot@20
142NetDfsAddRootTarget@20
143NetDfsAddStdRoot@16
144NetDfsAddStdRootForced@16
145NetDfsEnum@24
146NetDfsGetClientInfo@20
147NetDfsGetDcAddress@16
148NetDfsGetFtContainerSecurity@16
149NetDfsGetInfo@20
150NetDfsGetSecurity@16
151NetDfsGetStdContainerSecurity@16
152NetDfsGetSupportedNamespaceVersion@12
153NetDfsManagerGetConfigInfo@28
154NetDfsManagerInitialize@8
155NetDfsManagerSendSiteInfo@12
156NetDfsMove@12
157NetDfsRemove@12
158NetDfsRemoveFtRoot@16
159NetDfsRemoveFtRootForced@20
160NetDfsRemoveRootTarget@12
161NetDfsRemoveStdRoot@12
162NetDfsRename@8
163NetDfsSetClientInfo@20
164NetDfsSetFtContainerSecurity@12
165NetDfsSetInfo@20
166NetDfsSetSecurity@12
167NetDfsSetStdContainerSecurity@12
168NetEnumerateComputerNames@20
169NetEnumerateServiceAccounts@16
170NetEnumerateTrustedDomains@8
171NetErrorLogClear@12
172NetErrorLogRead@44
173NetErrorLogWrite@32
174NetFileClose@8
175NetFileEnum@36
176NetFileGetInfo@16
177NetGetAnyDCName@12
178NetGetDCName@12
179NetGetDisplayInformationIndex@16
180NetGetJoinInformation@12
181NetGetJoinableOUs@24
182NetGroupAdd@16
183NetGroupAddUser@12
184NetGroupDel@8
185NetGroupDelUser@12
186NetGroupEnum@28
187NetGroupGetInfo@16
188NetGroupGetUsers@32
189NetGroupSetInfo@20
190NetGroupSetUsers@20
191NetIsServiceAccount@12
192NetJoinDomain@24
193NetLocalGroupAdd@16
194NetLocalGroupAddMember@12
195NetLocalGroupAddMembers@20
196NetLocalGroupDel@8
197NetLocalGroupDelMember@12
198NetLocalGroupDelMembers@20
199NetLocalGroupEnum@28
200NetLocalGroupGetInfo@16
201NetLocalGroupGetMembers@32
202NetLocalGroupSetInfo@20
203NetLocalGroupSetMembers@20
204NetLogonGetTimeServiceParentDomain@12
205NetLogonSetServiceBits@12
206NetMessageBufferSend@20
207NetMessageNameAdd@8
208NetMessageNameDel@8
209NetMessageNameEnum@28
210NetMessageNameGetInfo@16
211NetProvisionComputerAccount@32
212NetQueryDisplayInformation@28
213NetQueryServiceAccount@16
214NetRegisterDomainNameChangeNotification@4
215NetRemoteComputerSupports@12
216NetRemoteTOD@8
217NetRemoveAlternateComputerName@20
218NetRemoveServiceAccount@12
219NetRenameMachineInDomain@20
220NetReplExportDirAdd@16
221NetReplExportDirDel@8
222NetReplExportDirEnum@28
223NetReplExportDirGetInfo@16
224NetReplExportDirLock@8
225NetReplExportDirSetInfo@20
226NetReplExportDirUnlock@12
227NetReplGetInfo@12
228NetReplImportDirAdd@16
229NetReplImportDirDel@8
230NetReplImportDirEnum@28
231NetReplImportDirGetInfo@16
232NetReplImportDirLock@8
233NetReplImportDirUnlock@12
234NetReplSetInfo@16
235NetRplAdapterAdd@16
236NetRplAdapterDel@8
237NetRplAdapterEnum@28
238NetRplBootAdd@16
239NetRplBootDel@12
240NetRplBootEnum@28
241NetRplClose@4
242NetRplConfigAdd@16
243NetRplConfigDel@8
244NetRplConfigEnum@32
245NetRplGetInfo@12
246NetRplOpen@8
247NetRplProfileAdd@16
248NetRplProfileClone@16
249NetRplProfileDel@8
250NetRplProfileEnum@32
251NetRplProfileGetInfo@16
252NetRplProfileSetInfo@20
253NetRplSetInfo@16
254NetRplSetSecurity@16
255NetRplVendorAdd@16
256NetRplVendorDel@8
257NetRplVendorEnum@28
258NetRplWkstaAdd@16
259NetRplWkstaClone@24
260NetRplWkstaDel@8
261NetRplWkstaEnum@32
262NetRplWkstaGetInfo@16
263NetRplWkstaSetInfo@20
264NetRequestOfflineDomainJoin@16
265NetScheduleJobAdd@12
266NetScheduleJobDel@12
267NetScheduleJobEnum@24
268NetScheduleJobGetInfo@12
269NetServerAliasAdd@12
270NetServerAliasDel@12
271NetServerAliasEnum@28
272NetServerComputerNameAdd@12
273NetServerComputerNameDel@8
274NetServerDiskEnum@28
275NetServerEnum@36
276NetServerEnumEx@36
277NetServerGetInfo@12
278NetServerSetInfo@16
279NetServerTransportAdd@12
280NetServerTransportAddEx@12
281NetServerTransportDel@12
282NetServerTransportEnum@28
283NetServiceControl@20
284NetServiceEnum@28
285NetServiceGetInfo@16
286NetServiceInstall@20
287NetSessionDel@12
288NetSessionEnum@36
289NetSessionGetInfo@20
290NetSetPrimaryComputerName@20
291NetShareAdd@16
292NetShareCheck@12
293NetShareDel@12
294NetShareDelEx@12
295NetShareDelSticky@12
296NetShareEnum@28
297NetShareEnumSticky@28
298NetShareGetInfo@16
299NetShareSetInfo@20
300NetStatisticsGet@20
301NetUnjoinDomain@16
302NetUnregisterDomainNameChangeNotification@4
303NetUseAdd@16
304NetUseDel@12
305NetUseEnum@28
306NetUseGetInfo@16
307NetUserAdd@16
308NetUserChangePassword@16
309NetUserDel@8
310NetUserEnum@32
311NetUserGetGroups@28
312NetUserGetInfo@16
313NetUserGetLocalGroups@32
314NetUserModalsGet@12
315NetUserModalsSet@16
316NetUserSetGroups@20
317NetUserSetInfo@20
318NetValidateName@20
319NetValidatePasswordPolicy@20
320NetValidatePasswordPolicyFree@4
321NetWkstaGetInfo@12
322NetWkstaSetInfo@16
323NetWkstaTransportAdd@16
324NetWkstaTransportDel@12
325NetWkstaTransportEnum@28
326NetWkstaUserEnum@28
327NetWkstaUserGetInfo@12
328NetWkstaUserSetInfo@16
329NetapipBufferAllocate@8
330Netbios@4
331NetpAccessCheck@12
332NetpAccessCheckAndAudit@20
333NetpAccessCheckAndAuditEx@28
334NetpAddTlnFtinfoEntry@8
335NetpAllocConfigName@16
336NetpAllocFtinfoEntry@20
337NetpAllocStrFromWStr@4
338NetpAllocWStrFromStr@4
339NetpAllocWStrFromWStr@4
340NetpApiStatusToNtStatus@4
341NetpAssertFailed@16
342NetpCleanFtinfoContext@4
343NetpCloseConfigData@4
344NetpCopyFtinfoContext@4
345NetpCopyStringToBuffer@20
346NetpCreateSecurityObject@24
347NetpDbgDisplayServerInfo@8
348NetpDbgPrint@0
349NetpDeleteSecurityObject@4
350NetpEventlogClose@4
351NetpEventlogOpen@8
352NetpEventlogWriteEx@32
353NetpGetComputerName@4
354NetpGetConfigBool@16
355NetpGetConfigDword@16
356NetpGetConfigTStrArray@12
357NetpGetConfigValue@12
358NetpGetDomainName@4
359NetpGetFileSecurity@16
360NetpGetPrivilege@8
361NetpHexDump@8
362NetpInitOemString@8
363NetpInitFtinfoContext@4
364NetpIsRemote@20
365NetpIsUncComputerNameValid@4
366NetpLocalTimeZoneOffset@0
367NetpLogonPutUnicodeString@12
368NetpNetBiosAddName@12
369NetpNetBiosCall@16
370NetpNetBiosDelName@8
371NetpNetBiosGetAdapterNumbers@8
372NetpNetBiosHangup@8
373NetpNetBiosReceive@24
374NetpMergeFtinfo@16
375NetpNetBiosReset@4
376NetpNetBiosSend@16
377NetpNetBiosStatusToApiStatus@4
378NetpNtStatusToApiStatus@4
379NetpOpenConfigData@16
380NetpPackString@12
381NetpReleasePrivilege@0
382NetpSetConfigBool@12
383NetpSetConfigDword@12
384NetpSetConfigTStrArray@12
385NetpParmsQueryUserProperty@16
386NetpParmsQueryUserPropertyWithLength@16
387NetpParmsSetUserProperty@28
388NetpParmsUserPropertyFree@4
389NetpOpenConfigData@12
390NetpSetFileSecurity@12
391NetpSmbCheck@20
392NetpStringToNetBiosName@16
393NetpStoreIntialDcRecord@4
394NetpTStrArrayEntryCount@4
395NetpUpgradePreNT5JoinInfo@0
396NetpwNameCanonicalize@20
397NetpwNameCompare@16
398NetpwNameValidate@12
399NetpwPathCanonicalize@24
400NetpwPathCompare@16
401NetpwPathType@12
402NlBindingAddServerToCache@8
403NlBindingRemoveServerFromCache@8
404NlBindingSetAuthInfo@20
405RxNetAccessAdd@16
406RxNetAccessDel@8
407RxNetAccessEnum@36
408RxNetAccessGetInfo@16
409RxNetAccessGetUserPerms@16
410RxNetAccessSetInfo@20
411RxNetServerEnum@40
412RxNetUserPasswordSet@16
413RxRemoteApi
lib/libc/mingw/lib32/ole32.def created+405
......@@ -0,0 +1,405 @@
1;
2; Definition file of ole32.dll
3; Automatic generated by gendef
4; written by Kai Tietz 2008
5;
6LIBRARY "ole32.dll"
7EXPORTS
8CoVrfCheckThreadState@4
9CoVrfGetThreadState@4
10CoVrfReleaseThreadState@4
11HRGN_UserFree@8
12HRGN_UserMarshal@12
13HRGN_UserSize@12
14HRGN_UserUnmarshal@12
15NdrOleInitializeExtension@8
16PropVariantChangeType@20
17BindMoniker@16
18CLIPFORMAT_UserFree@8
19CLIPFORMAT_UserMarshal@12
20CLIPFORMAT_UserSize@12
21CLIPFORMAT_UserUnmarshal@12
22CLSIDFromOle1Class@12
23CLSIDFromProgID@8
24CLSIDFromProgIDEx@8
25CLSIDFromString@8
26CoAddRefServerProcess@0
27CoAllowSetForegroundWindow@8
28CoBuildVersion@0
29CoCancelCall@8
30CoCopyProxy@8
31CoCreateFreeThreadedMarshaler@8
32CoCreateGuid@4
33CoCreateInstance@20
34CoCreateInstanceEx@24
35CoCreateInstanceFromApp@24
36CoCreateObjectInContext@16
37CoDeactivateObject@8
38CoDisableCallCancellation@4
39CoDisconnectContext@4
40CoDisconnectObject@8
41CoDosDateTimeToFileTime@12
42CoEnableCallCancellation@4
43CoFileTimeNow@4
44CoFileTimeToDosDateTime@12
45CoFreeAllLibraries@0
46CoFreeLibrary@4
47CoFreeUnusedLibraries@0
48CoFreeUnusedLibrariesEx@8
49CoGetActivationState@24
50CoGetApartmentID@8
51CoGetApartmentType@8
52CoGetCallContext@8
53CoGetCallState@8
54CoGetCallerTID@4
55CoGetCancelObject@12
56CoGetClassObject@20
57CoGetClassVersion@12
58CoGetComCatalog@8
59CoGetContextToken@4
60CoGetCurrentLogicalThreadId@4
61CoGetCurrentProcess@0
62CoGetDefaultContext@12
63CoGetInstanceFromFile@32
64CoGetInstanceFromIStorage@28
65CoGetInterceptor@16
66CoGetInterceptorFromTypeInfo@20
67CoGetInterfaceAndReleaseStream@12
68CoGetMalloc@8
69CoGetMarshalSizeMax@24
70CoGetModuleType@8
71CoGetObject@16
72CoGetObjectContext@8
73CoGetPSClsid@8
74CoGetProcessIdentifier@4
75CoGetStandardMarshal@24
76CoGetState@4
77CoGetStdMarshalEx@12
78CoGetSystemSecurityPermissions@8
79CoGetTreatAsClass@8
80CoImpersonateClient@0
81CoInitialize@4
82CoInitializeEx@8
83CoInitializeSecurity@36
84CoInitializeWOW@8
85CoInstall@20
86CoInvalidateRemoteMachineBindings@4
87CoIsHandlerConnected@4
88CoIsOle1Class@4
89CoLoadLibrary@8
90CoLockObjectExternal@12
91CoMarshalHresult@8
92CoMarshalInterThreadInterfaceInStream@12
93CoMarshalInterface@24
94CoPopServiceDomain@4
95CoPushServiceDomain@4
96CoQueryAuthenticationServices@8
97CoQueryClientBlanket@28
98CoQueryProxyBlanket@32
99CoQueryReleaseObject@4
100CoReactivateObject@8
101CoRegisterChannelHook@8
102CoRegisterClassObject@20
103CoRegisterInitializeSpy@8
104CoRegisterMallocSpy@4
105CoRegisterMessageFilter@8
106CoRegisterPSClsid@8
107CoRegisterSurrogate@4
108CoRegisterSurrogateEx@8
109CoReleaseMarshalData@4
110CoReleaseServerProcess@0
111CoResumeClassObjects@0
112CoRetireServer@4
113CoRevertToSelf@0
114CoRevokeClassObject@4
115CoRevokeInitializeSpy@8
116CoRevokeMallocSpy@0
117CoSetCancelObject@4
118CoSetProxyBlanket@32
119CoSetState@4
120CoSuspendClassObjects@0
121CoSwitchCallContext@8
122CoTaskMemAlloc@4
123CoTaskMemFree@4
124CoTaskMemRealloc@8
125CoTestCancel@0
126CoTreatAsClass@8
127CoUninitialize@0
128CoUnloadingWOW@4
129CoUnmarshalHresult@8
130CoUnmarshalInterface@12
131CoWaitForMultipleHandles@20
132ComPs_NdrDllCanUnloadNow@4
133ComPs_NdrDllGetClassObject@24
134ComPs_NdrDllRegisterProxy@20
135ComPs_NdrDllUnregisterProxy@20
136CreateAntiMoniker@4
137CreateBindCtx@8
138CreateClassMoniker@8
139CreateDataAdviseHolder@4
140CreateDataCache@16
141CreateErrorInfo@4
142CreateFileMoniker@8
143CreateGenericComposite@12
144CreateILockBytesOnHGlobal@12
145CreateItemMoniker@12
146CreateObjrefMoniker@8
147CreateOleAdviseHolder@4
148CreatePointerMoniker@8
149CreateStdProgressIndicator@16
150CreateStreamOnHGlobal@12
151DcomChannelSetHResult@12
152DllDebugObjectRPCHook@8
153DllGetClassObject@12
154DllGetClassObjectWOW@12
155DllRegisterServer@0
156DoDragDrop@16
157EnableHookObject@8
158FmtIdToPropStgName@8
159FreePropVariantArray@8
160GetClassFile@8
161GetConvertStg@4
162GetDocumentBitStg@4
163GetErrorInfo@8
164GetHGlobalFromILockBytes@8
165GetHGlobalFromStream@8
166GetHookInterface@4
167GetRunningObjectTable@8
168HACCEL_UserFree@8
169HACCEL_UserMarshal@12
170HACCEL_UserSize@12
171HACCEL_UserUnmarshal@12
172HBITMAP_UserFree@8
173HBITMAP_UserMarshal@12
174HBITMAP_UserSize@12
175HBITMAP_UserUnmarshal@12
176HBRUSH_UserFree@8
177HBRUSH_UserMarshal@12
178HBRUSH_UserSize@12
179HBRUSH_UserUnmarshal@12
180HDC_UserFree@8
181HDC_UserMarshal@12
182HDC_UserSize@12
183HDC_UserUnmarshal@12
184HENHMETAFILE_UserFree@8
185HENHMETAFILE_UserMarshal@12
186HENHMETAFILE_UserSize@12
187HENHMETAFILE_UserUnmarshal@12
188HGLOBAL_UserFree@8
189HGLOBAL_UserMarshal@12
190HGLOBAL_UserSize@12
191HGLOBAL_UserUnmarshal@12
192HICON_UserFree@8
193HICON_UserMarshal@12
194HICON_UserSize@12
195HICON_UserUnmarshal@12
196HMENU_UserFree@8
197HMENU_UserMarshal@12
198HMENU_UserSize@12
199HMENU_UserUnmarshal@12
200HMETAFILEPICT_UserFree@8
201HMETAFILEPICT_UserMarshal@12
202HMETAFILEPICT_UserSize@12
203HMETAFILEPICT_UserUnmarshal@12
204HMETAFILE_UserFree@8
205HMETAFILE_UserMarshal@12
206HMETAFILE_UserSize@12
207HMETAFILE_UserUnmarshal@12
208HPALETTE_UserFree@8
209HPALETTE_UserMarshal@12
210HPALETTE_UserSize@12
211HPALETTE_UserUnmarshal@12
212HWND_UserFree@8
213HWND_UserMarshal@12
214HWND_UserSize@12
215HWND_UserUnmarshal@12
216HkOleRegisterObject@16
217IIDFromString@8
218IsAccelerator@16
219IsEqualGUID@8
220IsValidIid@4
221IsValidInterface@4
222IsValidPtrIn@8
223IsValidPtrOut@8
224MkParseDisplayName@16
225MonikerCommonPrefixWith@12
226MonikerRelativePathTo@16
227;NdrProxyForwardingFunction10 ; Check!!! Couldn't determine function argument count. Function doesn't return.
228;NdrProxyForwardingFunction11 ; Check!!! Couldn't determine function argument count. Function doesn't return.
229;NdrProxyForwardingFunction12 ; Check!!! Couldn't determine function argument count. Function doesn't return.
230;NdrProxyForwardingFunction13 ; Check!!! Couldn't determine function argument count. Function doesn't return.
231;NdrProxyForwardingFunction14 ; Check!!! Couldn't determine function argument count. Function doesn't return.
232;NdrProxyForwardingFunction15 ; Check!!! Couldn't determine function argument count. Function doesn't return.
233;NdrProxyForwardingFunction16 ; Check!!! Couldn't determine function argument count. Function doesn't return.
234;NdrProxyForwardingFunction17 ; Check!!! Couldn't determine function argument count. Function doesn't return.
235;NdrProxyForwardingFunction18 ; Check!!! Couldn't determine function argument count. Function doesn't return.
236;NdrProxyForwardingFunction19 ; Check!!! Couldn't determine function argument count. Function doesn't return.
237;NdrProxyForwardingFunction20 ; Check!!! Couldn't determine function argument count. Function doesn't return.
238;NdrProxyForwardingFunction21 ; Check!!! Couldn't determine function argument count. Function doesn't return.
239;NdrProxyForwardingFunction22 ; Check!!! Couldn't determine function argument count. Function doesn't return.
240;NdrProxyForwardingFunction23 ; Check!!! Couldn't determine function argument count. Function doesn't return.
241;NdrProxyForwardingFunction24 ; Check!!! Couldn't determine function argument count. Function doesn't return.
242;NdrProxyForwardingFunction25 ; Check!!! Couldn't determine function argument count. Function doesn't return.
243;NdrProxyForwardingFunction26 ; Check!!! Couldn't determine function argument count. Function doesn't return.
244;NdrProxyForwardingFunction27 ; Check!!! Couldn't determine function argument count. Function doesn't return.
245;NdrProxyForwardingFunction28 ; Check!!! Couldn't determine function argument count. Function doesn't return.
246;NdrProxyForwardingFunction29 ; Check!!! Couldn't determine function argument count. Function doesn't return.
247;NdrProxyForwardingFunction30 ; Check!!! Couldn't determine function argument count. Function doesn't return.
248;NdrProxyForwardingFunction31 ; Check!!! Couldn't determine function argument count. Function doesn't return.
249;NdrProxyForwardingFunction32 ; Check!!! Couldn't determine function argument count. Function doesn't return.
250;NdrProxyForwardingFunction3 ; Check!!! Couldn't determine function argument count. Function doesn't return.
251;NdrProxyForwardingFunction4 ; Check!!! Couldn't determine function argument count. Function doesn't return.
252;NdrProxyForwardingFunction5 ; Check!!! Couldn't determine function argument count. Function doesn't return.
253;NdrProxyForwardingFunction6 ; Check!!! Couldn't determine function argument count. Function doesn't return.
254;NdrProxyForwardingFunction7 ; Check!!! Couldn't determine function argument count. Function doesn't return.
255;NdrProxyForwardingFunction8 ; Check!!! Couldn't determine function argument count. Function doesn't return.
256;NdrProxyForwardingFunction9 ; Check!!! Couldn't determine function argument count. Function doesn't return.
257;ObjectStublessClient10 ; Check!!! Couldn't determine function argument count. Function doesn't return.
258;ObjectStublessClient11 ; Check!!! Couldn't determine function argument count. Function doesn't return.
259;ObjectStublessClient12 ; Check!!! Couldn't determine function argument count. Function doesn't return.
260;ObjectStublessClient13 ; Check!!! Couldn't determine function argument count. Function doesn't return.
261;ObjectStublessClient14 ; Check!!! Couldn't determine function argument count. Function doesn't return.
262;ObjectStublessClient15 ; Check!!! Couldn't determine function argument count. Function doesn't return.
263;ObjectStublessClient16 ; Check!!! Couldn't determine function argument count. Function doesn't return.
264;ObjectStublessClient17 ; Check!!! Couldn't determine function argument count. Function doesn't return.
265;ObjectStublessClient18 ; Check!!! Couldn't determine function argument count. Function doesn't return.
266;ObjectStublessClient19 ; Check!!! Couldn't determine function argument count. Function doesn't return.
267;ObjectStublessClient20 ; Check!!! Couldn't determine function argument count. Function doesn't return.
268;ObjectStublessClient21 ; Check!!! Couldn't determine function argument count. Function doesn't return.
269;ObjectStublessClient22 ; Check!!! Couldn't determine function argument count. Function doesn't return.
270;ObjectStublessClient23 ; Check!!! Couldn't determine function argument count. Function doesn't return.
271;ObjectStublessClient24 ; Check!!! Couldn't determine function argument count. Function doesn't return.
272;ObjectStublessClient25 ; Check!!! Couldn't determine function argument count. Function doesn't return.
273;ObjectStublessClient26 ; Check!!! Couldn't determine function argument count. Function doesn't return.
274;ObjectStublessClient27 ; Check!!! Couldn't determine function argument count. Function doesn't return.
275;ObjectStublessClient28 ; Check!!! Couldn't determine function argument count. Function doesn't return.
276;ObjectStublessClient29 ; Check!!! Couldn't determine function argument count. Function doesn't return.
277;ObjectStublessClient30 ; Check!!! Couldn't determine function argument count. Function doesn't return.
278;ObjectStublessClient31 ; Check!!! Couldn't determine function argument count. Function doesn't return.
279;ObjectStublessClient32 ; Check!!! Couldn't determine function argument count. Function doesn't return.
280;ObjectStublessClient3 ; Check!!! Couldn't determine function argument count. Function doesn't return.
281;ObjectStublessClient4 ; Check!!! Couldn't determine function argument count. Function doesn't return.
282;ObjectStublessClient5 ; Check!!! Couldn't determine function argument count. Function doesn't return.
283;ObjectStublessClient6 ; Check!!! Couldn't determine function argument count. Function doesn't return.
284;ObjectStublessClient7 ; Check!!! Couldn't determine function argument count. Function doesn't return.
285;ObjectStublessClient8 ; Check!!! Couldn't determine function argument count. Function doesn't return.
286;ObjectStublessClient9 ; Check!!! Couldn't determine function argument count. Function doesn't return.
287OleBuildVersion@0
288OleConvertIStorageToOLESTREAM@8
289OleConvertIStorageToOLESTREAMEx@28
290OleConvertOLESTREAMToIStorage@12
291OleConvertOLESTREAMToIStorageEx@28
292OleCreate@28
293OleCreateDefaultHandler@16
294OleCreateEmbeddingHelper@24
295OleCreateEx@48
296OleCreateFromData@28
297OleCreateFromDataEx@48
298OleCreateFromFile@32
299OleCreateFromFileEx@52
300OleCreateLink@28
301OleCreateLinkEx@48
302OleCreateLinkFromData@28
303OleCreateLinkFromDataEx@48
304OleCreateLinkToFile@28
305OleCreateLinkToFileEx@48
306OleCreateMenuDescriptor@8
307OleCreateStaticFromData@28
308OleDestroyMenuDescriptor@4
309OleDoAutoConvert@8
310OleDraw@16
311OleDuplicateData@12
312OleFlushClipboard@0
313OleGetAutoConvert@8
314OleGetClipboard@4
315OleGetIconOfClass@12
316OleGetIconOfFile@8
317OleInitialize@4
318OleInitializeWOW@8
319OleIsCurrentClipboard@4
320OleIsRunning@4
321OleLoad@16
322OleLoadFromStream@12
323OleLockRunning@12
324OleMetafilePictFromIconAndLabel@16
325OleNoteObjectVisible@8
326OleQueryCreateFromData@4
327OleQueryLinkFromData@4
328OleRegEnumFormatEtc@12
329OleRegEnumVerbs@8
330OleRegGetMiscStatus@12
331OleRegGetUserType@12
332OleRun@4
333OleSave@12
334OleSaveToStream@8
335OleSetAutoConvert@8
336OleSetClipboard@4
337OleSetContainedObject@8
338OleSetMenuDescriptor@20
339OleTranslateAccelerator@12
340OleUninitialize@0
341OpenOrCreateStream@12
342ProgIDFromCLSID@8
343PropStgNameToFmtId@8
344PropSysAllocString@4
345PropSysFreeString@4
346PropVariantClear@4
347PropVariantCopy@8
348ReadClassStg@8
349ReadClassStm@8
350ReadFmtUserTypeStg@12
351ReadOleStg@24
352ReadStringStream@8
353RegisterDragDrop@8
354ReleaseStgMedium@4
355RevokeDragDrop@4
356SNB_UserFree@8
357SNB_UserMarshal@12
358SNB_UserSize@12
359SNB_UserUnmarshal@12
360STGMEDIUM_UserFree@8
361STGMEDIUM_UserMarshal@12
362STGMEDIUM_UserSize@12
363STGMEDIUM_UserUnmarshal@12
364SetConvertStg@8
365SetDocumentBitStg@8
366SetErrorInfo@8
367StgConvertPropertyToVariant@16
368StgConvertVariantToProperty@28
369StgCreateDocfile@16
370StgCreateDocfileOnILockBytes@16
371StgCreatePropSetStg@12
372StgCreatePropStg@24
373StgCreateStorageEx@32
374StgGetIFillLockBytesOnFile@8
375StgGetIFillLockBytesOnILockBytes@8
376StgIsStorageFile@4
377StgIsStorageILockBytes@4
378StgOpenAsyncDocfileOnIFillLockBytes@16
379StgOpenPropStg@20
380StgOpenStorage@24
381StgOpenStorageEx@32
382StgOpenStorageOnHandle@24
383StgOpenStorageOnILockBytes@24
384StgPropertyLengthAsVariant@16
385StgSetTimes@16
386StgCreateStorageEx@32
387StgOpenStorageEx@32
388StringFromCLSID@8
389StringFromGUID2@12
390StringFromIID@8
391UpdateDCOMSettings@0
392UpdateProcessTracing@8
393UtConvertDvtd16toDvtd32@12
394UtConvertDvtd32toDvtd16@12
395UtGetDvtd16Info@8
396UtGetDvtd32Info@8
397WdtpInterfacePointer_UserFree@4
398WdtpInterfacePointer_UserMarshal@20
399WdtpInterfacePointer_UserSize@20
400WdtpInterfacePointer_UserUnmarshal@16
401WriteClassStg@8
402WriteClassStm@8
403WriteFmtUserTypeStg@12
404WriteOleStg@16
405WriteStringStream@8
lib/libc/mingw/lib32/oleaut32.def created+427
......@@ -0,0 +1,427 @@
1;
2; Definition file of OLEAUT32.dll
3; Automatic generated by gendef
4; written by Kai Tietz 2008
5;
6LIBRARY "OLEAUT32.dll"
7EXPORTS
8SysAllocString@4
9SysReAllocString@8
10SysAllocStringLen@8
11SysReAllocStringLen@12
12SysFreeString@4
13SysStringLen@4
14VariantInit@4
15VariantClear@4
16VariantCopy@8
17VariantCopyInd@8
18VariantChangeType@16
19VariantTimeToDosDateTime@16
20DosDateTimeToVariantTime@12
21SafeArrayCreate@12
22SafeArrayDestroy@4
23SafeArrayGetDim@4
24SafeArrayGetElemsize@4
25SafeArrayGetUBound@12
26SafeArrayGetLBound@12
27SafeArrayLock@4
28SafeArrayUnlock@4
29SafeArrayAccessData@8
30SafeArrayUnaccessData@4
31SafeArrayGetElement@12
32SafeArrayPutElement@12
33SafeArrayCopy@8
34DispGetParam@20
35DispGetIDsOfNames@16
36DispInvoke@32
37CreateDispTypeInfo@12
38CreateStdDispatch@16
39RegisterActiveObject@16
40RevokeActiveObject@8
41GetActiveObject@12
42SafeArrayAllocDescriptor@8
43SafeArrayAllocData@4
44SafeArrayDestroyDescriptor@4
45SafeArrayDestroyData@4
46SafeArrayRedim@8
47SafeArrayAllocDescriptorEx@12
48SafeArrayCreateEx@16
49SafeArrayCreateVectorEx@16
50SafeArraySetRecordInfo@8
51SafeArrayGetRecordInfo@8
52VarParseNumFromStr@20
53VarNumFromParseNum@16
54VarI2FromUI1@8
55VarI2FromI4@8
56VarI2FromR4@8
57VarI2FromR8@12
58VarI2FromCy@12
59VarI2FromDate@12
60VarI2FromStr@16
61VarI2FromDisp@12
62VarI2FromBool@8
63SafeArraySetIID@8
64VarI4FromUI1@8
65VarI4FromI2@8
66VarI4FromR4@8
67VarI4FromR8@12
68VarI4FromCy@12
69VarI4FromDate@12
70VarI4FromStr@16
71VarI4FromDisp@12
72VarI4FromBool@8
73SafeArrayGetIID@8
74VarR4FromUI1@8
75VarR4FromI2@8
76VarR4FromI4@8
77VarR4FromR8@12
78VarR4FromCy@12
79VarR4FromDate@12
80VarR4FromStr@16
81VarR4FromDisp@12
82VarR4FromBool@8
83SafeArrayGetVartype@8
84VarR8FromUI1@8
85VarR8FromI2@8
86VarR8FromI4@8
87VarR8FromR4@8
88VarR8FromCy@12
89VarR8FromDate@12
90VarR8FromStr@16
91VarR8FromDisp@12
92VarR8FromBool@8
93VarFormat@24
94VarDateFromUI1@8
95VarDateFromI2@8
96VarDateFromI4@8
97VarDateFromR4@8
98VarDateFromR8@12
99VarDateFromCy@12
100VarDateFromStr@16
101VarDateFromDisp@12
102VarDateFromBool@8
103VarFormatDateTime@16
104VarCyFromUI1@8
105VarCyFromI2@8
106VarCyFromI4@8
107VarCyFromR4@8
108VarCyFromR8@12
109VarCyFromDate@12
110VarCyFromStr@16
111VarCyFromDisp@12
112VarCyFromBool@8
113VarFormatNumber@28
114VarBstrFromUI1@16
115VarBstrFromI2@16
116VarBstrFromI4@16
117VarBstrFromR4@16
118VarBstrFromR8@20
119VarBstrFromCy@20
120VarBstrFromDate@20
121VarBstrFromDisp@16
122VarBstrFromBool@16
123VarFormatPercent@28
124VarBoolFromUI1@8
125VarBoolFromI2@8
126VarBoolFromI4@8
127VarBoolFromR4@8
128VarBoolFromR8@12
129VarBoolFromDate@12
130VarBoolFromCy@12
131VarBoolFromStr@16
132VarBoolFromDisp@12
133VarFormatCurrency@28
134VarWeekdayName@20
135VarMonthName@16
136VarUI1FromI2@8
137VarUI1FromI4@8
138VarUI1FromR4@8
139VarUI1FromR8@12
140VarUI1FromCy@12
141VarUI1FromDate@12
142VarUI1FromStr@16
143VarUI1FromDisp@12
144VarUI1FromBool@8
145VarFormatFromTokens@24
146VarTokenizeFormatString@28
147VarAdd@12
148VarAnd@12
149VarDiv@12
150;DllCanUnloadNow@0
151DllGetClassObject@12
152DispCallFunc@32
153VariantChangeTypeEx@20
154SafeArrayPtrOfIndex@12
155SysStringByteLen@4
156SysAllocStringByteLen@8
157DllRegisterServer@0
158VarEqv@12
159VarIdiv@12
160VarImp@12
161VarMod@12
162VarMul@12
163VarOr@12
164VarPow@12
165VarSub@12
166CreateTypeLib@12
167LoadTypeLib@8
168LoadRegTypeLib@20
169RegisterTypeLib@12
170QueryPathOfRegTypeLib@20
171LHashValOfNameSys@12
172LHashValOfNameSysA@12
173VarXor@12
174VarAbs@8
175VarFix@8
176OaBuildVersion@0
177ClearCustData@4
178VarInt@8
179VarNeg@8
180VarNot@8
181VarRound@12
182VarCmp@16
183VarDecAdd@12
184VarDecDiv@12
185VarDecMul@12
186CreateTypeLib2@12
187VarDecSub@12
188VarDecAbs@8
189LoadTypeLibEx@12
190SystemTimeToVariantTime@8
191VariantTimeToSystemTime@12
192UnRegisterTypeLib@20
193UserBSTR_free_inst@4
194UserBSTR_free_local@4
195UserBSTR_from_local@8
196UserBSTR_to_local@8
197UserEXCEPINFO_free_inst@4
198UserEXCEPINFO_free_local@4
199UserEXCEPINFO_from_local@8
200UserEXCEPINFO_to_local@8
201UserHWND_free_inst@4
202UserHWND_free_local@4
203UserHWND_from_local@8
204UserHWND_to_local@8
205UserMSG_free_inst@4
206UserMSG_free_local@4
207UserMSG_from_local@8
208UserMSG_to_local@8
209UserVARIANT_free_inst@4
210UserVARIANT_free_local@4
211UserVARIANT_from_local@8
212UserVARIANT_to_local@8
213VarDecFix@8
214VarDecInt@8
215VarDecNeg@8
216VarDecFromUI1@8
217VarDecFromI2@8
218VarDecFromI4@8
219VarDecFromR4@8
220VarDecFromR8@12
221VarDecFromDate@12
222VarDecFromCy@12
223VarDecFromStr@16
224VarDecFromDisp@12
225VarDecFromBool@8
226GetErrorInfo@8
227SetErrorInfo@8
228CreateErrorInfo@4
229VarDecRound@12
230VarDecCmp@8
231VarI2FromI1@8
232VarI2FromUI2@8
233VarI2FromUI4@8
234VarI2FromDec@8
235VarI4FromI1@8
236VarI4FromUI2@8
237VarI4FromUI4@8
238VarI4FromDec@8
239VarR4FromI1@8
240VarR4FromUI2@8
241VarR4FromUI4@8
242VarR4FromDec@8
243VarR8FromI1@8
244VarR8FromUI2@8
245VarR8FromUI4@8
246VarR8FromDec@8
247VarDateFromI1@8
248VarDateFromUI2@8
249VarDateFromUI4@8
250VarDateFromDec@8
251VarCyFromI1@8
252VarCyFromUI2@8
253VarCyFromUI4@8
254VarCyFromDec@8
255VarBstrFromI1@16
256VarBstrFromUI2@16
257VarBstrFromUI4@16
258VarBstrFromDec@16
259VarBoolFromI1@8
260VarBoolFromUI2@8
261VarBoolFromUI4@8
262VarBoolFromDec@8
263VarUI1FromI1@8
264VarUI1FromUI2@8
265VarUI1FromUI4@8
266VarUI1FromDec@8
267VarDecFromI1@8
268VarDecFromUI2@8
269VarDecFromUI4@8
270VarI1FromUI1@8
271VarI1FromI2@8
272VarI1FromI4@8
273VarI1FromR4@8
274VarI1FromR8@12
275VarI1FromDate@12
276VarI1FromCy@12
277VarI1FromStr@16
278VarI1FromDisp@12
279VarI1FromBool@8
280VarI1FromUI2@8
281VarI1FromUI4@8
282VarI1FromDec@8
283VarUI2FromUI1@8
284VarUI2FromI2@8
285VarUI2FromI4@8
286VarUI2FromR4@8
287VarUI2FromR8@12
288VarUI2FromDate@12
289VarUI2FromCy@12
290VarUI2FromStr@16
291VarUI2FromDisp@12
292VarUI2FromBool@8
293VarUI2FromI1@8
294VarUI2FromUI4@8
295VarUI2FromDec@8
296VarUI4FromUI1@8
297VarUI4FromI2@8
298VarUI4FromI4@8
299VarUI4FromR4@8
300VarUI4FromR8@12
301VarUI4FromDate@12
302VarUI4FromCy@12
303VarUI4FromStr@16
304VarUI4FromDisp@12
305VarUI4FromBool@8
306VarUI4FromI1@8
307VarUI4FromUI2@8
308VarUI4FromDec@8
309BSTR_UserSize@12
310BSTR_UserMarshal@12
311BSTR_UserUnmarshal@12
312BSTR_UserFree@8
313VARIANT_UserSize@12
314VARIANT_UserMarshal@12
315VARIANT_UserUnmarshal@12
316VARIANT_UserFree@8
317LPSAFEARRAY_UserSize@12
318LPSAFEARRAY_UserMarshal@12
319LPSAFEARRAY_UserUnmarshal@12
320LPSAFEARRAY_UserFree@8
321LPSAFEARRAY_Size@16
322LPSAFEARRAY_Marshal@16
323LPSAFEARRAY_Unmarshal@16
324VarDecCmpR8@12
325VarCyAdd@20
326DllUnregisterServer@0
327OACreateTypeLib2@12
328VarCyMul@20
329VarCyMulI4@16
330VarCySub@20
331VarCyAbs@12
332VarCyFix@12
333VarCyInt@12
334VarCyNeg@12
335VarCyRound@16
336VarCyCmp@16
337VarCyCmpR8@16
338VarBstrCat@12
339VarBstrCmp@16
340VarR8Pow@20
341VarR4CmpR8@12
342VarR8Round@16
343VarCat@12
344VarDateFromUdateEx@16
345GetRecordInfoFromGuids@24
346GetRecordInfoFromTypeInfo@8
347SetVarConversionLocaleSetting@4
348GetVarConversionLocaleSetting@4
349SetOaNoCache
350VarCyMulI8@20
351VarDateFromUdate@12
352VarUdateFromDate@16
353GetAltMonthNames@8
354VarI8FromUI1@8
355VarI8FromI2@8
356VarI8FromR4@8
357VarI8FromR8@12
358VarI8FromCy@12
359VarI8FromDate@12
360VarI8FromStr@16
361VarI8FromDisp@12
362VarI8FromBool@8
363VarI8FromI1@8
364VarI8FromUI2@8
365VarI8FromUI4@8
366VarI8FromDec@8
367VarI2FromI8@12
368VarI2FromUI8@12
369VarI4FromI8@12
370VarI4FromUI8@12
371VarR4FromI8@12
372VarR4FromUI8@12
373VarR8FromI8@12
374VarR8FromUI8@12
375VarDateFromI8@12
376VarDateFromUI8@12
377VarCyFromI8@12
378VarCyFromUI8@12
379VarBstrFromI8@20
380VarBstrFromUI8@20
381VarBoolFromI8@12
382VarBoolFromUI8@12
383VarUI1FromI8@12
384VarUI1FromUI8@12
385VarDecFromI8@12
386VarDecFromUI8@12
387VarI1FromI8@12
388VarI1FromUI8@12
389VarUI2FromI8@12
390VarUI2FromUI8@12
391OleLoadPictureEx@32
392OleLoadPictureFileEx@32
393SafeArrayCreateVector@12
394SafeArrayCopyData@8
395VectorFromBstr@8
396BstrFromVector@8
397OleIconToCursor@8
398OleCreatePropertyFrameIndirect@4
399OleCreatePropertyFrame@44
400OleLoadPicture@20
401OleCreatePictureIndirect@16
402OleCreateFontIndirect@12
403OleTranslateColor@12
404OleLoadPictureFile@20
405OleSavePictureFile@8
406OleLoadPicturePath@24
407VarUI4FromI8@12
408VarUI4FromUI8@12
409VarI8FromUI8@12
410VarUI8FromI8@12
411VarUI8FromUI1@8
412VarUI8FromI2@8
413VarUI8FromR4@8
414VarUI8FromR8@12
415VarUI8FromCy@12
416VarUI8FromDate@12
417VarUI8FromStr@16
418VarUI8FromDisp@12
419VarUI8FromBool@8
420VarUI8FromI1@8
421VarUI8FromUI2@8
422VarUI8FromUI4@8
423VarUI8FromDec@8
424RegisterTypeLibForUser@12
425UnRegisterTypeLibForUser@20
426OaEnablePerUserTLibRegistration@0
427OACleanup@0
lib/libc/mingw/lib32/opengl32.def created+370
......@@ -0,0 +1,370 @@
1LIBRARY OPENGL32.DLL
2EXPORTS
3GlmfBeginGlsBlock@4
4GlmfCloseMetaFile@4
5GlmfEndGlsBlock@4
6GlmfEndPlayback@4
7GlmfInitPlayback@12
8GlmfPlayGlsRecord@16
9glAccum@8
10glAlphaFunc@8
11glAreTexturesResident@12
12glArrayElement@4
13glBegin@4
14glBindTexture@8
15glBitmap@28
16glBlendFunc@8
17glCallList@4
18glCallLists@12
19glClear@4
20glClearAccum@16
21glClearColor@16
22glClearDepth@8
23glClearIndex@4
24glClearStencil@4
25glClipPlane@8
26glColor3b@12
27glColor3bv@4
28glColor3d@24
29glColor3dv@4
30glColor3f@12
31glColor3fv@4
32glColor3i@12
33glColor3iv@4
34glColor3s@12
35glColor3sv@4
36glColor3ub@12
37glColor3ubv@4
38glColor3ui@12
39glColor3uiv@4
40glColor3us@12
41glColor3usv@4
42glColor4b@16
43glColor4bv@4
44glColor4d@32
45glColor4dv@4
46glColor4f@16
47glColor4fv@4
48glColor4i@16
49glColor4iv@4
50glColor4s@16
51glColor4sv@4
52glColor4ub@16
53glColor4ubv@4
54glColor4ui@16
55glColor4uiv@4
56glColor4us@16
57glColor4usv@4
58glColorMask@16
59glColorMaterial@8
60glColorPointer@16
61glCopyPixels@20
62glCopyTexImage1D@28
63glCopyTexImage2D@32
64glCopyTexSubImage1D@24
65glCopyTexSubImage2D@32
66glCullFace@4
67glDebugEntry@8
68glDeleteLists@8
69glDeleteTextures@8
70glDepthFunc@4
71glDepthMask@4
72glDepthRange@16
73glDisable@4
74glDisableClientState@4
75glDrawArrays@12
76glDrawBuffer@4
77glDrawElements@16
78glDrawPixels@20
79glEdgeFlag@4
80glEdgeFlagPointer@8
81glEdgeFlagv@4
82glEnable@4
83glEnableClientState@4
84glEnd@0
85glEndList@0
86glEvalCoord1d@8
87glEvalCoord1dv@4
88glEvalCoord1f@4
89glEvalCoord1fv@4
90glEvalCoord2d@16
91glEvalCoord2dv@4
92glEvalCoord2f@8
93glEvalCoord2fv@4
94glEvalMesh1@12
95glEvalMesh2@20
96glEvalPoint1@4
97glEvalPoint2@8
98glFeedbackBuffer@12
99glFinish@0
100glFlush@0
101glFogf@8
102glFogfv@8
103glFogi@8
104glFogiv@8
105glFrontFace@4
106glFrustum@48
107glGenLists@4
108glGenTextures@8
109glGetBooleanv@8
110glGetClipPlane@8
111glGetDoublev@8
112glGetError@0
113glGetFloatv@8
114glGetIntegerv@8
115glGetLightfv@12
116glGetLightiv@12
117glGetMapdv@12
118glGetMapfv@12
119glGetMapiv@12
120glGetMaterialfv@12
121glGetMaterialiv@12
122glGetPixelMapfv@8
123glGetPixelMapuiv@8
124glGetPixelMapusv@8
125glGetPointerv@8
126glGetPolygonStipple@4
127glGetString@4
128glGetTexEnvfv@12
129glGetTexEnviv@12
130glGetTexGendv@12
131glGetTexGenfv@12
132glGetTexGeniv@12
133glGetTexImage@20
134glGetTexLevelParameterfv@16
135glGetTexLevelParameteriv@16
136glGetTexParameterfv@12
137glGetTexParameteriv@12
138glHint@8
139glIndexMask@4
140glIndexPointer@12
141glIndexd@8
142glIndexdv@4
143glIndexf@4
144glIndexfv@4
145glIndexi@4
146glIndexiv@4
147glIndexs@4
148glIndexsv@4
149glIndexub@4
150glIndexubv@4
151glInitNames@0
152glInterleavedArrays@12
153glIsEnabled@4
154glIsList@4
155glIsTexture@4
156glLightModelf@8
157glLightModelfv@8
158glLightModeli@8
159glLightModeliv@8
160glLightf@12
161glLightfv@12
162glLighti@12
163glLightiv@12
164glLineStipple@8
165glLineWidth@4
166glListBase@4
167glLoadIdentity@0
168glLoadMatrixd@4
169glLoadMatrixf@4
170glLoadName@4
171glLogicOp@4
172glMap1d@32
173glMap1f@24
174glMap2d@56
175glMap2f@40
176glMapGrid1d@20
177glMapGrid1f@12
178glMapGrid2d@40
179glMapGrid2f@24
180glMaterialf@12
181glMaterialfv@12
182glMateriali@12
183glMaterialiv@12
184glMatrixMode@4
185glMultMatrixd@4
186glMultMatrixf@4
187glNewList@8
188glNormal3b@12
189glNormal3bv@4
190glNormal3d@24
191glNormal3dv@4
192glNormal3f@12
193glNormal3fv@4
194glNormal3i@12
195glNormal3iv@4
196glNormal3s@12
197glNormal3sv@4
198glNormalPointer@12
199glOrtho@48
200glPassThrough@4
201glPixelMapfv@12
202glPixelMapuiv@12
203glPixelMapusv@12
204glPixelStoref@8
205glPixelStorei@8
206glPixelTransferf@8
207glPixelTransferi@8
208glPixelZoom@8
209glPointSize@4
210glPolygonMode@8
211glPolygonOffset@8
212glPolygonStipple@4
213glPopAttrib@0
214glPopClientAttrib@0
215glPopMatrix@0
216glPopName@0
217glPrioritizeTextures@12
218glPushAttrib@4
219glPushClientAttrib@4
220glPushMatrix@0
221glPushName@4
222glRasterPos2d@16
223glRasterPos2dv@4
224glRasterPos2f@8
225glRasterPos2fv@4
226glRasterPos2i@8
227glRasterPos2iv@4
228glRasterPos2s@8
229glRasterPos2sv@4
230glRasterPos3d@24
231glRasterPos3dv@4
232glRasterPos3f@12
233glRasterPos3fv@4
234glRasterPos3i@12
235glRasterPos3iv@4
236glRasterPos3s@12
237glRasterPos3sv@4
238glRasterPos4d@32
239glRasterPos4dv@4
240glRasterPos4f@16
241glRasterPos4fv@4
242glRasterPos4i@16
243glRasterPos4iv@4
244glRasterPos4s@16
245glRasterPos4sv@4
246glReadBuffer@4
247glReadPixels@28
248glRectd@32
249glRectdv@8
250glRectf@16
251glRectfv@8
252glRecti@16
253glRectiv@8
254glRects@16
255glRectsv@8
256glRenderMode@4
257glRotated@32
258glRotatef@16
259glScaled@24
260glScalef@12
261glScissor@16
262glSelectBuffer@8
263glShadeModel@4
264glStencilFunc@12
265glStencilMask@4
266glStencilOp@12
267glTexCoord1d@8
268glTexCoord1dv@4
269glTexCoord1f@4
270glTexCoord1fv@4
271glTexCoord1i@4
272glTexCoord1iv@4
273glTexCoord1s@4
274glTexCoord1sv@4
275glTexCoord2d@16
276glTexCoord2dv@4
277glTexCoord2f@8
278glTexCoord2fv@4
279glTexCoord2i@8
280glTexCoord2iv@4
281glTexCoord2s@8
282glTexCoord2sv@4
283glTexCoord3d@24
284glTexCoord3dv@4
285glTexCoord3f@12
286glTexCoord3fv@4
287glTexCoord3i@12
288glTexCoord3iv@4
289glTexCoord3s@12
290glTexCoord3sv@4
291glTexCoord4d@32
292glTexCoord4dv@4
293glTexCoord4f@16
294glTexCoord4fv@4
295glTexCoord4i@16
296glTexCoord4iv@4
297glTexCoord4s@16
298glTexCoord4sv@4
299glTexCoordPointer@16
300glTexEnvf@12
301glTexEnvfv@12
302glTexEnvi@12
303glTexEnviv@12
304glTexGend@16
305glTexGendv@12
306glTexGenf@12
307glTexGenfv@12
308glTexGeni@12
309glTexGeniv@12
310glTexImage1D@32
311glTexImage2D@36
312glTexParameterf@12
313glTexParameterfv@12
314glTexParameteri@12
315glTexParameteriv@12
316glTexSubImage1D@28
317glTexSubImage2D@36
318glTranslated@24
319glTranslatef@12
320glVertex2d@16
321glVertex2dv@4
322glVertex2f@8
323glVertex2fv@4
324glVertex2i@8
325glVertex2iv@4
326glVertex2s@8
327glVertex2sv@4
328glVertex3d@24
329glVertex3dv@4
330glVertex3f@12
331glVertex3fv@4
332glVertex3i@12
333glVertex3iv@4
334glVertex3s@12
335glVertex3sv@4
336glVertex4d@32
337glVertex4dv@4
338glVertex4f@16
339glVertex4fv@4
340glVertex4i@16
341glVertex4iv@4
342glVertex4s@16
343glVertex4sv@4
344glVertexPointer@16
345glViewport@16
346wglChoosePixelFormat@8
347wglCopyContext@12
348wglCreateContext@4
349wglCreateLayerContext@8
350wglDeleteContext@4
351wglDescribeLayerPlane@20
352wglDescribePixelFormat@16
353wglGetCurrentContext@0
354wglGetCurrentDC@0
355wglGetDefaultProcAddress@4
356wglGetLayerPaletteEntries@20
357wglGetPixelFormat@4
358wglGetProcAddress@4
359wglMakeCurrent@8
360wglRealizeLayerPalette@12
361wglSetLayerPaletteEntries@20
362wglSetPixelFormat@12
363wglShareLists@8
364wglSwapBuffers@4
365wglSwapLayerBuffers@8
366wglSwapMultipleBuffers@8
367wglUseFontBitmapsA@16
368wglUseFontBitmapsW@16
369wglUseFontOutlinesA@32
370wglUseFontOutlinesW@32
lib/libc/mingw/lib32/rpcns4.def created+70
......@@ -0,0 +1,70 @@
1;
2; Definition file of RPCNS4.dll
3; Automatic generated by gendef
4; written by Kai Tietz 2008
5;
6LIBRARY "RPCNS4.dll"
7EXPORTS
8I_GetDefaultEntrySyntax@0
9I_RpcNsGetBuffer@4
10I_RpcNsNegotiateTransferSyntax@4
11I_RpcNsRaiseException@8
12I_RpcNsSendReceive@8
13I_RpcReBindBuffer@4
14RpcIfIdVectorFree@4
15RpcNsBindingExportA@20
16RpcNsBindingExportPnPA@16
17RpcNsBindingExportPnPW@16
18RpcNsBindingExportW@20
19RpcNsBindingImportBeginA@20
20RpcNsBindingImportBeginW@20
21RpcNsBindingImportDone@4
22RpcNsBindingImportNext@8
23RpcNsBindingLookupBeginA@24
24RpcNsBindingLookupBeginW@24
25RpcNsBindingLookupDone@4
26RpcNsBindingLookupNext@8
27RpcNsBindingSelect@8
28RpcNsBindingUnexportA@16
29RpcNsBindingUnexportPnPA@16
30RpcNsBindingUnexportPnPW@16
31RpcNsBindingUnexportW@16
32RpcNsEntryExpandNameA@12
33RpcNsEntryExpandNameW@12
34RpcNsEntryObjectInqBeginA@12
35RpcNsEntryObjectInqBeginW@12
36RpcNsEntryObjectInqDone@4
37RpcNsEntryObjectInqNext@8
38RpcNsGroupDeleteA@8
39RpcNsGroupDeleteW@8
40RpcNsGroupMbrAddA@16
41RpcNsGroupMbrAddW@16
42RpcNsGroupMbrInqBeginA@16
43RpcNsGroupMbrInqBeginW@16
44RpcNsGroupMbrInqDone@4
45RpcNsGroupMbrInqNextA@8
46RpcNsGroupMbrInqNextW@8
47RpcNsGroupMbrRemoveA@16
48RpcNsGroupMbrRemoveW@16
49RpcNsMgmtBindingUnexportA@20
50RpcNsMgmtBindingUnexportW@20
51RpcNsMgmtEntryCreateA@8
52RpcNsMgmtEntryCreateW@8
53RpcNsMgmtEntryDeleteA@8
54RpcNsMgmtEntryDeleteW@8
55RpcNsMgmtEntryInqIfIdsA@12
56RpcNsMgmtEntryInqIfIdsW@12
57RpcNsMgmtHandleSetExpAge@8
58RpcNsMgmtInqExpAge@4
59RpcNsMgmtSetExpAge@4
60RpcNsProfileDeleteA@8
61RpcNsProfileDeleteW@8
62RpcNsProfileEltAddA@28
63RpcNsProfileEltAddW@28
64RpcNsProfileEltInqBeginA@32
65RpcNsProfileEltInqBeginW@32
66RpcNsProfileEltInqDone@4
67RpcNsProfileEltInqNextA@20
68RpcNsProfileEltInqNextW@20
69RpcNsProfileEltRemoveA@20
70RpcNsProfileEltRemoveW@20
lib/libc/mingw/lib32/rpcrt4.def created+568
......@@ -0,0 +1,568 @@
1;
2; Definition file of RPCRT4.dll
3; Automatic generated by gendef
4; written by Kai Tietz 2008
5;
6LIBRARY "RPCRT4.dll"
7EXPORTS
8I_RpcFwThisIsTheManager@0
9I_RpcInitHttpImports@4
10I_RpcOpenClientProcess@12
11I_RpcServerTurnOnOffKeepalives@16
12I_RpcVerifierCorruptionExpected@0
13NdrFullPointerFree@8
14NdrFullPointerInsertRefId@12
15NdrFullPointerQueryPointer@16
16NdrFullPointerQueryRefId@16
17NdrGetBaseInterfaceFromStub@12
18RpcCertMatchPrincipalName@8
19CStdStubBuffer_AddRef@4
20CStdStubBuffer_Connect@8
21CStdStubBuffer_CountRefs@4
22CStdStubBuffer_DebugServerQueryInterface@8
23CStdStubBuffer_DebugServerRelease@8
24CStdStubBuffer_Disconnect@4
25CStdStubBuffer_Invoke@12
26CStdStubBuffer_IsIIDSupported@8
27CStdStubBuffer_QueryInterface@12
28CreateProxyFromTypeInfo@20
29CreateStubFromTypeInfo@16
30DceErrorInqTextA@8
31DceErrorInqTextW@8
32DllGetClassObject@12
33DllRegisterServer@0
34IUnknown_AddRef_Proxy@4
35IUnknown_QueryInterface_Proxy@12
36IUnknown_Release_Proxy@4
37I_RpcAllocate@4
38I_RpcAsyncAbortCall@8
39I_RpcAsyncSetHandle@8
40I_RpcBCacheAllocate@4
41I_RpcBCacheFree@4
42I_RpcBindingCopy@8
43I_RpcBindingInqDynamicEndpoint@8
44I_RpcBindingCreateNP@16
45I_RpcBindingHandleToAsyncHandle@8
46I_RpcBindingInqDynamicEndpoint@8
47I_RpcBindingInqDynamicEndpointA@8
48I_RpcBindingInqDynamicEndpointW@8
49I_RpcBindingInqLocalClientPID@8
50I_RpcBindingInqMarshalledTargetInfo@12
51I_RpcBindingInqSecurityContext@8
52I_RpcBindingInqSecurityContextKeyInfo@8
53I_RpcBindingInqTransportType@8
54I_RpcBindingInqWireIdForSnego@8
55I_RpcBindingIsClientLocal@8
56I_RpcBindingToStaticStringBindingW@8
57I_RpcClearMutex@4
58I_RpcConnectionInqSockBuffSize2@4
59I_RpcCompleteAndFree@12
60I_RpcConnectionInqSockBuffSize@8
61I_RpcConnectionSetSockBuffSize@8
62I_RpcDeleteMutex@4
63I_RpcEnableWmiTrace@8
64I_RpcExceptionFilter@4
65I_RpcFilterDCOMActivation@20
66I_RpcFree@4
67I_RpcFreeBuffer@4
68I_RpcGetAssociationContext@4
69I_RpcFreePipeBuffer@4
70I_RpcGetBuffer@4
71I_RpcGetBufferWithObject@8
72I_RpcGetCurrentCallHandle@0
73I_RpcIOAlerted@4
74I_RpcGetExtendedError@0
75I_RpcGetPortAllocationData@4
76I_RpcIfInqTransferSyntaxes@16
77I_RpcLogEvent@28
78I_RpcMapWin32Status@4
79I_RpcMonitorAssociation@12
80I_RpcMarshalBindingHandleAndInterfaceForNDF@24
81I_RpcNDRCGetWireRepresentation@8
82I_RpcNDRSContextEmergencyCleanup@8
83I_RpcNegotiateTransferSyntax@4
84I_RpcNsBindingSetEntryName@12
85I_RpcNsBindingSetEntryNameA@12
86I_RpcNsBindingSetEntryNameW@12
87I_RpcNsInterfaceExported@12
88I_RpcNsInterfaceUnexported@12
89I_RpcParseSecurity@8
90I_RpcPauseExecution@4
91I_RpcReallocPipeBuffer@8
92I_RpcReceive@8
93I_RpcRecordCalloutFailure@12
94I_RpcRequestMutex@4
95I_RpcSNCHOption@8
96I_RpcSend@4
97I_RpcSendReceive@4
98I_RpcServerAllocateIpPort@8
99I_RpcServerCheckClientRestriction@4
100I_RpcServerInqAddressChangeFn@0
101I_RpcServerInqLocalConnAddress@16
102I_RpcServerInqRemoteConnAddress@16
103I_RpcServerInqTransportType@4
104I_RpcServerIsClientDisconnected@8
105I_RpcServerRegisterForwardFunction@4
106I_RpcSetAssociationContext@4
107I_RpcServerSetAddressChangeFn@4
108I_RpcServerStartService@12
109I_RpcServerUseProtseq2A@20
110I_RpcServerUseProtseq2W@20
111I_RpcServerUseProtseqEp2A@24
112I_RpcServerUseProtseqEp2W@24
113I_RpcSessionStrictContextHandle@0
114I_RpcSetDCOMAppId@4
115I_RpcSsDontSerializeContext@0
116I_RpcStopMonitorAssociation@4
117I_RpcTransClientMaxFrag@4
118I_RpcTransClientReallocBuffer@16
119I_RpcTransServerFindConnection@8
120I_RpcTransServerFreeBuffer@8
121I_RpcTransServerMaxFrag@4
122I_RpcTransServerNewConnection@12
123I_RpcTransServerProtectThread@0
124I_RpcTransServerReallocBuffer@16
125I_RpcTransServerReceiveDirectReady@4
126I_RpcTransServerUnprotectThread@4
127I_RpcSystemFunction001@12
128I_RpcTransConnectionAllocatePacket@8
129I_RpcTransConnectionFreePacket@8
130I_RpcTransConnectionReallocPacket@16
131I_RpcTransDatagramAllocate2@16
132I_RpcTransDatagramAllocate@16
133I_RpcTransDatagramFree@8
134I_RpcTransGetThreadEvent@0
135I_RpcTransGetThreadEventThreadOptional@0
136I_RpcTransIoCancelled@8
137I_RpcTransServerNewConnection@4
138I_RpcTurnOnEEInfoPropagation@0
139I_UuidCreate@4
140MIDL_wchar_strcpy@8
141MIDL_wchar_strlen@4
142MesBufferHandleReset@24
143MesDecodeBufferHandleCreate@12
144MesDecodeIncrementalHandleCreate@12
145MesEncodeDynBufferHandleCreate@12
146MesEncodeFixedBufferHandleCreate@16
147MesEncodeIncrementalHandleCreate@16
148MesHandleFree@4
149MesIncrementalHandleReset@24
150MesInqProcEncodingId@12
151NDRCContextBinding@4
152NDRCContextMarshall@8
153NDRCContextUnmarshall@16
154NDRSContextMarshall2@24
155NDRSContextMarshall@12
156NDRSContextMarshallEx@16
157NDRSContextUnmarshall2@20
158NDRSContextUnmarshall@8
159NDRSContextUnmarshallEx@12
160NDRcopy@12
161NdrAllocate@8
162NdrAsyncClientCall@0
163NdrAsyncServerCall@4
164NdrByteCountPointerBufferSize@12
165NdrByteCountPointerFree@12
166NdrByteCountPointerMarshall@12
167NdrByteCountPointerUnmarshall@16
168NdrCStdStubBuffer2_Release@8
169NdrCStdStubBuffer_Release@8
170NdrClearOutParameters@12
171NdrClientCall
172NdrClientCall2
173NdrClientContextMarshall@12
174NdrClientContextUnmarshall@12
175NdrClientInitialize@16
176NdrClientInitializeNew@16
177NdrComplexArrayBufferSize@12
178NdrComplexArrayFree@12
179NdrComplexArrayMarshall@12
180NdrComplexArrayMemorySize@8
181NdrComplexArrayUnmarshall@16
182NdrComplexStructBufferSize@12
183NdrComplexStructFree@12
184NdrComplexStructMarshall@12
185NdrComplexStructMemorySize@8
186NdrComplexStructUnmarshall@16
187NdrConformantArrayBufferSize@12
188NdrConformantArrayFree@12
189NdrConformantArrayMarshall@12
190NdrConformantArrayMemorySize@8
191NdrConformantArrayUnmarshall@16
192NdrConformantStringBufferSize@12
193NdrConformantStringMarshall@12
194NdrConformantStringMemorySize@8
195NdrConformantStringUnmarshall@16
196NdrConformantStructBufferSize@12
197NdrConformantStructFree@12
198NdrConformantStructMarshall@12
199NdrConformantStructMemorySize@8
200NdrConformantStructUnmarshall@16
201NdrConformantVaryingArrayBufferSize@12
202NdrConformantVaryingArrayFree@12
203NdrConformantVaryingArrayMarshall@12
204NdrConformantVaryingArrayMemorySize@8
205NdrConformantVaryingArrayUnmarshall@16
206NdrConformantVaryingStructBufferSize@12
207NdrConformantVaryingStructFree@12
208NdrConformantVaryingStructMarshall@12
209NdrConformantVaryingStructMemorySize@8
210NdrConformantVaryingStructUnmarshall@16
211NdrContextHandleInitialize@8
212NdrContextHandleSize@12
213NdrConvert2@12
214NdrConvert@8
215NdrCorrelationFree@4
216NdrCorrelationInitialize@16
217NdrCorrelationPass@4
218NdrCreateServerInterfaceFromStub@8
219NdrDcomAsyncClientCall@0
220NdrDcomAsyncStubCall@16
221NdrDllCanUnloadNow@4
222NdrDllGetClassObject@24
223NdrDllRegisterProxy@12
224NdrDllUnregisterProxy@12
225NdrEncapsulatedUnionBufferSize@12
226NdrEncapsulatedUnionFree@12
227NdrEncapsulatedUnionMarshall@12
228NdrEncapsulatedUnionMemorySize@8
229NdrEncapsulatedUnionUnmarshall@16
230NdrFixedArrayBufferSize@12
231NdrFixedArrayFree@12
232NdrFixedArrayMarshall@12
233NdrFixedArrayMemorySize@8
234NdrFixedArrayUnmarshall@16
235NdrFreeBuffer@4
236NdrFullPointerFree@8
237NdrFullPointerInsertRefId@12
238NdrFullPointerQueryPointer@16
239NdrFullPointerQueryRefId@16
240NdrFullPointerInsertRefId@12
241NdrFullPointerQueryPointer@16
242NdrFullPointerQueryRefId@16
243NdrFullPointerXlatFree@4
244NdrFullPointerXlatInit@8
245NdrGetBuffer@12
246NdrHardStructBufferSize@12
247NdrHardStructFree@12
248NdrHardStructMarshall@12
249NdrHardStructMemorySize@8
250NdrHardStructUnmarshall@16
251NdrGetDcomProtocolVersion@8
252NdrGetSimpleTypeBufferAlignment@4
253NdrGetSimpleTypeBufferSize@4
254NdrGetSimpleTypeMemorySize@4
255NdrGetTypeFlags@4
256NdrGetUserMarshalInfo@12
257NdrInterfacePointerBufferSize@12
258NdrInterfacePointerFree@12
259NdrInterfacePointerMarshall@12
260NdrInterfacePointerMemorySize@8
261NdrInterfacePointerUnmarshall@16
262NdrMapCommAndFaultStatus@16
263NdrMesProcEncodeDecode
264NdrMesProcEncodeDecode2
265NdrMesSimpleTypeAlignSize@4
266NdrMesSimpleTypeDecode@12
267NdrMesSimpleTypeEncode@16
268NdrMesTypeAlignSize2@20
269NdrMesTypeAlignSize@16
270NdrMesTypeDecode2@20
271NdrMesTypeDecode@16
272NdrMesTypeEncode2@20
273NdrMesTypeEncode@16
274NdrMesTypeFree2@20
275NdrNonConformantStringBufferSize@12
276NdrNonConformantStringMarshall@12
277NdrNonConformantStringMemorySize@8
278NdrNonConformantStringUnmarshall@16
279NdrNonEncapsulatedUnionBufferSize@12
280NdrNonEncapsulatedUnionFree@12
281NdrNonEncapsulatedUnionMarshall@12
282NdrNonEncapsulatedUnionMemorySize@8
283NdrNonEncapsulatedUnionUnmarshall@16
284NdrNsGetBuffer@12
285NdrNsSendReceive@12
286NdrOleAllocate@4
287NdrOleFree@4
288NdrOutInit@12
289NdrPartialIgnoreClientBufferSize@8
290NdrPartialIgnoreClientMarshall@8
291NdrPartialIgnoreServerInitialize@12
292NdrPartialIgnoreServerUnmarshall@8
293NdrPointerBufferSize@12
294NdrPointerFree@12
295NdrPointerMarshall@12
296NdrPointerMemorySize@8
297NdrPointerUnmarshall@16
298NdrProxyErrorHandler@4
299NdrProxyFreeBuffer@8
300NdrProxyGetBuffer@8
301NdrProxyInitialize@20
302NdrProxySendReceive@8
303NdrRangeUnmarshall@16
304NdrRpcSmClientAllocate@4
305NdrRpcSmClientFree@4
306NdrRpcSmSetClientToOsf@4
307NdrRpcSsDefaultAllocate@4
308NdrRpcSsDefaultFree@4
309NdrRpcSsDisableAllocate@4
310NdrRpcSsEnableAllocate@4
311NdrSendReceive@8
312NdrServerCall2@4
313NdrServerCall@4
314NdrServerContextMarshall@12
315NdrServerContextNewMarshall@16
316NdrServerContextNewUnmarshall@8
317NdrServerContextUnmarshall@4
318NdrServerInitialize@12
319NdrServerInitializeMarshall@8
320NdrServerInitializeNew@12
321NdrServerInitializePartial@16
322NdrServerInitializeUnmarshall@12
323NdrServerMarshall@16
324NdrServerUnmarshall@24
325NdrSimpleStructBufferSize@12
326NdrSimpleStructFree@12
327NdrSimpleStructMarshall@12
328NdrSimpleStructMemorySize@8
329NdrSimpleStructUnmarshall@16
330NdrSimpleTypeMarshall@12
331NdrSimpleTypeUnmarshall@12
332NdrStubCall2@16
333NdrStubCall@16
334NdrStubForwardingFunction@16
335NdrStubGetBuffer@12
336NdrStubInitialize@16
337NdrStubInitializeMarshall@12
338NdrTypeFlags@60029
339NdrTypeFree@12
340NdrTypeMarshall@12
341NdrTypeSize@12
342NdrTypeUnmarshall@16
343NdrUnmarshallBasetypeInline@12
344NdrUserMarshalBufferSize@12
345NdrUserMarshalFree@12
346NdrUserMarshalMarshall@12
347NdrUserMarshalMemorySize@8
348NdrUserMarshalSimpleTypeConvert@12
349NdrUserMarshalUnmarshall@16
350NdrVaryingArrayBufferSize@12
351NdrVaryingArrayFree@12
352NdrVaryingArrayMarshall@12
353NdrVaryingArrayMemorySize@8
354NdrVaryingArrayUnmarshall@16
355NdrXmitOrRepAsBufferSize@12
356NdrXmitOrRepAsFree@12
357NdrXmitOrRepAsMarshall@12
358NdrXmitOrRepAsMemorySize@8
359NdrXmitOrRepAsUnmarshall@16
360NdrpCreateProxy@16
361NdrpCreateStub@12
362NdrpGetProcFormatString@24
363NdrpGetTypeFormatString@12
364NdrpGetTypeGenCookie@4
365NdrpMemoryIncrement@12
366NdrpReleaseTypeFormatString@4
367NdrpReleaseTypeGenCookie@4
368NdrpVarVtOfTypeDesc@12
369RpcAsyncAbortCall@8
370RpcAsyncCancelCall@8
371RpcAsyncCompleteCall@8
372RpcAsyncGetCallStatus@4
373RpcAsyncInitializeHandle@8
374RpcAsyncRegisterInfo@4
375RpcBindingBind@12
376RpcBindingCopy@8
377RpcBindingCreateA@16
378RpcBindingCreateW@16
379RpcBindingFree@4
380RpcBindingFromStringBindingA@8
381RpcBindingFromStringBindingW@8
382RpcBindingInqAuthClientA@24
383RpcBindingInqAuthClientExA@28
384RpcBindingInqAuthClientExW@28
385RpcBindingInqAuthClientW@24
386RpcBindingInqAuthInfoA@24
387RpcBindingInqAuthInfoExA@32
388RpcBindingInqAuthInfoExW@32
389RpcBindingInqAuthInfoW@24
390RpcBindingInqObject@8
391RpcBindingInqOption@12
392RpcBindingReset@4
393RpcBindingServerFromClient@8
394RpcBindingSetAuthInfoA@24
395RpcBindingSetAuthInfoExA@28
396RpcBindingSetAuthInfoExW@28
397RpcBindingSetAuthInfoW@24
398RpcBindingSetObject@8
399RpcBindingSetOption@12
400RpcBindingToStringBindingA@8
401RpcBindingToStringBindingW@8
402RpcBindingUnbind@4
403RpcBindingVectorFree@4
404RpcCancelThread@4
405RpcCancelThreadEx@8
406RpcCertGeneratePrincipalNameA@12
407RpcCertGeneratePrincipalNameW@12
408RpcEpRegisterA@16
409RpcEpRegisterNoReplaceA@16
410RpcEpRegisterNoReplaceW@16
411RpcEpRegisterW@16
412RpcEpResolveBinding@8
413RpcEpUnregister@12
414RpcErrorAddRecord@4
415RpcErrorClearInformation@0
416RpcErrorEndEnumeration@4
417RpcErrorGetNextRecord@12
418RpcErrorGetNumberOfRecords@8
419RpcErrorLoadErrorInfo@12
420RpcErrorResetEnumeration@4
421RpcErrorSaveErrorInfo@12
422RpcErrorStartEnumeration@4
423RpcExceptionFilter@4
424RpcFreeAuthorizationContext@4
425RpcGetAuthorizationContextForClient@36
426RpcIfIdVectorFree@4
427RpcIfInqId@8
428RpcImpersonateClient@4
429RpcMgmtEnableIdleCleanup@0
430RpcMgmtEpEltInqBegin@24
431RpcMgmtEpEltInqDone@4
432RpcMgmtEpEltInqNextA@20
433RpcMgmtEpEltInqNextW@20
434RpcMgmtEpUnregister@16
435RpcMgmtInqComTimeout@8
436RpcMgmtInqDefaultProtectLevel@8
437RpcMgmtInqIfIds@8
438RpcMgmtInqServerPrincNameA@12
439RpcMgmtInqServerPrincNameW@12
440RpcMgmtInqStats@8
441RpcMgmtIsServerListening@4
442RpcMgmtSetAuthorizationFn@4
443RpcMgmtSetCancelTimeout@4
444RpcMgmtSetComTimeout@8
445RpcMgmtSetServerStackSize@4
446RpcMgmtStatsVectorFree@4
447RpcMgmtStopServerListening@4
448RpcMgmtWaitServerListen@0
449RpcNetworkInqProtseqsA@4
450RpcNetworkInqProtseqsW@4
451RpcNetworkIsProtseqValidA@4
452RpcNetworkIsProtseqValidW@4
453RpcNsBindingInqEntryNameA@12
454RpcNsBindingInqEntryNameW@12
455RpcObjectInqType@8
456RpcObjectSetInqFn@4
457RpcObjectSetType@8
458RpcProtseqVectorFreeA@4
459RpcProtseqVectorFreeW@4
460RpcRaiseException@4
461RpcRevertToSelf@0
462RpcRevertToSelfEx@4
463RpcServerCompleteSecurityCallback@8
464RpcServerInqBindingHandle@4
465RpcServerInqBindings@4
466RpcServerInqCallAttributesA@8
467RpcServerInqCallAttributesW@8
468RpcServerInqDefaultPrincNameA@8
469RpcServerInqDefaultPrincNameW@8
470RpcServerInqIf@12
471RpcServerListen@12
472RpcServerRegisterAuthInfoA@16
473RpcServerRegisterAuthInfoW@16
474RpcServerRegisterIf2@28
475RpcServerRegisterIf@12
476RpcServerRegisterIfEx@24
477RpcServerSubscribeForNotification@16
478RpcServerTestCancel@4
479RpcServerUnregisterIf@12
480RpcServerUnregisterIfEx@12
481RpcServerUnsubscribeForNotification@12
482RpcServerUseAllProtseqs@8
483RpcServerUseAllProtseqsEx@12
484RpcServerUseAllProtseqsIf@12
485RpcServerUseAllProtseqsIfEx@16
486RpcServerUseProtseqA@12
487RpcServerUseProtseqEpA@16
488RpcServerUseProtseqEpExA@20
489RpcServerUseProtseqEpExW@20
490RpcServerUseProtseqEpW@16
491RpcServerUseProtseqExA@16
492RpcServerUseProtseqExW@16
493RpcServerUseProtseqIfA@16
494RpcServerUseProtseqIfExA@20
495RpcServerUseProtseqIfExW@20
496RpcServerUseProtseqIfW@16
497RpcServerUseProtseqW@12
498RpcServerYield@0
499RpcSmAllocate@8
500RpcSmClientFree@4
501RpcSmDestroyClientContext@4
502RpcSmDisableAllocate@0
503RpcSmEnableAllocate@0
504RpcSmFree@4
505RpcSmGetThreadHandle@4
506RpcSmSetClientAllocFree@8
507RpcSmSetThreadHandle@4
508RpcSmSwapClientAllocFree@16
509RpcSsAllocate@4
510RpcSsContextLockExclusive@8
511RpcSsContextLockShared@8
512RpcSsDestroyClientContext@4
513RpcSsDisableAllocate@0
514RpcSsDontSerializeContext@0
515RpcSsEnableAllocate@0
516RpcSsFree@4
517RpcSsGetContextBinding@8
518RpcSsGetThreadHandle@0
519RpcSsSetClientAllocFree@8
520RpcSsSetThreadHandle@4
521RpcSsSwapClientAllocFree@16
522RpcStringBindingComposeA@24
523RpcStringBindingComposeW@24
524RpcStringBindingParseA@24
525RpcStringBindingParseW@24
526RpcStringFreeA@4
527RpcStringFreeW@4
528RpcTestCancel@0
529RpcUserFree@8
530SimpleTypeAlignment@1526
531SimpleTypeBufferSize@1526
532SimpleTypeMemorySize@1526
533TowerConstruct@24
534TowerExplode@24
535UuidCompare@12
536UuidCreate@4
537UuidCreateNil@4
538UuidCreateSequential@4
539UuidEqual@12
540UuidFromStringA@8
541UuidFromStringW@8
542UuidHash@8
543UuidIsNil@8
544UuidToStringA@8
545UuidToStringW@8
546char_array_from_ndr@16
547char_from_ndr@8
548data_from_ndr@16
549data_into_ndr@16
550data_size_ndr@16
551double_array_from_ndr@16
552double_from_ndr@8
553enum_from_ndr@8
554float_array_from_ndr@16
555float_from_ndr@8
556long_array_from_ndr@16
557long_from_ndr@8
558long_from_ndr_temp@12
559pfnFreeRoutines DATA
560pfnMarshallRoutines DATA
561pfnSizeRoutines DATA
562pfnUnmarshallRoutines DATA
563short_array_from_ndr@16
564short_from_ndr@8
565short_from_ndr_temp@12
566tree_into_ndr@16
567tree_peek_ndr@16
568tree_size_ndr@16
lib/libc/mingw/lib32/shell32.def created+356
......@@ -0,0 +1,356 @@
1;
2; Definition file of SHELL32.dll
3; Automatic generated by gendef
4; written by Kai Tietz 2008
5;
6LIBRARY "SHELL32.dll"
7EXPORTS
8SHChangeNotifyRegister@24
9SHDefExtractIconA@24
10SHChangeNotifyDeregister@4
11SHDefExtractIconW@24
12PifMgr_OpenProperties@16
13PifMgr_GetProperties@20
14PifMgr_SetProperties@20
15PifMgr_CloseProperties@8
16SHStartNetConnectionDialogW@12
17ILFindLastID@4
18ILRemoveLastID@4
19ILClone@4
20ILCloneFirst@4
21ILIsEqual@8
22DAD_DragEnterEx2@16
23ILIsParent@12
24ILFindChild@8
25ILCombine@8
26ILSaveToStream@8
27SHILCreateFromPath@12
28IsLFNDriveA@4
29IsLFNDriveW@4
30PathIsExe@4
31PathMakeUniqueName@20
32PathQualify@4
33PathResolve@12
34RestartDialog@12
35PickIconDlg@16
36GetFileNameFromBrowse@28
37DriveType@4
38IsNetDrive@4
39Shell_MergeMenus@24
40SHGetSetSettings@12
41Shell_GetImageLists@8
42Shell_GetCachedImageIndex@12
43SHShellFolderView_Message@12
44SHCreateStdEnumFmtEtc@12
45PathYetAnotherMakeUniqueName@16
46SHMapPIDLToSystemImageListIndex@12
47SHOpenPropSheetW@28
48OpenAs_RunDLL@16
49CIDLData_CreateFromIDArray@16
50OpenRegStream@16
51SHDoDragDrop@20
52SHCloneSpecialIDList@12
53SHFindFiles@8
54PathGetShortPath@4
55SHGetRealIDL@12
56SHRestricted@4
57SHCoCreateInstance@20
58SignalFileOpen@4
59IsLFNDrive@4
60OpenAs_RunDLLA@16
61DAD_AutoScroll@12
62DAD_DragEnterEx@12
63DAD_DragLeave@0
64OpenAs_RunDLLW@16
65DAD_DragMove@8
66PrepareDiscForBurnRunDllW@16
67DAD_SetDragImage@8
68DAD_ShowDragImage@4
69PrintersGetCommand_RunDLL@16
70PrintersGetCommand_RunDLLA@16
71SHCLSIDFromString@8
72SHFind_InitMenuPopup@16
73PrintersGetCommand_RunDLLW@16
74ILGetSize@4
75ILGetNext@4
76ILAppendID@12
77ILFree@4
78ILCreateFromPath@4
79SHSimpleIDListFromPath@4
80Win32DeleteFile@4
81SHCreateDirectory@8
82SHAddFromPropSheetExtArray@12
83SHCreatePropSheetExtArray@12
84SHDestroyPropSheetExtArray@4
85SHReplaceFromPropSheetExtArray@16
86PathCleanupSpec@8
87SHValidateUNC@12
88SHCreateShellFolderViewEx@8
89SHSetInstanceExplorer@4
90SHObjectProperties@16
91SHGetNewLinkInfoA@20
92SHGetNewLinkInfoW@20
93ShellMessageBoxW
94ShellMessageBoxA
95ILCreateFromPathA@4
96ILCreateFromPathW@4
97SHUpdateImageA@16
98SHUpdateImageW@16
99SHHandleUpdateImage@4
100SHFree@4
101SHAlloc@4
102SHHelpShortcuts_RunDLL@16
103SHHelpShortcuts_RunDLLA@16
104SHHelpShortcuts_RunDLLW@16
105AppCompat_RunDLLW@16
106AssocCreateForClasses@16
107AssocGetDetailsOfPropKey@20
108CheckEscapesW@8
109SHSetFolderPathA@16
110SHSetFolderPathW@16
111CommandLineToArgvW@8
112PathIsSlowW@8
113PathIsSlowA@8
114SHTestTokenMembership@8
115Control_RunDLL@16
116SHCreateShellFolderView@8
117Control_RunDLLA@16
118Control_RunDLLAsUserW@16
119Control_RunDLLW@16
120DllCanUnloadNow@0
121DllGetClassObject@12
122DllGetVersion@4
123DllInstall@8
124DllRegisterServer@0
125DllUnregisterServer@0
126DoEnvironmentSubstA@8
127DoEnvironmentSubstW@8
128DragAcceptFiles@8
129DragFinish@4
130DragQueryFile@16
131DragQueryFileA@16
132DragQueryFileAorW@24
133DragQueryFileW@16
134DragQueryPoint@8
135DuplicateIcon@8
136ExtractAssociatedIconA@12
137ExtractAssociatedIconExA@16
138ExtractAssociatedIconExW@16
139ExtractAssociatedIconW@12
140ExtractIconA@12
141ExtractIconEx@20
142ExtractIconExA@20
143ExtractIconExW@20
144ExtractIconW@12
145FindExecutableA@12
146FindExecutableW@12
147FreeIconList@8
148GetCurrentProcessExplicitAppUserModelID@4
149InitNetworkAddressControl@0
150InternalExtractIconListA@12
151InternalExtractIconListW@12
152LaunchMSHelp_RunDLLW@16
153Options_RunDLL@16
154Options_RunDLLA@16
155Options_RunDLLW@16
156RealShellExecuteA@40
157RealShellExecuteExA@44
158RealShellExecuteExW@44
159RealShellExecuteW@40
160RegenerateUserEnvironment@8
161RunAsNewUser_RunDLLW@16
162SHAddDefaultPropertiesByExt@8
163SHAddToRecentDocs@8
164SHAppBarMessage@8
165SHAssocEnumHandlers@12
166SHAssocEnumHandlersForProtocolByApplication@12
167SHBindToFolderIDListParent@20
168SHBindToFolderIDListParentEx@24
169SHBindToObject@20
170SHBindToParent@16
171SHBrowseForFolder@4
172SHBrowseForFolderA@4
173SHBrowseForFolderW@4
174SHChangeNotify@16
175SHChangeNotifyRegisterThread@4
176SHChangeNotifySuspendResume@16
177SHCreateAssociationRegistration@8
178SHCreateDataObject@24
179SHCreateDefaultContextMenu@12
180SHCreateDefaultExtractIcon@8
181SHCreateDefaultPropertiesOp@8
182SHCreateDirectoryExA@12
183SHCreateDirectoryExW@12
184SHCreateItemFromIDList@12
185SHCreateItemFromParsingName@16
186SHCreateItemFromRelativeName@20
187SHCreateItemInKnownFolder@20
188SHCreateItemWithParent@20
189SHCreateLocalServerRunDll@16
190SHCreateProcessAsUserW@4
191SHCreateQueryCancelAutoPlayMoniker@4
192SHCreateShellItem@16
193SHCreateShellItemArray@20
194SHCreateShellItemArrayFromDataObject@12
195SHCreateShellItemArrayFromIDLists@12
196SHCreateShellItemArrayFromShellItem@12
197SHEmptyRecycleBinA@12
198SHEmptyRecycleBinW@12
199SHEnableServiceObject@8
200SHEnumerateUnreadMailAccountsW@16
201SHEvaluateSystemCommandTemplate@16
202SHExtractIconsW@32
203SHFileOperation@4
204SHFileOperationA@4
205SHFileOperationW@4
206SHFormatDrive@16
207SHFreeNameMappings@4
208SHGetDataFromIDListA@20
209SHGetDataFromIDListW@20
210SHGetDesktopFolder@4
211SHGetDiskFreeSpaceA@16
212SHGetDiskFreeSpaceExA@16
213SHGetDiskFreeSpaceExW@16
214SHGetDriveMedia@8
215SHGetFileInfo@20
216SHGetFileInfoA@20
217SHGetFileInfoW@20
218SHGetFolderLocation@20
219SHGetFolderPathA@20
220SHGetFolderPathAndSubDirA@24
221SHGetFolderPathAndSubDirW@24
222SHGetFolderPathEx@20
223SHGetFolderPathW@20
224SheShortenPathW@8
225SheShortenPathA@8
226SHGetIDListFromObject@8
227SHGetIconOverlayIndexA@8
228SHGetIconOverlayIndexW@8
229SHGetInstanceExplorer@4
230SHGetItemFromDataObject@16
231SHGetItemFromObject@12
232SHGetKnownFolderIDList@16
233SHGetKnownFolderItem@20
234SHGetKnownFolderPath@16
235SHGetLocalizedName@16
236SHGetMalloc@4
237SHGetNameFromIDList@12
238SHGetNewLinkInfo@20
239SHGetPathFromIDList@8
240SHGetPathFromIDListA@8
241SHGetPathFromIDListEx@16
242SHGetPathFromIDListW@8
243SHGetPropertyStoreForWindow@12
244SHGetPropertyStoreFromIDList@16
245SHGetPropertyStoreFromParsingName@20
246SHGetSettings@8
247SHGetSpecialFolderLocation@12
248SHGetSpecialFolderPathA@16
249SHGetSpecialFolderPathW@16
250SHGetStockIconInfo@12
251SHGetTemporaryPropertyForItem@12
252SHGetUnreadMailCountW@24
253SHInvokePrinterCommandA@20
254SHInvokePrinterCommandW@20
255SHIsFileAvailableOffline@8
256SHLoadInProc@4
257SHLoadNonloadedIconOverlayIdentifiers@0
258SHOpenFolderAndSelectItems@16
259SHOpenWithDialog@8
260SHParseDisplayName@20
261SHPathPrepareForWriteA@16
262SHPathPrepareForWriteW@16
263SHQueryRecycleBinA@8
264SHQueryRecycleBinW@8
265SHQueryUserNotificationState@4
266SHRemoveLocalizedName@4
267SHResolveLibrary@4
268SHSetDefaultProperties@16
269SHSetKnownFolderPath@16
270SHSetLocalizedName@12
271SHSetTemporaryPropertyForItem@12
272SHSetUnreadMailCountW@12
273SHShowManageLibraryUI@20
274SHUpdateRecycleBinIcon@0
275SetCurrentProcessExplicitAppUserModelID@4
276SheChangeDirA@4
277SheChangeDirExW@4
278SheChangeDirExA@4
279SheGetDirA@8
280SheSetCurDrive@4
281SheRemoveQuotesW@4
282SheRemoveQuotesA@4
283ShellAboutA@16
284ShellAboutW@16
285ShellExec_RunDLL@16
286ShellExec_RunDLLA@16
287ShellExec_RunDLLW@16
288ShellExecuteA@24
289ShellExecuteEx@4
290ShellExecuteExA@4
291ShellExecuteExW@4
292ShellExecuteW@24
293ShellHookProc@12
294Shell_GetCachedImageIndexA@12
295Shell_GetCachedImageIndexW@12
296Shell_NotifyIcon@8
297Shell_NotifyIconA@8
298Shell_NotifyIconGetRect@8
299Shell_NotifyIconW@8
300SheGetPathOffsetW@4
301SheGetCurDrive@0
302SheGetDirW@8
303SheFullPathW@12
304SheFullPathA@12
305SheConvertPathW@12
306SheChangeDirW@4
307ExtractIconW@
308ExtractIconResInfoW@20
309ExtractIconResInfoA@20
310SheGetDirExW@12
311StrChrA@8
312StrChrIA@8
313StrChrIW@8
314StrChrW@8
315StrCmpNA@12
316StrCmpNIA@12
317StrCmpNIW@12
318StrCmpNW@12
319StrNCmpA@12
320StrNCmpIA@12
321StrNCmpIW@12
322StrNCmpW@12
323StrRChrA@12
324StrRChrIA@12
325StrRChrIW@12
326StrRChrW@12
327StrRStrA@12
328StrRStrIA@12
329StrRStrIW@12
330StrRStrW@12
331StrStrA@8
332StrStrIA@8
333StrStrIW@8
334StrStrW@8
335WOWShellExecute@28
336WaitForExplorerRestartW@16
337RealDriveType@8
338SHFlushSFCache@0
339SHChangeNotification_Lock@16
340SHChangeNotification_Unlock@4
341WriteCabinetState@4
342ReadCabinetState@8
343IsUserAnAdmin@0
344StgMakeUniqueName@20
345SHPropStgCreate@32
346SHPropStgReadMultiple@20
347SHPropStgWriteMultiple@24
348CDefFolderMenu_Create2@36
349SHGetSetFolderCustomSettings@12
350SHMultiFileProperties@8
351SHGetImageList@12
352RestartDialogEx@16
353SHCreateFileExtractIconW@16
354SHLimitInputEdit@8
355SHGetAttributesFromDataObject@16
356ILLoadFromStreamEx@8
lib/libc/mingw/lib32/urlmon.def created+230
......@@ -0,0 +1,230 @@
1;
2; Definition file of urlmon.dll
3; Automatic generated by gendef
4; written by Kai Tietz 2008
5;
6LIBRARY "urlmon.dll"
7EXPORTS
8ord_100@16 @100
9ord_101 @101
10ord_102 @102
11ord_103@8 @103
12ord_104@24 @104
13ord_105@12 @105
14ord_106@4 @106
15ord_107@8 @107
16ord_108 @108
17AsyncGetClassBits@44
18AsyncInstallDistributionUnit@36
19ord_111@8 @111
20ord_112@8 @112
21ord_113@8 @113
22ord_114 @114
23ord_115@4 @115
24ord_116@8 @116
25BindAsyncMoniker@20
26CDLGetLongPathNameA@12
27CDLGetLongPathNameW@12
28CORPolicyProvider@4
29CoGetClassObjectFromURL@40
30CoInstall@20
31CoInternetCanonicalizeIUri@12
32CoInternetCombineIUri@20
33CoInternetCombineUrl@28
34CoInternetCombineUrlEx@20
35CoInternetCompareUrl@12
36CoInternetCreateSecurityManager@12
37CoInternetCreateZoneManager@12
38CoInternetFeatureSettingsChanged
39CoInternetGetProtocolFlags@12
40CoInternetGetSecurityUrl@16
41CoInternetGetSecurityUrlEx@16
42CoInternetGetSession@12
43CoInternetIsFeatureEnabled@8
44CoInternetIsFeatureEnabledForIUri@16
45CoInternetIsFeatureEnabledForUrl@16
46CoInternetIsFeatureZoneElevationEnabled@16
47CoInternetParseIUri@28
48CoInternetParseUrl@28
49CoInternetQueryInfo@28
50CoInternetSetFeatureEnabled@12
51CompareSecurityIds@20
52CompatFlagsFromClsid@12
53CopyBindInfo@8
54CopyStgMedium@8
55CreateAsyncBindCtx@16
56CreateAsyncBindCtxEx@24
57CreateFormatEnumerator@12
58CreateIUriBuilder@16
59CreateURLMoniker@12
60CreateURLMonikerEx2@16
61CreateURLMonikerEx@16
62CreateUri@16
63CreateUriFromMultiByteString@24
64CreateUriPriv@32
65CreateUriWithFragment@20
66Extract@8
67FaultInIEFeature@16
68FindMediaType@8
69FindMediaTypeClass@16
70FindMimeFromData@32
71GetAddSitesFileUrl@4
72GetClassFileOrMime@28
73GetClassURL@8
74GetComponentIDFromCLSSPEC@8
75GetIDNFlagsForUri@4
76GetIUriPriv2@8
77GetIUriPriv@8
78GetLabelsFromNamedHost@20
79GetMarkOfTheWeb@16
80GetPortFromUrlScheme@8
81GetPropertyFromName@8
82GetPropertyName@4
83GetSoftwareUpdateInfo@8
84GetUrlmonThreadNotificationHwnd@0
85HlinkGoBack@4
86HlinkGoForward@4
87HlinkNavigateMoniker@8
88HlinkNavigateString@8
89HlinkSimpleNavigateToMoniker@32
90HlinkSimpleNavigateToString@32
91IEDllLoader@8
92IEInstallScope@4
93IntlPercentEncodeNormalize@16
94IsAsyncMoniker@4
95IsDWORDProperty@4
96IsIntranetAvailable
97IsJITInProgress
98IsLoggingEnabledA@4
99IsLoggingEnabledW@4
100IsStringProperty@4
101IsValidURL@12
102MkParseDisplayNameEx@16
103ObtainUserAgentString@12
104PrivateCoInstall@20
105QueryAssociations@16
106QueryClsidAssociation@12
107RegisterBindStatusCallback@16
108RegisterFormatEnumerator@12
109RegisterMediaTypeClass@20
110RegisterMediaTypes@12
111ReleaseBindInfo@4
112ResetUrlmonLanguageData@0
113RevokeBindStatusCallback@8
114RevokeFormatEnumerator@8
115SetSoftwareUpdateAdvertisementState@16
116ShouldDisplayPunycodeForUri@4
117ShouldShowIntranetWarningSecband@4
118ShowTrustAlertDialog@16
119URLDownloadA@20
120URLDownloadToCacheFileA@24
121URLDownloadToCacheFileW@24
122URLDownloadToFileA@20
123URLDownloadToFileW@20
124URLDownloadW@20
125URLOpenBlockingStreamA@20
126URLOpenBlockingStreamW@20
127URLOpenPullStreamA@16
128URLOpenPullStreamW@16
129URLOpenStreamA@16
130URLOpenStreamW@16
131UrlMkBuildVersion
132UrlMkGetSessionOption@20
133UrlMkSetSessionOption@16
134WriteHitLogging@4
135ZonesReInit@4
136ord_304@28 @304
137ord_305@12 @305
138ord_306@4 @306
139ord_307@20 @307
140ord_308@4 @308
141ord_309@4 @309
142ord_310@12 @310
143ord_311@12 @311
144ord_312@4 @312
145ord_313@8 @313
146ord_314@4 @314
147ord_315@8 @315
148ord_316@8 @316
149ord_318@8 @318
150ord_319@8 @319
151ord_320@12 @320
152ord_321@8 @321
153IECompatLogCSSFix@12
154ord_323@12 @323
155ord_324 @324
156; ord_395 @395 Couldn't determine function argument count. Function doesn't return.
157ord_400@8 @400
158ord_401@4 @401
159ord_403@4 @403
160ord_404 @404
161ord_406 @406
162ord_407 @407
163ord_408@8 @408
164ord_409@8 @409
165ord_410@8 @410
166ord_411@8 @411
167ord_412@8 @412
168ord_413@8 @413
169ord_414@8 @414
170ord_415@8 @415
171ord_416@12 @416
172ord_417@12 @417
173ord_420@24 @420
174ord_421@8 @421
175; ord_422 @422 Check!!! forwards to CloseHandle in KERNEL32.dll (ordinal 82)
176ord_423@16 @423
177ord_430 @430
178ord_431@4 @431
179ord_432@8 @432
180ord_433@4 @433
181ord_434@12 @434
182ord_435@12 @435
183ord_436@8 @436
184ord_437@8 @437
185ord_438@24 @438
186ord_439@4 @439
187ord_440@4 @440
188ord_441@16 @441
189ord_442@8 @442
190ord_443@8 @443
191ord_444@12 @444
192ord_445@8 @445
193ord_446@4 @446
194ord_447@4 @447
195ord_448@4 @448
196ord_449@4 @449
197ord_450@4 @450
198ord_451@4 @451
199ord_452@8 @452
200ord_453@8 @453
201ord_454@8 @454
202ord_455 @455
203ord_456 @456
204ord_457@4 @457
205ord_458 @458
206ord_460@4 @460
207ord_461@8 @461
208ord_462@20 @462
209ord_463@20 @463
210ord_470@4 @470
211ord_471 @471
212ord_473@4 @473
213ord_474@16 @474
214ord_475@16 @475
215ord_476@16 @476
216ord_477@16 @477
217ord_478@32 @478
218ord_479@32 @479
219ord_480@36 @480
220ord_481@36 @481
221ord_482@12 @482
222ord_483@28 @483
223ord_484@8 @484
224ord_485@8 @485
225ord_486@8 @486
226ord_487@4 @487
227ord_488 @488
228ord_489@16 @489
229ord_490@44 @490
230ord_491@4 @491
lib/libc/mingw/lib32/winmm.def created+196
......@@ -0,0 +1,196 @@
1LIBRARY WINMM.DLL
2EXPORTS
3CloseDriver@12
4DefDriverProc@20
5DriverCallback@28
6DrvGetModuleHandle@4
7GetDriverModuleHandle@4
8NotifyCallbackData@20
9OpenDriver@12
10PlaySound@12
11PlaySoundA@12
12PlaySoundW@12
13SendDriverMessage@16
14WOW32DriverCallback@28
15WOW32ResolveMultiMediaHandle@24
16WOWAppExit@4
17aux32Message@20
18auxGetDevCapsA@12
19auxGetDevCapsW@12
20auxGetNumDevs@0
21auxGetVolume@8
22auxOutMessage@16
23auxSetVolume@8
24joy32Message@20
25joyConfigChanged@4
26joyGetDevCapsA@12
27joyGetDevCapsW@12
28joyGetNumDevs@0
29joyGetPos@8
30joyGetPosEx@8
31joyGetThreshold@8
32joyReleaseCapture@4
33joySetCapture@16
34joySetThreshold@8
35mci32Message@20
36mciDriverNotify@12
37mciDriverYield@4
38mciExecute@4
39mciFreeCommandResource@4
40mciGetCreatorTask@4
41mciGetDeviceIDA@4
42mciGetDeviceIDFromElementIDA@8
43mciGetDeviceIDFromElementIDW@8
44mciGetDeviceIDW@4
45mciGetDriverData@4
46mciGetErrorStringA@12
47mciGetErrorStringW@12
48mciGetYieldProc@8
49mciLoadCommandResource@12
50mciSendCommandA@16
51mciSendCommandW@16
52mciSendStringA@16
53mciSendStringW@16
54mciSetDriverData@8
55mciSetYieldProc@12
56mid32Message@20
57midiConnect@12
58midiDisconnect@12
59midiInAddBuffer@12
60midiInClose@4
61midiInGetDevCapsA@12
62midiInGetDevCapsW@12
63midiInGetErrorTextA@12
64midiInGetErrorTextW@12
65midiInGetID@8
66midiInGetNumDevs@0
67midiInMessage@16
68midiInOpen@20
69midiInPrepareHeader@12
70midiInReset@4
71midiInStart@4
72midiInStop@4
73midiInUnprepareHeader@12
74midiOutCacheDrumPatches@16
75midiOutCachePatches@16
76midiOutClose@4
77midiOutGetDevCapsA@12
78midiOutGetDevCapsW@12
79midiOutGetErrorTextA@12
80midiOutGetErrorTextW@12
81midiOutGetID@8
82midiOutGetNumDevs@0
83midiOutGetVolume@8
84midiOutLongMsg@12
85midiOutMessage@16
86midiOutOpen@20
87midiOutPrepareHeader@12
88midiOutReset@4
89midiOutSetVolume@8
90midiOutShortMsg@8
91midiOutUnprepareHeader@12
92midiStreamClose@4
93midiStreamOpen@24
94midiStreamOut@12
95midiStreamPause@4
96midiStreamPosition@12
97midiStreamProperty@12
98midiStreamRestart@4
99midiStreamStop@4
100mixerClose@4
101mixerGetControlDetailsA@12
102mixerGetControlDetailsW@12
103mixerGetDevCapsA@12
104mixerGetDevCapsW@12
105mixerGetID@12
106mixerGetLineControlsA@12
107mixerGetLineControlsW@12
108mixerGetLineInfoA@12
109mixerGetLineInfoW@12
110mixerGetNumDevs@0
111mixerMessage@16
112mixerOpen@20
113mixerSetControlDetails@12
114mmDrvInstall@12
115mmGetCurrentTask@0
116mmTaskBlock@4
117mmTaskCreate@12
118mmTaskSignal@4
119mmTaskYield@0
120mmioAdvance@12
121mmioAscend@12
122mmioClose@8
123mmioCreateChunk@12
124mmioDescend@16
125mmioFlush@8
126mmioGetInfo@12
127mmioInstallIOProcA@12
128mmioInstallIOProcW@12
129mmioOpenA@12
130mmioOpenW@12
131mmioRead@12
132mmioRenameA@16
133mmioRenameW@16
134mmioSeek@12
135mmioSendMessage@16
136mmioSetBuffer@16
137mmioSetInfo@12
138mmioStringToFOURCCA@8
139mmioStringToFOURCCW@8
140mmioWrite@12
141mmsystemGetVersion@0
142mod32Message@20
143mxd32Message@20
144sndPlaySoundA@8
145sndPlaySoundW@8
146tid32Message@20
147timeBeginPeriod@4
148timeEndPeriod@4
149timeGetDevCaps@8
150timeGetSystemTime@8
151timeGetTime@0
152timeKillEvent@4
153timeSetEvent@20
154waveInAddBuffer@12
155waveInClose@4
156waveInGetDevCapsA@12
157waveInGetDevCapsW@12
158waveInGetErrorTextA@12
159waveInGetErrorTextW@12
160waveInGetID@8
161waveInGetNumDevs@0
162waveInGetPosition@12
163waveInMessage@16
164waveInOpen@24
165waveInPrepareHeader@12
166waveInReset@4
167waveInStart@4
168waveInStop@4
169waveInUnprepareHeader@12
170waveOutBreakLoop@4
171waveOutClose@4
172waveOutGetDevCapsA@12
173waveOutGetDevCapsW@12
174waveOutGetErrorTextA@12
175waveOutGetErrorTextW@12
176waveOutGetID@8
177waveOutGetNumDevs@0
178waveOutGetPitch@8
179waveOutGetPlaybackRate@8
180waveOutGetPosition@12
181waveOutGetVolume@8
182waveOutMessage@16
183waveOutOpen@24
184waveOutPause@4
185waveOutPrepareHeader@12
186waveOutReset@4
187waveOutRestart@4
188waveOutSetPitch@8
189waveOutSetPlaybackRate@8
190waveOutSetVolume@8
191waveOutUnprepareHeader@12
192waveOutWrite@12
193wid32Message@20
194winmmDbgOut
195winmmSetDebugLevel@4
196wod32Message@20
lib/libc/mingw/lib32/winscard.def created+75
......@@ -0,0 +1,75 @@
1;
2; Definition file of WinSCard.dll
3; Automatic generated by gendef
4; written by Kai Tietz 2008
5;
6LIBRARY "WinSCard.dll"
7EXPORTS
8ClassInstall32@12
9SCardAccessNewReaderEvent@0
10SCardReleaseAllEvents@0
11SCardReleaseNewReaderEvent@0
12SCardAccessStartedEvent@0
13SCardAddReaderToGroupA@12
14SCardAddReaderToGroupW@12
15SCardBeginTransaction@4
16SCardCancel@4
17SCardConnectA@24
18SCardConnectW@24
19SCardControl@28
20SCardDisconnect@8
21SCardEndTransaction@8
22SCardEstablishContext@16
23SCardForgetCardTypeA@8
24SCardForgetCardTypeW@8
25SCardForgetReaderA@8
26SCardForgetReaderGroupA@8
27SCardForgetReaderGroupW@8
28SCardForgetReaderW@8
29SCardFreeMemory@8
30SCardGetAttrib@16
31SCardGetCardTypeProviderNameA@20
32SCardGetCardTypeProviderNameW@20
33SCardGetProviderIdA@12
34SCardGetProviderIdW@12
35SCardGetStatusChangeA@16
36SCardGetStatusChangeW@16
37SCardGetTransmitCount@8
38SCardIntroduceCardTypeA@32
39SCardIntroduceCardTypeW@32
40SCardIntroduceReaderA@12
41SCardIntroduceReaderGroupA@8
42SCardIntroduceReaderGroupW@8
43SCardIntroduceReaderW@12
44SCardIsValidContext@4
45SCardListCardsA@24
46SCardListCardsW@24
47SCardListInterfacesA@16
48SCardListInterfacesW@16
49SCardListReaderGroupsA@12
50SCardListReaderGroupsW@12
51SCardListReadersA@16
52SCardListReadersW@16
53SCardLocateCardsA@16
54SCardLocateCardsByATRA@20
55SCardLocateCardsByATRW@20
56SCardLocateCardsW@16
57SCardReadCacheA@24
58SCardReadCacheW@24
59SCardReconnect@20
60SCardReleaseContext@4
61SCardReleaseStartedEvent@0
62SCardRemoveReaderFromGroupA@12
63SCardRemoveReaderFromGroupW@12
64SCardSetAttrib@16
65SCardSetCardTypeProviderNameA@16
66SCardSetCardTypeProviderNameW@16
67SCardState@20
68SCardStatusA@28
69SCardStatusW@28
70SCardTransmit@28
71SCardWriteCacheA@24
72SCardWriteCacheW@24
73g_rgSCardRawPci DATA
74g_rgSCardT0Pci DATA
75g_rgSCardT1Pci DATA
lib/libc/mingw/lib32/winspool.def created+207
......@@ -0,0 +1,207 @@
1;
2; Definition file of WINSPOOL.DRV
3; Automatic generated by gendef
4; written by Kai Tietz 2008
5;
6LIBRARY "WINSPOOL.DRV"
7EXPORTS
8ADVANCEDSETUPDIALOG@16
9AdvancedSetupDialog@16
10ConvertAnsiDevModeToUnicodeDevmode@16
11ConvertUnicodeDevModeToAnsiDevmode@16
12DEVICEMODE@16
13DeviceMode@16
14DocumentEvent@28
15PerfClose@0
16PerfCollect@16
17PerfOpen@4
18QueryColorProfile@24
19QueryRemoteFonts@12
20QuerySpoolMode@12
21SpoolerDevQueryPrintW@20
22StartDocDlgW@8
23AbortPrinter@4
24AddFormA@12
25AddFormW@12
26AddJobA@20
27AddJobW@20
28AddMonitorA@12
29AddMonitorW@12
30AddPortA@12
31AddPortExA@16
32AddPortExW@16
33AddPortW@12
34AddPrintProcessorA@16
35AddPrintProcessorW@16
36AddPrintProvidorA@12
37AddPrintProvidorW@12
38AddPrinterA@12
39AddPrinterConnection2A@16
40AddPrinterConnection2W@16
41AddPrinterConnectionA@4
42AddPrinterConnectionW@4
43AddPrinterDriverA@12
44AddPrinterDriverExA@16
45AddPrinterDriverExW@16
46AddPrinterDriverW@12
47AddPrinterW@12
48AdvancedDocumentPropertiesA@20
49AdvancedDocumentPropertiesW@20
50ClosePrinter@4
51CloseSpoolFileHandle@8
52CommitSpoolData@12
53ConfigurePortA@12
54ConfigurePortW@12
55ConnectToPrinterDlg@8
56CorePrinterDriverInstalledA@44
57CorePrinterDriverInstalledW@44
58CreatePrintAsyncNotifyChannel@24
59CreatePrinterIC@8
60DEVICECAPABILITIES@20
61DeleteFormA@8
62DeleteFormW@8
63DeleteJobNamedProperty@12
64DeleteMonitorA@12
65DeleteMonitorW@12
66DeletePortA@12
67DeletePortW@12
68DeletePrintProcessorA@12
69DeletePrintProcessorW@12
70DeletePrintProvidorA@12
71DeletePrintProvidorW@12
72DeletePrinter@4
73DeletePrinterConnectionA@4
74DeletePrinterConnectionW@4
75DeletePrinterDataA@8
76DeletePrinterDataExA@12
77DeletePrinterDataExW@12
78DeletePrinterDataW@8
79DeletePrinterDriverA@12
80DeletePrinterDriverExA@20
81DeletePrinterDriverExW@20
82DeletePrinterDriverPackageA@12
83DeletePrinterDriverPackageW@12
84DeletePrinterDriverW@12
85DeletePrinterIC@4
86DeletePrinterKeyA@8
87DeletePrinterKeyW@8
88DevQueryPrint@12
89DevQueryPrintEx@4
90DeviceCapabilities@20
91DeviceCapabilitiesA@20
92DeviceCapabilitiesW@20
93DevicePropertySheets@8
94DocumentPropertiesA@24
95DocumentPropertiesW@24
96DocumentPropertySheets@8
97EXTDEVICEMODE@32
98EndDocPrinter@4
99EndPagePrinter@4
100EnumFormsA@24
101EnumFormsW@24
102EnumJobNamedProperties@16
103EnumJobsA@32
104EnumJobsW@32
105EnumMonitorsA@24
106EnumMonitorsW@24
107EnumPortsA@24
108GetDefaultPrinterA@8
109SetDefaultPrinterA@4
110GetDefaultPrinterW@8
111SetDefaultPrinterW@4
112EnumPortsW@24
113EnumPrintProcessorDatatypesA@28
114EnumPrintProcessorDatatypesW@28
115EnumPrintProcessorsA@28
116EnumPrintProcessorsW@28
117EnumPrinterDataA@36
118EnumPrinterDataExA@24
119EnumPrinterDataExW@24
120EnumPrinterDataW@36
121EnumPrinterDriversA@28
122EnumPrinterDriversW@28
123EnumPrinterKeyA@20
124EnumPrinterKeyW@20
125EnumPrintersA@28
126EnumPrintersW@28
127ExtDeviceMode@32
128FindClosePrinterChangeNotification@4
129FindFirstPrinterChangeNotification@16
130FindNextPrinterChangeNotification@16
131FlushPrinter@20
132FreePrintNamedPropertyArray@8
133FreePrintPropertyValue@4
134FreePrinterNotifyInfo@4
135GetCorePrinterDriversA@20
136GetCorePrinterDriversW@20
137GetFormA@24
138GetFormW@24
139GetJobA@24
140GetJobNamedPropertyValue@16
141GetJobW@24
142GetPrintExecutionData@4
143GetPrintOutputInfo@16
144GetPrintProcessorDirectoryA@24
145GetPrintProcessorDirectoryW@24
146GetPrinterA@20
147GetPrinterDataA@24
148GetPrinterDataExA@28
149GetPrinterDataExW@28
150GetPrinterDataW@24
151GetPrinterDriver2A@28
152GetPrinterDriver2W@28
153GetPrinterDriverA@24
154GetPrinterDriverDirectoryA@24
155GetPrinterDriverDirectoryW@24
156GetPrinterDriverPackagePathA@28
157GetPrinterDriverPackagePathW@28
158GetPrinterDriverW@24
159GetPrinterW@20
160GetSpoolFileHandle@4
161InstallPrinterDriverFromPackageA@20
162InstallPrinterDriverFromPackageW@20
163IsValidDevmodeA@8
164IsValidDevmodeW@8
165OpenPrinter2A@16
166OpenPrinter2W@16
167OpenPrinterA@12
168OpenPrinterW@12
169PlayGdiScriptOnPrinterIC@24
170PrinterMessageBoxA@24
171PrinterMessageBoxW@24
172PrinterProperties@8
173ReadPrinter@16
174RegisterForPrintAsyncNotifications@24
175ReportJobProcessingProgress@16
176ResetPrinterA@8
177ResetPrinterW@8
178ScheduleJob@8
179SeekPrinter@24
180SetAllocFailCount@20
181SetFormA@16
182SetFormW@16
183SetJobA@20
184SetJobNamedProperty@12
185SetJobW@20
186SetPortA@16
187SetPortW@16
188SetPrinterA@16
189SetPrinterDataA@20
190SetPrinterDataExA@24
191SetPrinterDataExW@24
192SetPrinterDataW@20
193SetPrinterW@16
194SpoolerInit@0
195SplDriverUnloadComplete@4
196SpoolerPrinterEvent@20
197StartDocDlgA@8
198StartDocDlgW@8
199StartDocPrinterA@12
200StartDocPrinterW@12
201StartPagePrinter@4
202UnRegisterForPrintAsyncNotifications@4
203UploadPrinterDriverPackageA@28
204UploadPrinterDriverPackageW@28
205WaitForPrinterChange@8
206WritePrinter@16
207XcvDataW@32
lib/libc/mingw/lib32/wintrust.def created+137
......@@ -0,0 +1,137 @@
1;
2; Definition file of WINTRUST.dll
3; Automatic generated by gendef
4; written by Kai Tietz 2008
5;
6LIBRARY "WINTRUST.dll"
7EXPORTS
8CryptCATVerifyMember@12
9CryptSIPGetInfo@4
10CryptSIPGetRegWorkingFlags@4
11GenericChainCertificateTrust@4
12GenericChainFinalProv@4
13HTTPSCertificateTrust@4
14SoftpubDefCertInit@4
15SoftpubFreeDefUsageCallData@8
16SoftpubLoadDefUsageCallData@8
17WTHelperCertFindIssuerCertificate@28
18AddPersonalTrustDBPages@12
19CatalogCompactHashDatabase@16
20CryptCATAdminAcquireContext@12
21CryptCATAdminAddCatalog@16
22CryptCATAdminCalcHashFromFileHandle@16
23CryptCATAdminEnumCatalogFromHash@20
24CryptCATAdminPauseServiceForBackup@8
25CryptCATAdminReleaseCatalogContext@12
26CryptCATAdminReleaseContext@8
27CryptCATAdminRemoveCatalog@12
28CryptCATAdminResolveCatalogPath@16
29CryptCATAllocSortedMemberInfo@8
30CryptCATCDFClose@4
31CryptCATCDFEnumAttributes@16
32CryptCATCDFEnumAttributesWithCDFTag@20
33CryptCATCDFEnumCatAttributes@12
34CryptCATCDFEnumMembers@12
35CryptCATCDFEnumMembersByCDFTag@16
36CryptCATCDFEnumMembersByCDFTagEx@24
37CryptCATCDFOpen@8
38CryptCATCatalogInfoFromContext@12
39CryptCATClose@4
40CryptCATEnumerateAttr@12
41CryptCATEnumerateCatAttr@8
42CryptCATEnumerateMember@8
43CryptCATFreeSortedMemberInfo@8
44CryptCATGetAttrInfo@12
45CryptCATGetCatAttrInfo@8
46CryptCATGetMemberInfo@8
47CryptCATHandleFromStore@4
48CryptCATOpen@20
49CryptCATPersistStore@4
50CryptCATPutAttrInfo@24
51CryptCATPutCatAttrInfo@20
52CryptCATPutMemberInfo@28
53CryptCATStoreFromHandle@4
54CryptSIPCreateIndirectData@12
55CryptSIPGetSignedDataMsg@20
56CryptSIPPutSignedDataMsg@20
57CryptSIPRemoveSignedDataMsg@8
58CryptSIPVerifyIndirectData@8
59DllRegisterServer
60DllUnregisterServer
61DriverCleanupPolicy@4
62DriverFinalPolicy@4
63DriverInitializePolicy@4
64FindCertsByIssuer@28
65HTTPSFinalProv@4
66IsCatalogFile@8
67MsCatConstructHashTag@12
68MsCatFreeHashTag@4
69OfficeCleanupPolicy@4
70OfficeInitializePolicy@4
71OpenPersonalTrustDBDialog@4
72OpenPersonalTrustDBDialogEx@12
73SoftpubAuthenticode@4
74SoftpubCheckCert@16
75SoftpubCleanup@4
76SoftpubDllRegisterServer
77SoftpubDllUnregisterServer
78SoftpubDumpStructure@4
79SoftpubInitialize@4
80SoftpubLoadMessage@4
81SoftpubLoadSignature@4
82TrustDecode@36
83TrustFindIssuerCertificate@32
84TrustFreeDecode@8
85TrustIsCertificateSelfSigned@12
86TrustOpenStores@16
87WTHelperCertCheckValidSignature@4
88WTHelperCertIsSelfSigned@8
89WTHelperCheckCertUsage@8
90WTHelperGetAgencyInfo@12
91WTHelperGetFileHandle@4
92WTHelperGetFileHash@24
93WTHelperGetFileName@4
94WTHelperGetKnownUsages@8
95WTHelperGetProvCertFromChain@8
96WTHelperGetProvPrivateDataFromChain@8
97WTHelperGetProvSignerFromChain@16
98WTHelperIsInRootStore@8
99WTHelperOpenKnownStores@4
100WTHelperProvDataFromStateData@4
101WVTAsn1CatMemberInfoDecode@28
102WVTAsn1CatMemberInfoEncode@20
103WVTAsn1CatNameValueDecode@28
104WVTAsn1CatNameValueEncode@20
105WVTAsn1SpcFinancialCriteriaInfoDecode@28
106WVTAsn1SpcFinancialCriteriaInfoEncode@20
107WVTAsn1SpcIndirectDataContentDecode@28
108WVTAsn1SpcIndirectDataContentEncode@20
109WVTAsn1SpcLinkDecode@28
110WVTAsn1SpcLinkEncode@20
111WVTAsn1SpcMinimalCriteriaInfoDecode@28
112WVTAsn1SpcMinimalCriteriaInfoEncode@20
113WVTAsn1SpcPeImageDataDecode@28
114WVTAsn1SpcPeImageDataEncode@20
115WVTAsn1SpcSigInfoDecode@28
116WVTAsn1SpcSigInfoEncode@20
117WVTAsn1SpcSpAgencyInfoDecode@28
118WVTAsn1SpcSpAgencyInfoEncode@20
119WVTAsn1SpcSpOpusInfoDecode@28
120WVTAsn1SpcSpOpusInfoEncode@20
121WVTAsn1SpcStatementTypeDecode@28
122WVTAsn1SpcStatementTypeEncode@20
123WinVerifyTrust@12
124WinVerifyTrustEx@12
125WintrustAddActionID@12
126WintrustAddDefaultForUsage@8
127WintrustCertificateTrust@4
128WintrustGetDefaultForUsage@12
129WintrustGetRegPolicyFlags@4
130WintrustLoadFunctionPointers@8
131WintrustRemoveActionID@4
132WintrustSetDefaultIncludePEPageHashes@4
133WintrustSetRegPolicyFlags@4
134mscat32DllRegisterServer
135mscat32DllUnregisterServer
136mssip32DllRegisterServer
137mssip32DllUnregisterServer
lib/libc/mingw/lib32/ws2_32.def created+174
......@@ -0,0 +1,174 @@
1;
2; Definition file of WS2_32.dll
3; Automatic generated by gendef
4; written by Kai Tietz 2008
5;
6LIBRARY "WS2_32.dll"
7EXPORTS
8accept@12
9bind@12
10closesocket@4
11connect@12
12getpeername@12
13getsockname@12
14getsockopt@20
15htonl@4
16htons@4
17ioctlsocket@12
18inet_addr@4
19inet_ntoa@4
20listen@8
21ntohl@4
22ntohs@4
23recv@16
24recvfrom@24
25select@20
26send@16
27sendto@24
28setsockopt@20
29shutdown@8
30socket@12
31WSApSetPostRoutine@4
32FreeAddrInfoEx@4
33FreeAddrInfoExW@4
34FreeAddrInfoW@4
35GetAddrInfoExA@40
36GetAddrInfoExW@40
37GetAddrInfoW@16
38GetNameInfoW@28
39InetNtopW@16
40InetPtonW@12
41SetAddrInfoExA@48
42SetAddrInfoExW@48
43WPUCompleteOverlappedRequest@20
44WSAAccept@20
45WSAAddressToStringA@20
46WSAAddressToStringW@20
47WSAAdvertiseProvider@8
48WSACloseEvent@4
49WSAConnect@28
50WSAConnectByList@32
51WSAConnectByNameA@36
52WSAConnectByNameW@36
53WSACreateEvent@0
54WSADuplicateSocketA@12
55WSADuplicateSocketW@12
56WSAEnumNameSpaceProvidersA@8
57WSAEnumNameSpaceProvidersExA@8
58gethostbyaddr@12
59gethostbyname@4
60getprotobyname@4
61getprotobynumber@4
62getservbyname@8
63getservbyport@8
64gethostname@8
65WSAEnumNameSpaceProvidersExW@8
66WSAEnumNameSpaceProvidersW@8
67WSAEnumNetworkEvents@12
68WSAEnumProtocolsA@12
69WSAEnumProtocolsW@12
70WSAEventSelect@12
71WSAGetOverlappedResult@20
72WSAGetQOSByName@12
73WSAGetServiceClassInfoA@16
74WSAGetServiceClassInfoW@16
75WSAGetServiceClassNameByClassIdA@12
76WSAGetServiceClassNameByClassIdW@12
77WSAHtonl@12
78WSAHtons@12
79WSAInstallServiceClassA@4
80WSAInstallServiceClassW@4
81WSAIoctl@36
82WSAJoinLeaf@32
83WSALookupServiceBeginA@12
84WSALookupServiceBeginW@12
85WSALookupServiceEnd@4
86WSALookupServiceNextA@16
87WSALookupServiceNextW@16
88WSANSPIoctl@32
89WSANtohl@12
90WSANtohs@12
91WSAPoll@12
92WSAProviderCompleteAsyncCall@8
93WSAProviderConfigChange@12
94WSARecv@28
95WSARecvDisconnect@8
96WSARecvFrom@36
97WSARemoveServiceClass@4
98WSAResetEvent@4
99WSASend@28
100WSASendDisconnect@8
101WSASendMsg@24
102WSASendTo@36
103WSASetEvent@4
104WSASetServiceA@12
105WSASetServiceW@12
106WSASocketA@24
107WSASocketW@24
108WSAAsyncSelect@16
109WSAAsyncGetHostByAddr@28
110WSAAsyncGetHostByName@20
111WSAAsyncGetProtoByNumber@20
112WSAAsyncGetProtoByName@20
113WSAAsyncGetServByPort@24
114WSAAsyncGetServByName@24
115WSACancelAsyncRequest@4
116WSASetBlockingHook@4
117WSAUnhookBlockingHook@0
118WSAGetLastError@0
119WSASetLastError@4
120WSACancelBlockingCall@0
121WSAIsBlocking@0
122WSAStartup@8
123WSACleanup@0
124WSAStringToAddressA@20
125WSAStringToAddressW@20
126WSAUnadvertiseProvider@4
127WSAWaitForMultipleEvents@20
128WSCDeinstallProvider@8
129WSCEnableNSProvider@8
130WSCEnumProtocols@16
131WSCGetApplicationCategory@24
132WSCGetProviderInfo@24
133WSCGetProviderPath@16
134WSCInstallNameSpace@20
135WSCInstallNameSpaceEx@24
136WSCInstallProvider@20
137WSCInstallProviderAndChains@32
138WSCSetApplicationCategory@28
139WSCSetProviderInfo@24
140WSCUnInstallNameSpace@4
141WSCUpdateProvider@20
142WSCWriteNameSpaceOrder@8
143WSCWriteProviderOrder@8
144WahCloseApcHelper@4
145WahCloseHandleHelper@4
146WahCloseNotificationHandleHelper@4
147WahCloseSocketHandle@8
148WahCloseThread@8
149WahCompleteRequest@20
150WahCreateHandleContextTable@4
151WahCreateNotificationHandle@8
152WahCreateSocketHandle@8
153WahDestroyHandleContextTable@4
154WahDisableNonIFSHandleSupport@0
155WahEnableNonIFSHandleSupport@0
156WahEnumerateHandleContexts@12
157WahInsertHandleContext@8
158__WSAFDIsSet@8
159WahNotifyAllProcesses@4
160WahOpenApcHelper@4
161WahOpenCurrentThread@8
162WahOpenHandleHelper@4
163WahOpenNotificationHandleHelper@4
164WahQueueUserApc@16
165WahReferenceContextByHandle@8
166WahRemoveHandleContext@8
167WahWaitForNotification@16
168WahWriteLSPEvent@8
169freeaddrinfo@4
170getaddrinfo@16
171getnameinfo@28
172inet_ntop@16
173inet_pton@12
174WEP@0
lib/libc/mingw/lib64/mswsock.def created+40
......@@ -0,0 +1,40 @@
1;
2; Exports of file MSWSOCK.dll
3;
4; Autogenerated by gen_exportdef
5; Written by Kai Tietz, 2007
6;
7LIBRARY MSWSOCK.dll
8EXPORTS
9ServiceMain
10SvchostPushServiceGlobals
11AcceptEx
12EnumProtocolsA
13EnumProtocolsW
14GetAcceptExSockaddrs
15GetAddressByNameA
16GetAddressByNameW
17GetNameByTypeA
18GetNameByTypeW
19GetServiceA
20GetServiceW
21GetTypeByNameA
22GetTypeByNameW
23MigrateWinsockConfiguration
24NPLoadNameSpaces
25NSPStartup
26SetServiceA
27SetServiceW
28StartWsdpService
29StopWsdpService
30TransmitFile
31WSARecvEx
32WSPStartup
33dn_expand
34getnetbyname
35inet_network
36rcmd
37rexec
38rresvport
39s_perror
40sethostname
lib/libc/mingw/lib64/opengl32.def created+376
......@@ -0,0 +1,376 @@
1;
2; Exports of file OPENGL32.dll
3;
4; Autogenerated by gen_exportdef
5; Written by Kai Tietz, 2007
6;
7LIBRARY OPENGL32.dll
8EXPORTS
9GlmfBeginGlsBlock
10GlmfCloseMetaFile
11GlmfEndGlsBlock
12GlmfEndPlayback
13GlmfInitPlayback
14GlmfPlayGlsRecord
15glAccum
16glAlphaFunc
17glAreTexturesResident
18glArrayElement
19glBegin
20glBindTexture
21glBitmap
22glBlendFunc
23glCallList
24glCallLists
25glClear
26glClearAccum
27glClearColor
28glClearDepth
29glClearIndex
30glClearStencil
31glClipPlane
32glColor3b
33glColor3bv
34glColor3d
35glColor3dv
36glColor3f
37glColor3fv
38glColor3i
39glColor3iv
40glColor3s
41glColor3sv
42glColor3ub
43glColor3ubv
44glColor3ui
45glColor3uiv
46glColor3us
47glColor3usv
48glColor4b
49glColor4bv
50glColor4d
51glColor4dv
52glColor4f
53glColor4fv
54glColor4i
55glColor4iv
56glColor4s
57glColor4sv
58glColor4ub
59glColor4ubv
60glColor4ui
61glColor4uiv
62glColor4us
63glColor4usv
64glColorMask
65glColorMaterial
66glColorPointer
67glCopyPixels
68glCopyTexImage1D
69glCopyTexImage2D
70glCopyTexSubImage1D
71glCopyTexSubImage2D
72glCullFace
73glDebugEntry
74glDeleteLists
75glDeleteTextures
76glDepthFunc
77glDepthMask
78glDepthRange
79glDisable
80glDisableClientState
81glDrawArrays
82glDrawBuffer
83glDrawElements
84glDrawPixels
85glEdgeFlag
86glEdgeFlagPointer
87glEdgeFlagv
88glEnable
89glEnableClientState
90glEnd
91glEndList
92glEvalCoord1d
93glEvalCoord1dv
94glEvalCoord1f
95glEvalCoord1fv
96glEvalCoord2d
97glEvalCoord2dv
98glEvalCoord2f
99glEvalCoord2fv
100glEvalMesh1
101glEvalMesh2
102glEvalPoint1
103glEvalPoint2
104glFeedbackBuffer
105glFinish
106glFlush
107glFogf
108glFogfv
109glFogi
110glFogiv
111glFrontFace
112glFrustum
113glGenLists
114glGenTextures
115glGetBooleanv
116glGetClipPlane
117glGetDoublev
118glGetError
119glGetFloatv
120glGetIntegerv
121glGetLightfv
122glGetLightiv
123glGetMapdv
124glGetMapfv
125glGetMapiv
126glGetMaterialfv
127glGetMaterialiv
128glGetPixelMapfv
129glGetPixelMapuiv
130glGetPixelMapusv
131glGetPointerv
132glGetPolygonStipple
133glGetString
134glGetTexEnvfv
135glGetTexEnviv
136glGetTexGendv
137glGetTexGenfv
138glGetTexGeniv
139glGetTexImage
140glGetTexLevelParameterfv
141glGetTexLevelParameteriv
142glGetTexParameterfv
143glGetTexParameteriv
144glHint
145glIndexMask
146glIndexPointer
147glIndexd
148glIndexdv
149glIndexf
150glIndexfv
151glIndexi
152glIndexiv
153glIndexs
154glIndexsv
155glIndexub
156glIndexubv
157glInitNames
158glInterleavedArrays
159glIsEnabled
160glIsList
161glIsTexture
162glLightModelf
163glLightModelfv
164glLightModeli
165glLightModeliv
166glLightf
167glLightfv
168glLighti
169glLightiv
170glLineStipple
171glLineWidth
172glListBase
173glLoadIdentity
174glLoadMatrixd
175glLoadMatrixf
176glLoadName
177glLogicOp
178glMap1d
179glMap1f
180glMap2d
181glMap2f
182glMapGrid1d
183glMapGrid1f
184glMapGrid2d
185glMapGrid2f
186glMaterialf
187glMaterialfv
188glMateriali
189glMaterialiv
190glMatrixMode
191glMultMatrixd
192glMultMatrixf
193glNewList
194glNormal3b
195glNormal3bv
196glNormal3d
197glNormal3dv
198glNormal3f
199glNormal3fv
200glNormal3i
201glNormal3iv
202glNormal3s
203glNormal3sv
204glNormalPointer
205glOrtho
206glPassThrough
207glPixelMapfv
208glPixelMapuiv
209glPixelMapusv
210glPixelStoref
211glPixelStorei
212glPixelTransferf
213glPixelTransferi
214glPixelZoom
215glPointSize
216glPolygonMode
217glPolygonOffset
218glPolygonStipple
219glPopAttrib
220glPopClientAttrib
221glPopMatrix
222glPopName
223glPrioritizeTextures
224glPushAttrib
225glPushClientAttrib
226glPushMatrix
227glPushName
228glRasterPos2d
229glRasterPos2dv
230glRasterPos2f
231glRasterPos2fv
232glRasterPos2i
233glRasterPos2iv
234glRasterPos2s
235glRasterPos2sv
236glRasterPos3d
237glRasterPos3dv
238glRasterPos3f
239glRasterPos3fv
240glRasterPos3i
241glRasterPos3iv
242glRasterPos3s
243glRasterPos3sv
244glRasterPos4d
245glRasterPos4dv
246glRasterPos4f
247glRasterPos4fv
248glRasterPos4i
249glRasterPos4iv
250glRasterPos4s
251glRasterPos4sv
252glReadBuffer
253glReadPixels
254glRectd
255glRectdv
256glRectf
257glRectfv
258glRecti
259glRectiv
260glRects
261glRectsv
262glRenderMode
263glRotated
264glRotatef
265glScaled
266glScalef
267glScissor
268glSelectBuffer
269glShadeModel
270glStencilFunc
271glStencilMask
272glStencilOp
273glTexCoord1d
274glTexCoord1dv
275glTexCoord1f
276glTexCoord1fv
277glTexCoord1i
278glTexCoord1iv
279glTexCoord1s
280glTexCoord1sv
281glTexCoord2d
282glTexCoord2dv
283glTexCoord2f
284glTexCoord2fv
285glTexCoord2i
286glTexCoord2iv
287glTexCoord2s
288glTexCoord2sv
289glTexCoord3d
290glTexCoord3dv
291glTexCoord3f
292glTexCoord3fv
293glTexCoord3i
294glTexCoord3iv
295glTexCoord3s
296glTexCoord3sv
297glTexCoord4d
298glTexCoord4dv
299glTexCoord4f
300glTexCoord4fv
301glTexCoord4i
302glTexCoord4iv
303glTexCoord4s
304glTexCoord4sv
305glTexCoordPointer
306glTexEnvf
307glTexEnvfv
308glTexEnvi
309glTexEnviv
310glTexGend
311glTexGendv
312glTexGenf
313glTexGenfv
314glTexGeni
315glTexGeniv
316glTexImage1D
317glTexImage2D
318glTexParameterf
319glTexParameterfv
320glTexParameteri
321glTexParameteriv
322glTexSubImage1D
323glTexSubImage2D
324glTranslated
325glTranslatef
326glVertex2d
327glVertex2dv
328glVertex2f
329glVertex2fv
330glVertex2i
331glVertex2iv
332glVertex2s
333glVertex2sv
334glVertex3d
335glVertex3dv
336glVertex3f
337glVertex3fv
338glVertex3i
339glVertex3iv
340glVertex3s
341glVertex3sv
342glVertex4d
343glVertex4dv
344glVertex4f
345glVertex4fv
346glVertex4i
347glVertex4iv
348glVertex4s
349glVertex4sv
350glVertexPointer
351glViewport
352wglChoosePixelFormat
353wglCopyContext
354wglCreateContext
355wglCreateLayerContext
356wglDeleteContext
357wglDescribeLayerPlane
358wglDescribePixelFormat
359wglGetCurrentContext
360wglGetCurrentDC
361wglGetDefaultProcAddress
362wglGetLayerPaletteEntries
363wglGetPixelFormat
364wglGetProcAddress
365wglMakeCurrent
366wglRealizeLayerPalette
367wglSetLayerPaletteEntries
368wglSetPixelFormat
369wglShareLists
370wglSwapBuffers
371wglSwapLayerBuffers
372wglSwapMultipleBuffers
373wglUseFontBitmapsA
374wglUseFontBitmapsW
375wglUseFontOutlinesA
376wglUseFontOutlinesW
lib/libc/mingw/lib64/urlmon.def created+96
......@@ -0,0 +1,96 @@
1;
2; Exports of file urlmon.dll
3;
4; Autogenerated by gen_exportdef
5; Written by Kai Tietz, 2007
6;
7LIBRARY urlmon.dll
8EXPORTS
9AsyncGetClassBits
10AsyncInstallDistributionUnit
11BindAsyncMoniker
12CDLGetLongPathNameA
13CDLGetLongPathNameW
14CoGetClassObjectFromURL
15CoInstall
16CoInternetCombineUrl
17CoInternetCompareUrl
18CoInternetCreateSecurityManager
19CoInternetCreateZoneManager
20CoInternetFeatureSettingsChanged
21CoInternetGetProtocolFlags
22CoInternetGetSecurityUrl
23CoInternetGetSession
24CoInternetIsFeatureEnabled
25CoInternetIsFeatureEnabledForUrl
26CoInternetIsFeatureZoneElevationEnabled
27CoInternetParseUrl
28CoInternetQueryInfo
29CoInternetSetFeatureEnabled
30CompareSecurityIds
31CompatFlagsFromClsid
32CopyBindInfo
33CopyStgMedium
34CreateAsyncBindCtx
35CreateAsyncBindCtxEx
36CreateFormatEnumerator
37CreateURLMoniker
38CreateURLMonikerEx
39DllCanUnloadNow
40DllGetClassObject
41DllInstall
42DllRegisterServer
43DllRegisterServerEx
44DllUnregisterServer
45Extract
46FaultInIEFeature
47FindMediaType
48FindMediaTypeClass
49FindMimeFromData
50GetAddSitesFileUrl
51GetClassFileOrMime
52GetClassURL
53GetComponentIDFromCLSSPEC
54GetMarkOfTheWeb
55GetSoftwareUpdateInfo
56HlinkGoBack
57HlinkGoForward
58HlinkNavigateMoniker
59HlinkNavigateString
60HlinkSimpleNavigateToMoniker
61HlinkSimpleNavigateToString
62InstallFlash
63IsAsyncMoniker
64IsJITInProgress
65IsLoggingEnabledA
66IsLoggingEnabledW
67IsValidURL
68MkParseDisplayNameEx
69ObtainUserAgentString
70PrivateCoInstall
71RegisterBindStatusCallback
72RegisterFormatEnumerator
73RegisterMediaTypeClass
74RegisterMediaTypes
75ReleaseBindInfo
76RevokeBindStatusCallback
77RevokeFormatEnumerator
78SetSoftwareUpdateAdvertisementState
79ShowTrustAlertDialog
80URLDownloadA
81URLDownloadToCacheFileA
82URLDownloadToCacheFileW
83URLDownloadToFileA
84URLDownloadToFileW
85URLDownloadW
86URLOpenBlockingStreamA
87URLOpenBlockingStreamW
88URLOpenPullStreamA
89URLOpenPullStreamW
90URLOpenStreamA
91URLOpenStreamW
92UrlMkBuildVersion
93UrlMkGetSessionOption
94UrlMkSetSessionOption
95WriteHitLogging
96ZonesReInit
lib/libc/mingw/lib64/wintrust.def created+136
......@@ -0,0 +1,136 @@
1;
2; Exports of file WINTRUST.dll
3;
4; Autogenerated by gen_exportdef
5; Written by Kai Tietz, 2007
6;
7LIBRARY WINTRUST.dll
8EXPORTS
9CryptCATVerifyMember
10CryptSIPGetInfo
11CryptSIPGetRegWorkingFlags
12GenericChainCertificateTrust
13GenericChainFinalProv
14HTTPSCertificateTrust
15SoftpubDefCertInit
16SoftpubFreeDefUsageCallData
17SoftpubLoadDefUsageCallData
18WTHelperCertFindIssuerCertificate
19AddPersonalTrustDBPages
20CatalogCompactHashDatabase
21CryptCATAdminAcquireContext
22CryptCATAdminAddCatalog
23CryptCATAdminCalcHashFromFileHandle
24CryptCATAdminEnumCatalogFromHash
25CryptCATAdminPauseServiceForBackup
26CryptCATAdminReleaseCatalogContext
27CryptCATAdminReleaseContext
28CryptCATAdminRemoveCatalog
29CryptCATAdminResolveCatalogPath
30CryptCATCDFClose
31CryptCATCDFEnumAttributes
32CryptCATCDFEnumAttributesWithCDFTag
33CryptCATCDFEnumCatAttributes
34CryptCATCDFEnumMembers
35CryptCATCDFEnumMembersByCDFTag
36CryptCATCDFEnumMembersByCDFTagEx
37CryptCATCDFOpen
38CryptCATCatalogInfoFromContext
39CryptCATClose
40CryptCATEnumerateAttr
41CryptCATEnumerateCatAttr
42CryptCATEnumerateMember
43CryptCATGetAttrInfo
44CryptCATGetCatAttrInfo
45CryptCATGetMemberInfo
46CryptCATHandleFromStore
47CryptCATOpen
48CryptCATPersistStore
49CryptCATPutAttrInfo
50CryptCATPutCatAttrInfo
51CryptCATPutMemberInfo
52CryptCATStoreFromHandle
53CryptSIPCreateIndirectData
54CryptSIPGetSignedDataMsg
55CryptSIPPutSignedDataMsg
56CryptSIPRemoveSignedDataMsg
57CryptSIPVerifyIndirectData
58DllRegisterServer
59DllUnregisterServer
60DriverCleanupPolicy
61DriverFinalPolicy
62DriverInitializePolicy
63FindCertsByIssuer
64HTTPSFinalProv
65I_CryptCatAdminMigrateToNewCatDB
66IsCatalogFile
67MsCatConstructHashTag
68MsCatFreeHashTag
69OfficeCleanupPolicy
70OfficeInitializePolicy
71OpenPersonalTrustDBDialog
72OpenPersonalTrustDBDialogEx
73SoftpubAuthenticode
74SoftpubCheckCert
75SoftpubCleanup
76SoftpubDllRegisterServer
77SoftpubDllUnregisterServer
78SoftpubDumpStructure
79SoftpubInitialize
80SoftpubLoadMessage
81SoftpubLoadSignature
82TrustDecode
83TrustFindIssuerCertificate
84TrustFreeDecode
85TrustIsCertificateSelfSigned
86TrustOpenStores
87WTHelperCertCheckValidSignature
88WTHelperCertIsSelfSigned
89WTHelperCheckCertUsage
90WTHelperGetAgencyInfo
91WTHelperGetFileHandle
92WTHelperGetFileHash
93WTHelperGetFileName
94WTHelperGetKnownUsages
95WTHelperGetProvCertFromChain
96WTHelperGetProvPrivateDataFromChain
97WTHelperGetProvSignerFromChain
98WTHelperIsInRootStore
99WTHelperOpenKnownStores
100WTHelperProvDataFromStateData
101WVTAsn1CatMemberInfoDecode
102WVTAsn1CatMemberInfoEncode
103WVTAsn1CatNameValueDecode
104WVTAsn1CatNameValueEncode
105WVTAsn1SpcFinancialCriteriaInfoDecode
106WVTAsn1SpcFinancialCriteriaInfoEncode
107WVTAsn1SpcIndirectDataContentDecode
108WVTAsn1SpcIndirectDataContentEncode
109WVTAsn1SpcLinkDecode
110WVTAsn1SpcLinkEncode
111WVTAsn1SpcMinimalCriteriaInfoDecode
112WVTAsn1SpcMinimalCriteriaInfoEncode
113WVTAsn1SpcPeImageDataDecode
114WVTAsn1SpcPeImageDataEncode
115WVTAsn1SpcSigInfoDecode
116WVTAsn1SpcSigInfoEncode
117WVTAsn1SpcSpAgencyInfoDecode
118WVTAsn1SpcSpAgencyInfoEncode
119WVTAsn1SpcSpOpusInfoDecode
120WVTAsn1SpcSpOpusInfoEncode
121WVTAsn1SpcStatementTypeDecode
122WVTAsn1SpcStatementTypeEncode
123WinVerifyTrust
124WinVerifyTrustEx
125WintrustAddActionID
126WintrustAddDefaultForUsage
127WintrustCertificateTrust
128WintrustGetDefaultForUsage
129WintrustGetRegPolicyFlags
130WintrustLoadFunctionPointers
131WintrustRemoveActionID
132WintrustSetRegPolicyFlags
133mscat32DllRegisterServer
134mscat32DllUnregisterServer
135mssip32DllRegisterServer
136mssip32DllUnregisterServer
lib/libc/mingw/libarm32/mswsock.def created+70
......@@ -0,0 +1,70 @@
1;
2; Definition file of MSWSOCK.dll
3; Automatic generated by gendef
4; written by Kai Tietz 2008-2014
5;
6LIBRARY "MSWSOCK.dll"
7EXPORTS
8AcceptEx
9EnumProtocolsA
10EnumProtocolsW
11GetAcceptExSockaddrs
12GetAddressByNameA
13GetAddressByNameW
14GetNameByTypeA
15GetNameByTypeW
16GetServiceA
17GetServiceW
18GetSocketErrorMessageW
19GetTypeByNameA
20GetTypeByNameW
21MigrateWinsockConfiguration
22MigrateWinsockConfigurationEx
23NPLoadNameSpaces
24NSPStartup
25SetServiceA
26SetServiceW
27StartWsdpService
28StopWsdpService
29Tcpip4_WSHAddressToString
30Tcpip4_WSHEnumProtocols
31Tcpip4_WSHGetBroadcastSockaddr
32Tcpip4_WSHGetProviderGuid
33Tcpip4_WSHGetSockaddrType
34Tcpip4_WSHGetSocketInformation
35Tcpip4_WSHGetWSAProtocolInfo
36Tcpip4_WSHGetWildcardSockaddr
37Tcpip4_WSHGetWinsockMapping
38Tcpip4_WSHIoctl
39Tcpip4_WSHJoinLeaf
40Tcpip4_WSHNotify
41Tcpip4_WSHOpenSocket
42Tcpip4_WSHOpenSocket2
43Tcpip4_WSHSetSocketInformation
44Tcpip4_WSHStringToAddress
45Tcpip6_WSHAddressToString
46Tcpip6_WSHEnumProtocols
47Tcpip6_WSHGetProviderGuid
48Tcpip6_WSHGetSockaddrType
49Tcpip6_WSHGetSocketInformation
50Tcpip6_WSHGetWSAProtocolInfo
51Tcpip6_WSHGetWildcardSockaddr
52Tcpip6_WSHGetWinsockMapping
53Tcpip6_WSHIoctl
54Tcpip6_WSHJoinLeaf
55Tcpip6_WSHNotify
56Tcpip6_WSHOpenSocket
57Tcpip6_WSHOpenSocket2
58Tcpip6_WSHSetSocketInformation
59Tcpip6_WSHStringToAddress
60TransmitFile
61WSARecvEx
62WSPStartup
63dn_expand
64getnetbyname
65inet_network
66rcmd
67rexec
68rresvport
69s_perror
70sethostname
lib/libc/mingw/libarm32/urlmon.def created+292
......@@ -0,0 +1,292 @@
1;
2; Definition file of urlmon.dll
3; Automatic generated by gendef
4; written by Kai Tietz 2008-2014
5;
6LIBRARY "urlmon.dll"
7EXPORTS
8ord_100 @100
9ord_101 @101
10ord_102 @102
11ord_103 @103
12ord_104 @104
13ord_105 @105
14ord_106 @106
15ord_107 @107
16ord_108 @108
17FileBearsMarkOfTheWeb
18GetPortFromUrlScheme
19ord_111 @111
20ord_112 @112
21ord_113 @113
22ord_114 @114
23ord_115 @115
24ord_116 @116
25ord_117 @117
26GetPropertyFromName
27GetPropertyName
28IsDWORDProperty
29IsStringProperty
30AsyncGetClassBits
31AsyncInstallDistributionUnit
32BindAsyncMoniker
33CDLGetLongPathNameA
34CDLGetLongPathNameW
35CORPolicyProvider
36CoGetClassObjectFromURL
37CoInstall
38CoInternetCanonicalizeIUri
39CoInternetCombineIUri
40CoInternetCombineUrl
41CoInternetCombineUrlEx
42CoInternetCompareUrl
43CoInternetCreateSecurityManager
44CoInternetCreateZoneManager
45CoInternetFeatureSettingsChanged
46CoInternetGetProtocolFlags
47CoInternetGetSecurityUrl
48CoInternetGetSecurityUrlEx
49CoInternetGetSession
50CoInternetIsFeatureEnabled
51CoInternetIsFeatureEnabledForIUri
52CoInternetIsFeatureEnabledForUrl
53CoInternetIsFeatureZoneElevationEnabled
54CoInternetParseIUri
55CoInternetParseUrl
56CoInternetQueryInfo
57CoInternetSetFeatureEnabled
58CompareSecurityIds
59CompatFlagsFromClsid
60CopyBindInfo
61CopyStgMedium
62CreateAsyncBindCtx
63CreateAsyncBindCtxEx
64CreateFormatEnumerator
65CreateIUriBuilder
66CreateURLMoniker
67CreateURLMonikerEx
68CreateURLMonikerEx2
69CreateUri
70CreateUriFromMultiByteString
71CreateUriPriv
72CreateUriWithFragment
73Extract
74FaultInIEFeature
75FindMediaType
76FindMediaTypeClass
77FindMimeFromData
78GetAddSitesFileUrl
79GetClassFileOrMime
80GetClassURL
81GetComponentIDFromCLSSPEC
82GetIDNFlagsForUri
83GetIUriPriv
84GetIUriPriv2
85GetLabelsFromNamedHost
86GetMarkOfTheWeb
87GetSoftwareUpdateInfo
88GetUrlmonThreadNotificationHwnd
89GetZoneFromAlternateDataStreamEx
90HlinkGoBack
91HlinkGoForward
92HlinkNavigateMoniker
93HlinkNavigateString
94HlinkSimpleNavigateToMoniker
95HlinkSimpleNavigateToString
96IEDllLoader
97IEGetUserPrivateNamespaceName
98IEInstallScope
99IntlPercentEncodeNormalize
100IsAsyncMoniker
101IsIntranetAvailable
102IsJITInProgress
103IsLoggingEnabledA
104IsLoggingEnabledW
105IsValidURL
106MkParseDisplayNameEx
107ObtainUserAgentString
108PrivateCoInstall
109QueryAssociations
110QueryClsidAssociation
111RegisterBindStatusCallback
112RegisterFormatEnumerator
113RegisterMediaTypeClass
114RegisterMediaTypes
115RegisterWebPlatformPermanentSecurityManager
116ReleaseBindInfo
117RevokeBindStatusCallback
118RevokeFormatEnumerator
119SetAccessForIEAppContainer
120SetSoftwareUpdateAdvertisementState
121ShouldDisplayPunycodeForUri
122ShouldShowIntranetWarningSecband
123ShowTrustAlertDialog
124URLDownloadA
125URLDownloadToCacheFileA
126URLDownloadToCacheFileW
127URLDownloadToFileA
128URLDownloadToFileW
129URLDownloadW
130URLOpenBlockingStreamA
131URLOpenBlockingStreamW
132URLOpenPullStreamA
133URLOpenPullStreamW
134URLOpenStreamA
135URLOpenStreamW
136UnregisterWebPlatformPermanentSecurityManager
137UrlMkBuildVersion
138UrlMkGetSessionOption
139UrlMkSetSessionOption
140UrlmonCleanupCurrentThread
141WriteHitLogging
142ZonesReInit
143ord_304 @304
144ord_305 @305
145ord_306 @306
146ord_307 @307
147ord_308 @308
148ord_309 @309
149ord_310 @310
150ord_311 @311
151ord_312 @312
152ord_313 @313
153ord_314 @314
154ord_315 @315
155ord_316 @316
156ord_318 @318
157ord_319 @319
158ord_320 @320
159ord_321 @321
160IECompatLogCSSFix
161ord_323 @323
162ord_324 @324
163ord_395 @395
164ord_400 @400
165ord_401 @401
166ord_403 @403
167ord_404 @404
168ord_406 @406
169ord_407 @407
170ord_408 @408
171ord_409 @409
172ord_410 @410
173ord_411 @411
174ord_412 @412
175ord_413 @413
176ord_414 @414
177ord_415 @415
178ord_416 @416
179ord_417 @417
180ord_421 @421
181ord_422 @422
182ord_423 @423
183ord_430 @430
184ord_431 @431
185ord_432 @432
186ord_433 @433
187ord_434 @434
188ord_435 @435
189ord_436 @436
190ord_437 @437
191ord_438 @438
192ord_439 @439
193ord_440 @440
194ord_441 @441
195ord_442 @442
196ord_443 @443
197ord_444 @444
198ord_445 @445
199ord_446 @446
200ord_447 @447
201ord_448 @448
202ord_449 @449
203ord_450 @450
204ord_451 @451
205ord_452 @452
206ord_453 @453
207ord_454 @454
208ord_455 @455
209ord_456 @456
210ord_457 @457
211ord_458 @458
212ord_460 @460
213ord_461 @461
214ord_462 @462
215ord_463 @463
216ord_470 @470
217ord_471 @471
218ord_473 @473
219ord_474 @474
220ord_475 @475
221ord_476 @476
222ord_477 @477
223ord_478 @478
224ord_479 @479
225ord_480 @480
226ord_481 @481
227ord_482 @482
228ord_483 @483
229ord_484 @484
230ord_485 @485
231ord_486 @486
232ord_487 @487
233ord_488 @488
234ord_489 @489
235ord_490 @490
236ord_491 @491
237ord_492 @492
238ord_494 @494
239ord_495 @495
240ord_496 @496
241ord_497 @497
242ord_498 @498
243ord_499 @499
244ord_500 @500
245ord_501 @501
246ord_502 @502
247ord_503 @503
248ord_504 @504
249ord_505 @505
250ord_506 @506
251ord_507 @507
252ord_508 @508
253ord_509 @509
254ord_510 @510
255ord_511 @511
256ord_512 @512
257ord_513 @513
258ord_514 @514
259ord_515 @515
260ord_516 @516
261ord_517 @517
262ord_518 @518
263ord_519 @519
264ord_520 @520
265ord_521 @521
266ord_522 @522
267ord_523 @523
268ord_524 @524
269ord_525 @525
270ord_526 @526
271ord_527 @527
272ord_528 @528
273ord_529 @529
274ord_530 @530
275ord_531 @531
276ord_532 @532
277ord_533 @533
278ord_534 @534
279ord_535 @535
280ord_536 @536
281ord_537 @537
282ord_538 @538
283ord_539 @539
284ord_540 @540
285ord_541 @541
286ord_542 @542
287ord_543 @543
288ord_544 @544
289ord_545 @545
290ord_546 @546
291ord_547 @547
292ord_548 @548
lib/libc/mingw/libarm32/wintrust.def created+150
......@@ -0,0 +1,150 @@
1;
2; Definition file of WINTRUST.dll
3; Automatic generated by gendef
4; written by Kai Tietz 2008-2014
5;
6LIBRARY "WINTRUST.dll"
7EXPORTS
8CryptCATVerifyMember
9CryptSIPGetInfo
10CryptSIPGetRegWorkingFlags
11GenericChainCertificateTrust
12GenericChainFinalProv
13HTTPSCertificateTrust
14SoftpubDefCertInit
15SoftpubFreeDefUsageCallData
16SoftpubLoadDefUsageCallData
17WTHelperCertFindIssuerCertificate
18AddPersonalTrustDBPages
19CatalogCompactHashDatabase
20CryptCATAdminAcquireContext
21CryptCATAdminAcquireContext2
22CryptCATAdminAddCatalog
23CryptCATAdminCalcHashFromFileHandle
24CryptCATAdminCalcHashFromFileHandle2
25CryptCATAdminEnumCatalogFromHash
26CryptCATAdminPauseServiceForBackup
27CryptCATAdminReleaseCatalogContext
28CryptCATAdminReleaseContext
29CryptCATAdminRemoveCatalog
30CryptCATAdminResolveCatalogPath
31CryptCATAllocSortedMemberInfo
32CryptCATCDFClose
33CryptCATCDFEnumAttributes
34CryptCATCDFEnumAttributesWithCDFTag
35CryptCATCDFEnumCatAttributes
36CryptCATCDFEnumMembers
37CryptCATCDFEnumMembersByCDFTag
38CryptCATCDFEnumMembersByCDFTagEx
39CryptCATCDFOpen
40CryptCATCatalogInfoFromContext
41CryptCATClose
42CryptCATEnumerateAttr
43CryptCATEnumerateCatAttr
44CryptCATEnumerateMember
45CryptCATFreeSortedMemberInfo
46CryptCATGetAttrInfo
47CryptCATGetCatAttrInfo
48CryptCATGetMemberInfo
49CryptCATHandleFromStore
50CryptCATOpen
51CryptCATPersistStore
52CryptCATPutAttrInfo
53CryptCATPutCatAttrInfo
54CryptCATPutMemberInfo
55CryptCATStoreFromHandle
56CryptSIPCreateIndirectData
57CryptSIPGetCaps
58CryptSIPGetSealedDigest
59CryptSIPGetSignedDataMsg
60CryptSIPPutSignedDataMsg
61CryptSIPRemoveSignedDataMsg
62CryptSIPVerifyIndirectData
63DriverCleanupPolicy
64DriverFinalPolicy
65DriverInitializePolicy
66FindCertsByIssuer
67HTTPSFinalProv
68IsCatalogFile
69MsCatConstructHashTag
70MsCatFreeHashTag
71OfficeCleanupPolicy
72OfficeInitializePolicy
73OpenPersonalTrustDBDialog
74OpenPersonalTrustDBDialogEx
75SoftpubAuthenticode
76SoftpubCheckCert
77SoftpubCleanup
78SoftpubDllRegisterServer
79SoftpubDllUnregisterServer
80SoftpubDumpStructure
81SoftpubInitialize
82SoftpubLoadMessage
83SoftpubLoadSignature
84TrustDecode
85TrustFindIssuerCertificate
86TrustFreeDecode
87TrustIsCertificateSelfSigned
88TrustOpenStores
89WTGetSignatureInfo
90WTHelperCertCheckValidSignature
91WTHelperCertIsSelfSigned
92WTHelperCheckCertUsage
93WTHelperGetAgencyInfo
94WTHelperGetFileHandle
95WTHelperGetFileHash
96WTHelperGetFileName
97WTHelperGetKnownUsages
98WTHelperGetProvCertFromChain
99WTHelperGetProvPrivateDataFromChain
100WTHelperGetProvSignerFromChain
101WTHelperIsChainedToMicrosoft
102WTHelperIsChainedToMicrosoftFromStateData
103WTHelperIsInRootStore
104WTHelperOpenKnownStores
105WTHelperProvDataFromStateData
106WVTAsn1CatMemberInfo2Decode
107WVTAsn1CatMemberInfo2Encode
108WVTAsn1CatMemberInfoDecode
109WVTAsn1CatMemberInfoEncode
110WVTAsn1CatNameValueDecode
111WVTAsn1CatNameValueEncode
112WVTAsn1IntentToSealAttributeDecode
113WVTAsn1IntentToSealAttributeEncode
114WVTAsn1SealingSignatureAttributeDecode
115WVTAsn1SealingSignatureAttributeEncode
116WVTAsn1SealingTimestampAttributeDecode
117WVTAsn1SealingTimestampAttributeEncode
118WVTAsn1SpcFinancialCriteriaInfoDecode
119WVTAsn1SpcFinancialCriteriaInfoEncode
120WVTAsn1SpcIndirectDataContentDecode
121WVTAsn1SpcIndirectDataContentEncode
122WVTAsn1SpcLinkDecode
123WVTAsn1SpcLinkEncode
124WVTAsn1SpcMinimalCriteriaInfoDecode
125WVTAsn1SpcMinimalCriteriaInfoEncode
126WVTAsn1SpcPeImageDataDecode
127WVTAsn1SpcPeImageDataEncode
128WVTAsn1SpcSigInfoDecode
129WVTAsn1SpcSigInfoEncode
130WVTAsn1SpcSpAgencyInfoDecode
131WVTAsn1SpcSpAgencyInfoEncode
132WVTAsn1SpcSpOpusInfoDecode
133WVTAsn1SpcSpOpusInfoEncode
134WVTAsn1SpcStatementTypeDecode
135WVTAsn1SpcStatementTypeEncode
136WinVerifyTrust
137WinVerifyTrustEx
138WintrustAddActionID
139WintrustAddDefaultForUsage
140WintrustCertificateTrust
141WintrustGetDefaultForUsage
142WintrustGetRegPolicyFlags
143WintrustLoadFunctionPointers
144WintrustRemoveActionID
145WintrustSetDefaultIncludePEPageHashes
146WintrustSetRegPolicyFlags
147mscat32DllRegisterServer
148mscat32DllUnregisterServer
149mssip32DllRegisterServer
150mssip32DllUnregisterServer
lib/std/child_process.zig+2-1
......@@ -365,7 +365,8 @@ pub const ChildProcess = struct {
365365 os.setreuid(uid, uid) catch |err| forkChildErrReport(err_pipe[1], err);
366366 }
367367
368 os.execve(self.allocator, self.argv, env_map) catch |err| forkChildErrReport(err_pipe[1], err);
368 const err = os.execvpe(self.allocator, self.argv, env_map);
369 forkChildErrReport(err_pipe[1], err);
369370 }
370371
371372 // we are the parent
lib/std/debug.zig+15-6
......@@ -280,14 +280,23 @@ pub const StackIterator = struct {
280280 };
281281 }
282282
283 // On some architectures such as x86 the frame pointer is the address where
284 // the previous fp is stored, while on some other architectures such as
285 // RISC-V it points to the "top" of the frame, just above where the previous
286 // fp and the return address are stored.
287 const fp_adjust_factor = if (builtin.arch == .riscv32 or builtin.arch == .riscv64)
288 2 * @sizeOf(usize)
289 else
290 0;
291
283292 fn next(self: *StackIterator) ?usize {
284 if (self.fp == 0) return null;
285 self.fp = @intToPtr(*const usize, self.fp).*;
286 if (self.fp == 0) return null;
293 if (self.fp <= fp_adjust_factor) return null;
294 self.fp = @intToPtr(*const usize, self.fp - fp_adjust_factor).*;
295 if (self.fp <= fp_adjust_factor) return null;
287296
288297 if (self.first_addr) |addr| {
289 while (self.fp != 0) : (self.fp = @intToPtr(*const usize, self.fp).*) {
290 const return_address = @intToPtr(*const usize, self.fp + @sizeOf(usize)).*;
298 while (self.fp > fp_adjust_factor) : (self.fp = @intToPtr(*const usize, self.fp - fp_adjust_factor).*) {
299 const return_address = @intToPtr(*const usize, self.fp - fp_adjust_factor + @sizeOf(usize)).*;
291300 if (addr == return_address) {
292301 self.first_addr = null;
293302 return return_address;
......@@ -295,7 +304,7 @@ pub const StackIterator = struct {
295304 }
296305 }
297306
298 const return_address = @intToPtr(*const usize, self.fp + @sizeOf(usize)).*;
307 const return_address = @intToPtr(*const usize, self.fp - fp_adjust_factor + @sizeOf(usize)).*;
299308 return return_address;
300309 }
301310};
lib/std/elf.zig+2
......@@ -338,6 +338,7 @@ pub const Arch = enum {
338338 IA_64,
339339 x86_64,
340340 AArch64,
341 RiscV,
341342};
342343
343344pub const SectionHeader = struct {
......@@ -428,6 +429,7 @@ pub const Elf = struct {
428429 0x32 => Arch.IA_64,
429430 0x3E => Arch.x86_64,
430431 0xb7 => Arch.AArch64,
432 0xf3 => Arch.RiscV,
431433 else => return error.InvalidFormat,
432434 };
433435
lib/std/fs.zig-1
......@@ -27,7 +27,6 @@ pub const GetAppDataDirError = @import("fs/get_app_data_dir.zig").GetAppDataDirE
2727/// This represents the maximum size of a UTF-8 encoded file path.
2828/// All file system operations which return a path are guaranteed to
2929/// fit into a UTF-8 encoded array of this length.
30/// path being too long if it is this 0long
3130pub const MAX_PATH_BYTES = switch (builtin.os) {
3231 .linux, .macosx, .ios, .freebsd, .netbsd => os.PATH_MAX,
3332 // Each UTF-16LE character may be expanded to 3 UTF-8 bytes.
lib/std/fs/file.zig+15-7
......@@ -269,9 +269,17 @@ pub const File = struct {
269269
270270 pub const UpdateTimesError = os.FutimensError || windows.SetFileTimeError;
271271
272 /// `atime`: access timestamp in nanoseconds
273 /// `mtime`: last modification timestamp in nanoseconds
274 pub fn updateTimes(self: File, atime: i64, mtime: i64) UpdateTimesError!void {
272 /// The underlying file system may have a different granularity than nanoseconds,
273 /// and therefore this function cannot guarantee any precision will be stored.
274 /// Further, the maximum value is limited by the system ABI. When a value is provided
275 /// that exceeds this range, the value is clamped to the maximum.
276 pub fn updateTimes(
277 self: File,
278 /// access timestamp in nanoseconds
279 atime: i64,
280 /// last modification timestamp in nanoseconds
281 mtime: i64,
282 ) UpdateTimesError!void {
275283 if (windows.is_the_target) {
276284 const atime_ft = windows.nanoSecondsToFileTime(atime);
277285 const mtime_ft = windows.nanoSecondsToFileTime(mtime);
......@@ -279,12 +287,12 @@ pub const File = struct {
279287 }
280288 const times = [2]os.timespec{
281289 os.timespec{
282 .tv_sec = @divFloor(atime, std.time.ns_per_s),
283 .tv_nsec = @mod(atime, std.time.ns_per_s),
290 .tv_sec = math.cast(isize, @divFloor(atime, std.time.ns_per_s)) catch maxInt(isize),
291 .tv_nsec = math.cast(isize, @mod(atime, std.time.ns_per_s)) catch maxInt(isize),
284292 },
285293 os.timespec{
286 .tv_sec = @divFloor(mtime, std.time.ns_per_s),
287 .tv_nsec = @mod(mtime, std.time.ns_per_s),
294 .tv_sec = math.cast(isize, @divFloor(mtime, std.time.ns_per_s)) catch maxInt(isize),
295 .tv_nsec = math.cast(isize, @mod(mtime, std.time.ns_per_s)) catch maxInt(isize),
288296 },
289297 };
290298 try os.futimens(self.handle, &times);
lib/std/hash.zig+2
......@@ -3,6 +3,8 @@ pub const Adler32 = adler.Adler32;
33
44const auto_hash = @import("hash/auto_hash.zig");
55pub const autoHash = auto_hash.autoHash;
6pub const autoHashStrat = auto_hash.hash;
7pub const Strategy = auto_hash.HashStrategy;
68
79// pub for polynomials + generic crc32 construction
810pub const crc = @import("hash/crc.zig");
lib/std/hash_map.zig+12-1
......@@ -36,7 +36,8 @@ pub fn HashMap(comptime K: type, comptime V: type, comptime hash: fn (key: K) u3
3636 size: usize,
3737 max_distance_from_start_index: usize,
3838 allocator: *Allocator,
39 // this is used to detect bugs where a hashtable is edited while an iterator is running.
39
40 /// This is used to detect bugs where a hashtable is edited while an iterator is running.
4041 modification_count: debug_u32,
4142
4243 const Self = @This();
......@@ -550,3 +551,13 @@ pub fn getAutoEqlFn(comptime K: type) (fn (K, K) bool) {
550551 }
551552 }.eql;
552553}
554
555pub fn getAutoHashStratFn(comptime K: type, comptime strategy: std.hash.Strategy) (fn (K) u32) {
556 return struct {
557 fn hash(key: K) u32 {
558 var hasher = Wyhash.init(0);
559 std.hash.autoHashStrat(&hasher, key, strategy);
560 return @truncate(u32, hasher.final());
561 }
562 }.hash;
563}
lib/std/io.zig+3-36
......@@ -508,7 +508,7 @@ pub fn BitInStream(endian: builtin.Endian, comptime Error: type) type {
508508 };
509509}
510510
511/// This is a simple OutStream that writes to a slice, and returns an error
511/// This is a simple OutStream that writes to a fixed buffer, and returns an error
512512/// when it runs out of space.
513513pub const SliceOutStream = struct {
514514 pub const Error = error{OutOfSpace};
......@@ -1022,33 +1022,6 @@ pub fn Deserializer(comptime endian: builtin.Endian, comptime packing: Packing,
10221022 return @bitCast(T, result);
10231023 }
10241024
1025 //@TODO: Replace this with @unionInit or whatever when it is added
1026 // see: #1315
1027 fn setTag(ptr: var, tag: var) void {
1028 const T = @typeOf(ptr);
1029 comptime assert(trait.isPtrTo(builtin.TypeId.Union)(T));
1030 const U = meta.Child(T);
1031
1032 const info = @typeInfo(U).Union;
1033 if (info.tag_type) |TagType| {
1034 comptime assert(TagType == @typeOf(tag));
1035
1036 var ptr_tag = ptr: {
1037 if (@alignOf(TagType) >= @alignOf(U)) break :ptr @ptrCast(*TagType, ptr);
1038 const offset = comptime max: {
1039 var max_field_size: comptime_int = 0;
1040 for (info.fields) |field_info| {
1041 const field_size = @sizeOf(field_info.field_type);
1042 max_field_size = math.max(max_field_size, field_size);
1043 }
1044 break :max math.max(max_field_size, @alignOf(U));
1045 };
1046 break :ptr @intToPtr(*TagType, @ptrToInt(ptr) + offset);
1047 };
1048 ptr_tag.* = tag;
1049 }
1050 }
1051
10521025 /// Deserializes and returns data of the specified type from the stream
10531026 pub fn deserialize(self: *Self, comptime T: type) !T {
10541027 var value: T = undefined;
......@@ -1111,18 +1084,12 @@ pub fn Deserializer(comptime endian: builtin.Endian, comptime packing: Packing,
11111084 // safety. If it is bad, it will be caught anyway.
11121085 const TagInt = @TagType(TagType);
11131086 const tag = try self.deserializeInt(TagInt);
1114
1115 {
1116 @setRuntimeSafety(false);
1117 //See: #1315
1118 setTag(ptr, @intToEnum(TagType, tag));
1119 }
1120
1087
11211088 inline for (info.fields) |field_info| {
11221089 if (field_info.enum_field.?.value == tag) {
11231090 const name = field_info.name;
11241091 const FieldType = field_info.field_type;
1125 @field(ptr, name) = FieldType(undefined);
1092 ptr.* = @unionInit(C, name, undefined);
11261093 try self.deserializeInto(&@field(ptr, name));
11271094 return;
11281095 }
lib/std/io/test.zig+18
......@@ -629,3 +629,21 @@ test "File seek ops" {
629629 try file.seekTo(1234);
630630 std.testing.expect((try file.getPos()) == 1234);
631631}
632
633test "updateTimes" {
634 const tmp_file_name = "just_a_temporary_file.txt";
635 var file = try File.openWrite(tmp_file_name);
636 defer {
637 file.close();
638 std.fs.deleteFile(tmp_file_name) catch {};
639 }
640 var stat_old = try file.stat();
641 // Set atime and mtime to 5s before
642 try file.updateTimes(
643 stat_old.atime - 5 * std.time.ns_per_s,
644 stat_old.mtime - 5 * std.time.ns_per_s,
645 );
646 var stat_new = try file.stat();
647 std.testing.expect(stat_new.atime < stat_old.atime);
648 std.testing.expect(stat_new.mtime < stat_old.mtime);
649}
lib/std/json.zig+56-6
......@@ -8,6 +8,8 @@ const testing = std.testing;
88const mem = std.mem;
99const maxInt = std.math.maxInt;
1010
11pub const WriteStream = @import("json/write_stream.zig").WriteStream;
12
1113// A single token slice into the parent string.
1214//
1315// Use `token.slice()` on the input at the current position to get the current slice.
......@@ -1001,6 +1003,7 @@ pub const ValueTree = struct {
10011003};
10021004
10031005pub const ObjectMap = StringHashMap(Value);
1006pub const Array = ArrayList(Value);
10041007
10051008pub const Value = union(enum) {
10061009 Null,
......@@ -1008,7 +1011,7 @@ pub const Value = union(enum) {
10081011 Integer: i64,
10091012 Float: f64,
10101013 String: []const u8,
1011 Array: ArrayList(Value),
1014 Array: Array,
10121015 Object: ObjectMap,
10131016
10141017 pub fn dump(self: Value) void {
......@@ -1134,7 +1137,7 @@ pub const Parser = struct {
11341137 state: State,
11351138 copy_strings: bool,
11361139 // Stores parent nodes and un-combined Values.
1137 stack: ArrayList(Value),
1140 stack: Array,
11381141
11391142 const State = enum {
11401143 ObjectKey,
......@@ -1148,7 +1151,7 @@ pub const Parser = struct {
11481151 .allocator = allocator,
11491152 .state = State.Simple,
11501153 .copy_strings = copy_strings,
1151 .stack = ArrayList(Value).init(allocator),
1154 .stack = Array.init(allocator),
11521155 };
11531156 }
11541157
......@@ -1210,7 +1213,7 @@ pub const Parser = struct {
12101213 p.state = State.ObjectKey;
12111214 },
12121215 Token.Id.ArrayBegin => {
1213 try p.stack.append(Value{ .Array = ArrayList(Value).init(allocator) });
1216 try p.stack.append(Value{ .Array = Array.init(allocator) });
12141217 p.state = State.ArrayValue;
12151218 },
12161219 Token.Id.String => {
......@@ -1260,7 +1263,7 @@ pub const Parser = struct {
12601263 p.state = State.ObjectKey;
12611264 },
12621265 Token.Id.ArrayBegin => {
1263 try p.stack.append(Value{ .Array = ArrayList(Value).init(allocator) });
1266 try p.stack.append(Value{ .Array = Array.init(allocator) });
12641267 p.state = State.ArrayValue;
12651268 },
12661269 Token.Id.String => {
......@@ -1289,7 +1292,7 @@ pub const Parser = struct {
12891292 p.state = State.ObjectKey;
12901293 },
12911294 Token.Id.ArrayBegin => {
1292 try p.stack.append(Value{ .Array = ArrayList(Value).init(allocator) });
1295 try p.stack.append(Value{ .Array = Array.init(allocator) });
12931296 p.state = State.ArrayValue;
12941297 },
12951298 Token.Id.String => {
......@@ -1405,3 +1408,50 @@ test "json.parser.dynamic" {
14051408test "import more json tests" {
14061409 _ = @import("json/test.zig");
14071410}
1411
1412test "write json then parse it" {
1413 var out_buffer: [1000]u8 = undefined;
1414
1415 var slice_out_stream = std.io.SliceOutStream.init(&out_buffer);
1416 const out_stream = &slice_out_stream.stream;
1417 var jw = WriteStream(@typeOf(out_stream).Child, 4).init(out_stream);
1418
1419 try jw.beginObject();
1420
1421 try jw.objectField("f");
1422 try jw.emitBool(false);
1423
1424 try jw.objectField("t");
1425 try jw.emitBool(true);
1426
1427 try jw.objectField("int");
1428 try jw.emitNumber(i32(1234));
1429
1430 try jw.objectField("array");
1431 try jw.beginArray();
1432
1433 try jw.arrayElem();
1434 try jw.emitNull();
1435
1436 try jw.arrayElem();
1437 try jw.emitNumber(f64(12.34));
1438
1439 try jw.endArray();
1440
1441 try jw.objectField("str");
1442 try jw.emitString("hello");
1443
1444 try jw.endObject();
1445
1446 var mem_buffer: [1024 * 20]u8 = undefined;
1447 const allocator = &std.heap.FixedBufferAllocator.init(&mem_buffer).allocator;
1448 var parser = Parser.init(allocator, false);
1449 const tree = try parser.parse(slice_out_stream.getWritten());
1450
1451 testing.expect(tree.root.Object.get("f").?.value.Bool == false);
1452 testing.expect(tree.root.Object.get("t").?.value.Bool == true);
1453 testing.expect(tree.root.Object.get("int").?.value.Integer == 1234);
1454 testing.expect(tree.root.Object.get("array").?.value.Array.at(0).Null == {});
1455 testing.expect(tree.root.Object.get("array").?.value.Array.at(1).Float == 12.34);
1456 testing.expect(mem.eql(u8, tree.root.Object.get("str").?.value.String, "hello"));
1457}
lib/std/json/write_stream.zig created+218
......@@ -0,0 +1,218 @@
1const std = @import("../std.zig");
2const assert = std.debug.assert;
3const maxInt = std.math.maxInt;
4
5const State = enum {
6 Complete,
7 Value,
8 ArrayStart,
9 Array,
10 ObjectStart,
11 Object,
12};
13
14/// Writes JSON ([RFC8259](https://tools.ietf.org/html/rfc8259)) formatted data
15/// to a stream. `max_depth` is a comptime-known upper bound on the nesting depth.
16/// TODO A future iteration of this API will allow passing `null` for this value,
17/// and disable safety checks in release builds.
18pub fn WriteStream(comptime OutStream: type, comptime max_depth: usize) type {
19 return struct {
20 const Self = @This();
21
22 pub const Stream = OutStream;
23
24 /// The string used for indenting.
25 one_indent: []const u8 = " ",
26
27 /// The string used as a newline character.
28 newline: []const u8 = "\n",
29
30 stream: *OutStream,
31 state_index: usize,
32 state: [max_depth]State,
33
34 pub fn init(stream: *OutStream) Self {
35 var self = Self{
36 .stream = stream,
37 .state_index = 1,
38 .state = undefined,
39 };
40 self.state[0] = .Complete;
41 self.state[1] = .Value;
42 return self;
43 }
44
45 pub fn beginArray(self: *Self) !void {
46 assert(self.state[self.state_index] == State.Value); // need to call arrayElem or objectField
47 try self.stream.writeByte('[');
48 self.state[self.state_index] = State.ArrayStart;
49 }
50
51 pub fn beginObject(self: *Self) !void {
52 assert(self.state[self.state_index] == State.Value); // need to call arrayElem or objectField
53 try self.stream.writeByte('{');
54 self.state[self.state_index] = State.ObjectStart;
55 }
56
57 pub fn arrayElem(self: *Self) !void {
58 const state = self.state[self.state_index];
59 switch (state) {
60 .Complete => unreachable,
61 .Value => unreachable,
62 .ObjectStart => unreachable,
63 .Object => unreachable,
64 .Array, .ArrayStart => {
65 if (state == .Array) {
66 try self.stream.writeByte(',');
67 }
68 self.state[self.state_index] = .Array;
69 self.pushState(.Value);
70 try self.indent();
71 },
72 }
73 }
74
75 pub fn objectField(self: *Self, name: []const u8) !void {
76 const state = self.state[self.state_index];
77 switch (state) {
78 .Complete => unreachable,
79 .Value => unreachable,
80 .ArrayStart => unreachable,
81 .Array => unreachable,
82 .Object, .ObjectStart => {
83 if (state == .Object) {
84 try self.stream.writeByte(',');
85 }
86 self.state[self.state_index] = .Object;
87 self.pushState(.Value);
88 try self.indent();
89 try self.writeEscapedString(name);
90 try self.stream.write(": ");
91 },
92 }
93 }
94
95 pub fn endArray(self: *Self) !void {
96 switch (self.state[self.state_index]) {
97 .Complete => unreachable,
98 .Value => unreachable,
99 .ObjectStart => unreachable,
100 .Object => unreachable,
101 .ArrayStart => {
102 try self.stream.writeByte(']');
103 self.popState();
104 },
105 .Array => {
106 try self.indent();
107 self.popState();
108 try self.stream.writeByte(']');
109 },
110 }
111 }
112
113 pub fn endObject(self: *Self) !void {
114 switch (self.state[self.state_index]) {
115 .Complete => unreachable,
116 .Value => unreachable,
117 .ArrayStart => unreachable,
118 .Array => unreachable,
119 .ObjectStart => {
120 try self.stream.writeByte('}');
121 self.popState();
122 },
123 .Object => {
124 try self.indent();
125 self.popState();
126 try self.stream.writeByte('}');
127 },
128 }
129 }
130
131 pub fn emitNull(self: *Self) !void {
132 assert(self.state[self.state_index] == State.Value);
133 try self.stream.write("null");
134 self.popState();
135 }
136
137 pub fn emitBool(self: *Self, value: bool) !void {
138 assert(self.state[self.state_index] == State.Value);
139 if (value) {
140 try self.stream.write("true");
141 } else {
142 try self.stream.write("false");
143 }
144 self.popState();
145 }
146
147 pub fn emitNumber(
148 self: *Self,
149 /// An integer, float, or `std.math.BigInt`. Emitted as a bare number if it fits losslessly
150 /// in a IEEE 754 double float, otherwise emitted as a string to the full precision.
151 value: var,
152 ) !void {
153 assert(self.state[self.state_index] == State.Value);
154 switch (@typeInfo(@typeOf(value))) {
155 .Int => |info| {
156 if (info.bits < 53) {
157 try self.stream.print("{}", value);
158 self.popState();
159 return;
160 }
161 if (value < 4503599627370496 and (!info.is_signed or value > -4503599627370496)) {
162 try self.stream.print("{}", value);
163 self.popState();
164 return;
165 }
166 },
167 .Float => if (@floatCast(f64, value) == value) {
168 try self.stream.print("{}", value);
169 self.popState();
170 return;
171 },
172 else => {},
173 }
174 try self.stream.print("\"{}\"", value);
175 self.popState();
176 }
177
178 pub fn emitString(self: *Self, string: []const u8) !void {
179 try self.writeEscapedString(string);
180 self.popState();
181 }
182
183 fn writeEscapedString(self: *Self, string: []const u8) !void {
184 try self.stream.writeByte('"');
185 for (string) |s| {
186 switch (s) {
187 '"' => try self.stream.write("\\\""),
188 '\t' => try self.stream.write("\\t"),
189 '\r' => try self.stream.write("\\r"),
190 '\n' => try self.stream.write("\\n"),
191 8 => try self.stream.write("\\b"),
192 12 => try self.stream.write("\\f"),
193 '\\' => try self.stream.write("\\\\"),
194 else => try self.stream.writeByte(s),
195 }
196 }
197 try self.stream.writeByte('"');
198 }
199
200 fn indent(self: *Self) !void {
201 assert(self.state_index >= 1);
202 try self.stream.write(self.newline);
203 var i: usize = 0;
204 while (i < self.state_index - 1) : (i += 1) {
205 try self.stream.write(self.one_indent);
206 }
207 }
208
209 fn pushState(self: *Self, state: State) void {
210 self.state_index += 1;
211 self.state[self.state_index] = state;
212 }
213
214 fn popState(self: *Self) void {
215 self.state_index -= 1;
216 }
217 };
218}
lib/std/mem.zig+10
......@@ -1325,6 +1325,12 @@ fn AsBytesReturnType(comptime P: type) type {
13251325 const size = usize(@sizeOf(meta.Child(P)));
13261326 const alignment = comptime meta.alignment(P);
13271327
1328 if (alignment == 0) {
1329 if (comptime trait.isConstPtr(P))
1330 return *const [size]u8;
1331 return *[size]u8;
1332 }
1333
13281334 if (comptime trait.isConstPtr(P))
13291335 return *align(alignment) const [size]u8;
13301336 return *align(alignment) [size]u8;
......@@ -1364,6 +1370,10 @@ test "asBytes" {
13641370 .d = 0xA1,
13651371 };
13661372 testing.expect(eql(u8, asBytes(&inst), "\xBE\xEF\xDE\xA1"));
1373
1374 const ZST = struct {};
1375 const zero = ZST{};
1376 testing.expect(eql(u8, asBytes(&zero), ""));
13671377}
13681378
13691379///Given any value, returns a copy of its bytes in an array.
lib/std/meta.zig+10
......@@ -542,3 +542,13 @@ pub fn intToEnum(comptime Tag: type, tag_int: var) IntToEnumError!Tag {
542542 }
543543 return error.InvalidEnumTag;
544544}
545
546/// Given a type and a name, return the field index according to source order.
547/// Returns `null` if the field is not found.
548pub fn fieldIndex(comptime T: type, comptime name: []const u8) ?comptime_int {
549 inline for (fields(T)) |field, i| {
550 if (mem.eql(u8, field.name, name))
551 return comptime_int(i);
552 }
553 return null;
554}
lib/std/os.zig+77-71
......@@ -642,13 +642,86 @@ pub fn dup2(old_fd: fd_t, new_fd: fd_t) !void {
642642 }
643643}
644644
645pub const ExecveError = error{
646 SystemResources,
647 AccessDenied,
648 InvalidExe,
649 FileSystem,
650 IsDir,
651 FileNotFound,
652 NotDir,
653 FileBusy,
654 ProcessFdQuotaExceeded,
655 SystemFdQuotaExceeded,
656 NameTooLong,
657} || UnexpectedError;
658
659/// Like `execve` except the parameters are null-terminated,
660/// matching the syscall API on all targets. This removes the need for an allocator.
661/// This function ignores PATH environment variable. See `execvpeC` for that.
662pub fn execveC(path: [*]const u8, child_argv: [*]const ?[*]const u8, envp: [*]const ?[*]const u8) ExecveError {
663 switch (errno(system.execve(path, child_argv, envp))) {
664 0 => unreachable,
665 EFAULT => unreachable,
666 E2BIG => return error.SystemResources,
667 EMFILE => return error.ProcessFdQuotaExceeded,
668 ENAMETOOLONG => return error.NameTooLong,
669 ENFILE => return error.SystemFdQuotaExceeded,
670 ENOMEM => return error.SystemResources,
671 EACCES => return error.AccessDenied,
672 EPERM => return error.AccessDenied,
673 EINVAL => return error.InvalidExe,
674 ENOEXEC => return error.InvalidExe,
675 EIO => return error.FileSystem,
676 ELOOP => return error.FileSystem,
677 EISDIR => return error.IsDir,
678 ENOENT => return error.FileNotFound,
679 ENOTDIR => return error.NotDir,
680 ETXTBSY => return error.FileBusy,
681 else => |err| return unexpectedErrno(err),
682 }
683}
684
685/// Like `execvpe` except the parameters are null-terminated,
686/// matching the syscall API on all targets. This removes the need for an allocator.
687/// This function also uses the PATH environment variable to get the full path to the executable.
688/// If `file` is an absolute path, this is the same as `execveC`.
689pub fn execvpeC(file: [*]const u8, child_argv: [*]const ?[*]const u8, envp: [*]const ?[*]const u8) ExecveError {
690 const file_slice = mem.toSliceConst(u8, file);
691 if (mem.indexOfScalar(u8, file_slice, '/') != null) return execveC(file, child_argv, envp);
692
693 const PATH = getenv("PATH") orelse "/usr/local/bin:/bin/:/usr/bin";
694 var path_buf: [MAX_PATH_BYTES]u8 = undefined;
695 var it = mem.tokenize(PATH, ":");
696 var seen_eacces = false;
697 var err: ExecveError = undefined;
698 while (it.next()) |search_path| {
699 if (path_buf.len < search_path.len + file_slice.len + 1) return error.NameTooLong;
700 mem.copy(u8, &path_buf, search_path);
701 path_buf[search_path.len] = '/';
702 mem.copy(u8, path_buf[search_path.len + 1 ..], file_slice);
703 path_buf[search_path.len + file_slice.len + 1] = 0;
704 err = execveC(&path_buf, child_argv, envp);
705 switch (err) {
706 error.AccessDenied => seen_eacces = true,
707 error.FileNotFound, error.NotDir => {},
708 else => |e| return e,
709 }
710 }
711 if (seen_eacces) return error.AccessDenied;
712 return err;
713}
714
645715/// This function must allocate memory to add a null terminating bytes on path and each arg.
646716/// It must also convert to KEY=VALUE\0 format for environment variables, and include null
647717/// pointers after the args and after the environment variables.
648/// `argv[0]` is the executable path.
718/// `argv_slice[0]` is the executable path.
649719/// This function also uses the PATH environment variable to get the full path to the executable.
650/// TODO provide execveC which does not take an allocator
651pub fn execve(allocator: *mem.Allocator, argv_slice: []const []const u8, env_map: *const std.BufMap) !void {
720pub fn execvpe(
721 allocator: *mem.Allocator,
722 argv_slice: []const []const u8,
723 env_map: *const std.BufMap,
724) (ExecveError || error{OutOfMemory}) {
652725 const argv_buf = try allocator.alloc(?[*]u8, argv_slice.len + 1);
653726 mem.set(?[*]u8, argv_buf, null);
654727 defer {
......@@ -670,37 +743,7 @@ pub fn execve(allocator: *mem.Allocator, argv_slice: []const []const u8, env_map
670743 const envp_buf = try createNullDelimitedEnvMap(allocator, env_map);
671744 defer freeNullDelimitedEnvMap(allocator, envp_buf);
672745
673 const exe_path = argv_slice[0];
674 if (mem.indexOfScalar(u8, exe_path, '/') != null) {
675 return execveErrnoToErr(errno(system.execve(argv_buf[0].?, argv_buf.ptr, envp_buf.ptr)));
676 }
677
678 const PATH = getenv("PATH") orelse "/usr/local/bin:/bin/:/usr/bin";
679 // PATH.len because it is >= the largest search_path
680 // +1 for the / to join the search path and exe_path
681 // +1 for the null terminating byte
682 const path_buf = try allocator.alloc(u8, PATH.len + exe_path.len + 2);
683 defer allocator.free(path_buf);
684 var it = mem.tokenize(PATH, ":");
685 var seen_eacces = false;
686 var err: usize = undefined;
687 while (it.next()) |search_path| {
688 mem.copy(u8, path_buf, search_path);
689 path_buf[search_path.len] = '/';
690 mem.copy(u8, path_buf[search_path.len + 1 ..], exe_path);
691 path_buf[search_path.len + exe_path.len + 1] = 0;
692 err = errno(system.execve(path_buf.ptr, argv_buf.ptr, envp_buf.ptr));
693 assert(err > 0);
694 if (err == EACCES) {
695 seen_eacces = true;
696 } else if (err != ENOENT) {
697 return execveErrnoToErr(err);
698 }
699 }
700 if (seen_eacces) {
701 err = EACCES;
702 }
703 return execveErrnoToErr(err);
746 return execvpeC(argv_buf.ptr[0].?, argv_buf.ptr, envp_buf.ptr);
704747}
705748
706749pub fn createNullDelimitedEnvMap(allocator: *mem.Allocator, env_map: *const std.BufMap) ![]?[*]u8 {
......@@ -734,43 +777,6 @@ pub fn freeNullDelimitedEnvMap(allocator: *mem.Allocator, envp_buf: []?[*]u8) vo
734777 allocator.free(envp_buf);
735778}
736779
737pub const ExecveError = error{
738 SystemResources,
739 AccessDenied,
740 InvalidExe,
741 FileSystem,
742 IsDir,
743 FileNotFound,
744 NotDir,
745 FileBusy,
746 ProcessFdQuotaExceeded,
747 SystemFdQuotaExceeded,
748 NameTooLong,
749} || UnexpectedError;
750
751fn execveErrnoToErr(err: usize) ExecveError {
752 assert(err > 0);
753 switch (err) {
754 EFAULT => unreachable,
755 E2BIG => return error.SystemResources,
756 EMFILE => return error.ProcessFdQuotaExceeded,
757 ENAMETOOLONG => return error.NameTooLong,
758 ENFILE => return error.SystemFdQuotaExceeded,
759 ENOMEM => return error.SystemResources,
760 EACCES => return error.AccessDenied,
761 EPERM => return error.AccessDenied,
762 EINVAL => return error.InvalidExe,
763 ENOEXEC => return error.InvalidExe,
764 EIO => return error.FileSystem,
765 ELOOP => return error.FileSystem,
766 EISDIR => return error.IsDir,
767 ENOENT => return error.FileNotFound,
768 ENOTDIR => return error.NotDir,
769 ETXTBSY => return error.FileBusy,
770 else => return unexpectedErrno(err),
771 }
772}
773
774780/// Get an environment variable.
775781/// See also `getenvC`.
776782/// TODO make this go through libc when we have it
lib/std/os/bits/linux.zig+91
......@@ -1293,3 +1293,94 @@ pub const utsname = extern struct {
12931293 domainname: [65]u8,
12941294};
12951295pub const HOST_NAME_MAX = 64;
1296
1297pub const STATX_TYPE = 0x0001;
1298pub const STATX_MODE = 0x0002;
1299pub const STATX_NLINK = 0x0004;
1300pub const STATX_UID = 0x0008;
1301pub const STATX_GID = 0x0010;
1302pub const STATX_ATIME = 0x0020;
1303pub const STATX_MTIME = 0x0040;
1304pub const STATX_CTIME = 0x0080;
1305pub const STATX_INO = 0x0100;
1306pub const STATX_SIZE = 0x0200;
1307pub const STATX_BLOCKS = 0x0400;
1308pub const STATX_BASIC_STATS = 0x07ff;
1309
1310pub const STATX_BTIME = 0x0800;
1311
1312pub const STATX_ATTR_COMPRESSED = 0x0004;
1313pub const STATX_ATTR_IMMUTABLE = 0x0010;
1314pub const STATX_ATTR_APPEND = 0x0020;
1315pub const STATX_ATTR_NODUMP = 0x0040;
1316pub const STATX_ATTR_ENCRYPTED = 0x0800;
1317pub const STATX_ATTR_AUTOMOUNT = 0x1000;
1318
1319pub const statx_timestamp = extern struct {
1320 tv_sec: i64,
1321 tv_nsec: u32,
1322 __pad1: u32,
1323};
1324
1325/// Renamed to `Statx` to not conflict with the `statx` function.
1326pub const Statx = extern struct {
1327 /// Mask of bits indicating filled fields
1328 mask: u32,
1329
1330 /// Block size for filesystem I/O
1331 blksize: u32,
1332
1333 /// Extra file attribute indicators
1334 attributes: u64,
1335
1336 /// Number of hard links
1337 nlink: u32,
1338
1339 /// User ID of owner
1340 uid: u32,
1341
1342 /// Group ID of owner
1343 gid: u32,
1344
1345 /// File type and mode
1346 mode: u16,
1347 __pad1: u16,
1348
1349 /// Inode number
1350 ino: u64,
1351
1352 /// Total size in bytes
1353 size: u64,
1354
1355 /// Number of 512B blocks allocated
1356 blocks: u64,
1357
1358 /// Mask to show what's supported in `attributes`.
1359 attributes_mask: u64,
1360
1361 /// Last access file timestamp
1362 atime: statx_timestamp,
1363
1364 /// Creation file timestamp
1365 btime: statx_timestamp,
1366
1367 /// Last status change file timestamp
1368 ctime: statx_timestamp,
1369
1370 /// Last modification file timestamp
1371 mtime: statx_timestamp,
1372
1373 /// Major ID, if this file represents a device.
1374 rdev_major: u32,
1375
1376 /// Minor ID, if this file represents a device.
1377 rdev_minor: u32,
1378
1379 /// Major ID of the device containing the filesystem where this file resides.
1380 dev_major: u32,
1381
1382 /// Minor ID of the device containing the filesystem where this file resides.
1383 dev_minor: u32,
1384
1385 __pad2: [14]u64,
1386};
lib/std/os/bits/linux/arm-eabi.zig+18-9
......@@ -6,6 +6,8 @@ const iovec = linux.iovec;
66const iovec_const = linux.iovec_const;
77const stack_t = linux.stack_t;
88const sigset_t = linux.sigset_t;
9const uid_t = linux.uid_t;
10const gid_t = linux.gid_t;
911
1012pub const SYS_restart_syscall = 0;
1113pub const SYS_exit = 1;
......@@ -512,7 +514,14 @@ pub const msghdr_const = extern struct {
512514 msg_flags: i32,
513515};
514516
517pub const blksize_t = i32;
518pub const nlink_t = u32;
519pub const time_t = isize;
520pub const mode_t = u32;
515521pub const off_t = i64;
522pub const ino_t = u64;
523pub const dev_t = u64;
524pub const blkcnt_t = i64;
516525
517526/// Renamed to Stat to not conflict with the stat function.
518527/// atime, mtime, and ctime have functions to return `timespec`,
......@@ -521,22 +530,22 @@ pub const off_t = i64;
521530/// in C, macros are used to hide the differences. Here we use
522531/// methods to accomplish this.
523532pub const Stat = extern struct {
524 dev: u64,
533 dev: dev_t,
525534 __dev_padding: u32,
526535 __ino_truncated: u32,
527 mode: u32,
528 nlink: u32,
529 uid: u32,
530 gid: u32,
531 rdev: u64,
536 mode: mode_t,
537 nlink: nlink_t,
538 uid: uid_t,
539 gid: gid_t,
540 rdev: dev_t,
532541 __rdev_padding: u32,
533542 size: off_t,
534 blksize: i32,
535 blocks: u64,
543 blksize: blksize_t,
544 blocks: blkcnt_t,
536545 atim: timespec,
537546 mtim: timespec,
538547 ctim: timespec,
539 ino: u64,
548 ino: ino_t,
540549
541550 pub fn atime(self: Stat) timespec {
542551 return self.atim;
lib/std/os/linux.zig+14
......@@ -860,6 +860,20 @@ pub fn fstatat(dirfd: i32, path: [*]const u8, stat_buf: *Stat, flags: u32) usize
860860 }
861861}
862862
863pub fn statx(dirfd: i32, path: [*]const u8, flags: u32, mask: u32, statx_buf: *Statx) usize {
864 if (@hasDecl(@This(), "SYS_statx")) {
865 return syscall5(
866 SYS_statx,
867 @bitCast(usize, isize(dirfd)),
868 @ptrToInt(path),
869 flags,
870 mask,
871 @ptrToInt(statx_buf),
872 );
873 }
874 return @bitCast(usize, isize(-ENOSYS));
875}
876
863877// TODO https://github.com/ziglang/zig/issues/265
864878pub fn listxattr(path: [*]const u8, list: [*]u8, size: usize) usize {
865879 return syscall3(SYS_listxattr, @ptrToInt(path), @ptrToInt(list), size);
lib/std/os/linux/test.zig+32
......@@ -44,3 +44,35 @@ test "timer" {
4444 // TODO implicit cast from *[N]T to [*]T
4545 err = linux.epoll_wait(@intCast(i32, epoll_fd), @ptrCast([*]linux.epoll_event, &events), 8, -1);
4646}
47
48const File = std.fs.File;
49
50test "statx" {
51 const tmp_file_name = "just_a_temporary_file.txt";
52 var file = try File.openWrite(tmp_file_name);
53 defer {
54 file.close();
55 std.fs.deleteFile(tmp_file_name) catch {};
56 }
57
58 var statx_buf: linux.Statx = undefined;
59 switch (linux.getErrno(linux.statx(file.handle, c"", linux.AT_EMPTY_PATH, linux.STATX_BASIC_STATS, &statx_buf))) {
60 0 => {},
61 // The statx syscall was only introduced in linux 4.11
62 linux.ENOSYS => return error.SkipZigTest,
63 else => unreachable,
64 }
65
66 var stat_buf: linux.Stat = undefined;
67 switch (linux.getErrno(linux.fstatat(file.handle, c"", &stat_buf, linux.AT_EMPTY_PATH))) {
68 0 => {},
69 else => unreachable,
70 }
71
72 expect(stat_buf.mode == statx_buf.mode);
73 expect(@bitCast(u32, stat_buf.uid) == statx_buf.uid);
74 expect(@bitCast(u32, stat_buf.gid) == statx_buf.gid);
75 expect(@bitCast(u64, i64(stat_buf.size)) == statx_buf.size);
76 expect(@bitCast(u64, i64(stat_buf.blksize)) == statx_buf.blksize);
77 expect(@bitCast(u64, i64(stat_buf.blocks)) == statx_buf.blocks);
78}
lib/std/os/test.zig+5
......@@ -232,3 +232,8 @@ test "pipe" {
232232 os.close(fds[1]);
233233 os.close(fds[0]);
234234}
235
236test "argsAlloc" {
237 var args = try std.process.argsAlloc(std.heap.direct_allocator);
238 std.heap.direct_allocator.free(args);
239}
lib/std/os/uefi.zig+46-1
......@@ -1,15 +1,23 @@
1/// A protocol is an interface identified by a GUID.
12pub const protocols = @import("uefi/protocols.zig");
3/// Status codes returned by EFI interfaces
24pub const status = @import("uefi/status.zig");
35pub const tables = @import("uefi/tables.zig");
46
7const fmt = @import("std").fmt;
8
59const builtin = @import("builtin");
610pub const is_the_target = builtin.os == .uefi;
711
12/// The EFI image's handle that is passed to its entry point.
813pub var handle: Handle = undefined;
14/// A pointer to the EFI System Table that is passed to the EFI image's entry point.
915pub var system_table: *tables.SystemTable = undefined;
1016
17/// A handle to an event structure.
1118pub const Event = *@OpaqueType();
12// GUIDs must be align(8)
19
20/// GUIDs must be align(8)
1321pub const Guid = extern struct {
1422 time_low: u32,
1523 time_mid: u16,
......@@ -17,29 +25,66 @@ pub const Guid = extern struct {
1725 clock_seq_high_and_reserved: u8,
1826 clock_seq_low: u8,
1927 node: [6]u8,
28
29 /// Format GUID into hexadecimal lowercase xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx format
30 pub fn format(
31 self: @This(),
32 comptime f: []const u8,
33 options: fmt.FormatOptions,
34 context: var,
35 comptime Errors: type,
36 output: fn (@typeOf(context), []const u8) Errors!void,
37 ) Errors!void {
38 if (f.len == 0) {
39 return fmt.format(context, Errors, output, "{x:0>8}-{x:0>4}-{x:0>4}-{x:0>2}{x:0>2}-{x:0>12}", self.time_low, self.time_mid, self.time_high_and_version, self.clock_seq_high_and_reserved, self.clock_seq_low, self.node);
40 } else {
41 @compileError("Unknown format character: '" ++ f ++ "'");
42 }
43 }
2044};
45
46/// An EFI Handle represents a collection of related interfaces.
2147pub const Handle = *@OpaqueType();
48
49/// This structure represents time information.
2250pub const Time = extern struct {
51 /// 1900 - 9999
2352 year: u16,
53 /// 1 - 12
2454 month: u8,
55 /// 1 - 31
2556 day: u8,
57 /// 0 - 23
2658 hour: u8,
59 /// 0 - 59
2760 minute: u8,
61 /// 0 - 59
2862 second: u8,
2963 _pad1: u8,
64 /// 0 - 999999999
3065 nanosecond: u32,
66 /// The time's offset in minutes from UTC.
67 /// Allowed values are -1440 to 1440 or unspecified_timezone
3168 timezone: i16,
3269 daylight: packed struct {
3370 _pad1: u6,
71 /// If true, the time has been adjusted for daylight savings time.
3472 in_daylight: bool,
73 /// If true, the time is affected by daylight savings time.
3574 adjust_daylight: bool,
3675 },
3776 _pad2: u8,
3877
78 /// Time is to be interpreted as local time
3979 pub const unspecified_timezone: i16 = 0x7ff;
4080};
81
82/// Capabilities of the clock device
4183pub const TimeCapabilities = extern struct {
84 /// Resolution in Hz
4285 resolution: u32,
86 /// Accuracy in an error rate of 1e-6 parts per million.
4387 accuracy: u32,
88 /// If true, a time set operation clears the device's time below the resolution level.
4489 sets_to_zero: bool,
4590};
lib/std/os/uefi/protocols/absolute_pointer_protocol.zig+7-5
......@@ -2,17 +2,19 @@ const uefi = @import("std").os.uefi;
22const Event = uefi.Event;
33const Guid = uefi.Guid;
44
5/// UEFI Specification, Version 2.8, 12.7
5/// Protocol for touchscreens
66pub const AbsolutePointerProtocol = extern struct {
77 _reset: extern fn (*const AbsolutePointerProtocol, bool) usize,
88 _get_state: extern fn (*const AbsolutePointerProtocol, *AbsolutePointerState) usize,
99 wait_for_input: Event,
1010 mode: *AbsolutePointerMode,
1111
12 /// Resets the pointer device hardware.
1213 pub fn reset(self: *const AbsolutePointerProtocol, verify: bool) usize {
1314 return self._reset(self, verify);
1415 }
1516
17 /// Retrieves the current state of a pointer device.
1618 pub fn getState(self: *const AbsolutePointerProtocol, state: *AbsolutePointerState) usize {
1719 return self._get_state(self, state);
1820 }
......@@ -42,12 +44,12 @@ pub const AbsolutePointerMode = extern struct {
4244};
4345
4446pub const AbsolutePointerState = extern struct {
45 current_x: u64 = undefined,
46 current_y: u64 = undefined,
47 current_z: u64 = undefined,
47 current_x: u64,
48 current_y: u64,
49 current_z: u64,
4850 active_buttons: packed struct {
4951 touch_active: bool,
5052 alt_active: bool,
5153 _pad1: u30,
52 } = undefined,
54 },
5355};
lib/std/os/uefi/protocols/edid_active_protocol.zig+1-1
......@@ -1,7 +1,7 @@
11const uefi = @import("std").os.uefi;
22const Guid = uefi.Guid;
33
4/// UEFI Specification, Version 2.8, 12.9
4/// EDID information for an active video output device
55pub const EdidActiveProtocol = extern struct {
66 size_of_edid: u32,
77 edid: ?[*]u8,
lib/std/os/uefi/protocols/edid_discovered_protocol.zig+1-1
......@@ -1,7 +1,7 @@
11const uefi = @import("std").os.uefi;
22const Guid = uefi.Guid;
33
4/// UEFI Specification, Version 2.8, 12.9
4/// EDID information for a video output device
55pub const EdidDiscoveredProtocol = extern struct {
66 size_of_edid: u32,
77 edid: ?[*]u8,
lib/std/os/uefi/protocols/edid_override_protocol.zig+2-1
......@@ -2,10 +2,11 @@ const uefi = @import("std").os.uefi;
22const Guid = uefi.Guid;
33const Handle = uefi.Handle;
44
5/// UEFI Specification, Version 2.8, 12.9
5/// Override EDID information
66pub const EdidOverrideProtocol = extern struct {
77 _get_edid: extern fn (*const EdidOverrideProtocol, Handle, *u32, *usize, *?[*]u8) usize,
88
9 /// Returns policy information and potentially a replacement EDID for the specified video output device.
910 /// attributes must be align(4)
1011 pub fn getEdid(self: *const EdidOverrideProtocol, handle: Handle, attributes: *EdidOverrideProtocolAttributes, edid_size: *usize, edid: *?[*]u8) usize {
1112 return self._get_edid(self, handle, attributes, edid_size, edid);
lib/std/os/uefi/protocols/graphics_output_protocol.zig+4-1
......@@ -1,21 +1,24 @@
11const uefi = @import("std").os.uefi;
22const Guid = uefi.Guid;
33
4/// UEFI Specification, Version 2.8, 12.9
4/// Graphics output
55pub const GraphicsOutputProtocol = extern struct {
66 _query_mode: extern fn (*const GraphicsOutputProtocol, u32, *usize, **GraphicsOutputModeInformation) usize,
77 _set_mode: extern fn (*const GraphicsOutputProtocol, u32) usize,
88 _blt: extern fn (*const GraphicsOutputProtocol, ?[*]GraphicsOutputBltPixel, GraphicsOutputBltOperation, usize, usize, usize, usize, usize, usize, usize) usize,
99 mode: *GraphicsOutputProtocolMode,
1010
11 /// Returns information for an available graphics mode that the graphics device and the set of active video output devices supports.
1112 pub fn queryMode(self: *const GraphicsOutputProtocol, mode: u32, size_of_info: *usize, info: **GraphicsOutputModeInformation) usize {
1213 return self._query_mode(self, mode, size_of_info, info);
1314 }
1415
16 /// Set the video device into the specified mode and clears the visible portions of the output display to black.
1517 pub fn setMode(self: *const GraphicsOutputProtocol, mode: u32) usize {
1618 return self._set_mode(self, mode);
1719 }
1820
21 /// Blt a rectangle of pixels on the graphics screen. Blt stands for BLock Transfer.
1922 pub fn blt(self: *const GraphicsOutputProtocol, blt_buffer: ?[*]GraphicsOutputBltPixel, blt_operation: GraphicsOutputBltOperation, source_x: usize, source_y: usize, destination_x: usize, destination_y: usize, width: usize, height: usize, delta: usize) usize {
2023 return self._blt(self, blt_buffer, blt_operation, source_x, source_y, destination_x, destination_y, width, height, delta);
2124 }
lib/std/os/uefi/protocols/hii.zig+3
......@@ -3,6 +3,7 @@ const Guid = uefi.Guid;
33
44pub const HIIHandle = *@OpaqueType();
55
6/// The header found at the start of each package.
67pub const HIIPackageHeader = packed struct {
78 length: u24,
89 type: u8,
......@@ -22,8 +23,10 @@ pub const HIIPackageHeader = packed struct {
2223 pub const type_system_end: u8 = 0xff;
2324};
2425
26/// The header found at the start of each package list.
2527pub const HIIPackageList = extern struct {
2628 package_list_guid: Guid,
29 /// The size of the package list (in bytes), including the header.
2730 package_list_length: u32,
2831
2932 // TODO implement iterator
lib/std/os/uefi/protocols/hii_database_protocol.zig+5
......@@ -2,6 +2,7 @@ const uefi = @import("std").os.uefi;
22const Guid = uefi.Guid;
33const hii = uefi.protocols.hii;
44
5/// Database manager for HII-related data structures.
56pub const HIIDatabaseProtocol = extern struct {
67 _new_package_list: usize, // TODO
78 _remove_package_list: extern fn (*const HIIDatabaseProtocol, hii.HIIHandle) usize,
......@@ -15,18 +16,22 @@ pub const HIIDatabaseProtocol = extern struct {
1516 _set_keyboard_layout: usize, // TODO
1617 _get_package_list_handle: usize, // TODO
1718
19 /// Removes a package list from the HII database.
1820 pub fn removePackageList(self: *const HIIDatabaseProtocol, handle: hii.HIIHandle) usize {
1921 return self._remove_package_list(self, handle);
2022 }
2123
24 /// Update a package list in the HII database.
2225 pub fn updatePackageList(self: *const HIIDatabaseProtocol, handle: hii.HIIHandle, buffer: *const hii.HIIPackageList) usize {
2326 return self._update_package_list(self, handle, buffer);
2427 }
2528
29 /// Determines the handles that are currently active in the database.
2630 pub fn listPackageLists(self: *const HIIDatabaseProtocol, package_type: u8, package_guid: ?*const Guid, buffer_length: *usize, handles: [*]hii.HIIHandle) usize {
2731 return self._list_package_lists(self, package_type, package_guid, buffer_length, handles);
2832 }
2933
34 /// Exports the contents of one or all package lists in the HII database into a buffer.
3035 pub fn exportPackageLists(self: *const HIIDatabaseProtocol, handle: ?hii.HIIHandle, buffer_size: *usize, buffer: *hii.HIIPackageList) usize {
3136 return self._export_package_lists(self, handle, buffer_size, buffer);
3237 }
lib/std/os/uefi/protocols/hii_popup_protocol.zig+2
......@@ -2,10 +2,12 @@ const uefi = @import("std").os.uefi;
22const Guid = uefi.Guid;
33const hii = uefi.protocols.hii;
44
5/// Display a popup window
56pub const HIIPopupProtocol = extern struct {
67 revision: u64,
78 _create_popup: extern fn (*const HIIPopupProtocol, HIIPopupStyle, HIIPopupType, hii.HIIHandle, u16, ?*HIIPopupSelection) usize,
89
10 /// Displays a popup window.
911 pub fn createPopup(self: *const HIIPopupProtocol, style: HIIPopupStyle, popup_type: HIIPopupType, handle: hii.HIIHandle, msg: u16, user_selection: ?*HIIPopupSelection) usize {
1012 return self._create_popup(self, style, popup_type, handle, msg, user_selection);
1113 }
lib/std/os/uefi/protocols/rng_protocol.zig+3-1
......@@ -1,15 +1,17 @@
11const uefi = @import("std").os.uefi;
22const Guid = uefi.Guid;
33
4/// UEFI Specification, Version 2.8, 37.5
4/// Random Number Generator protocol
55pub const RNGProtocol = extern struct {
66 _get_info: extern fn (*const RNGProtocol, *usize, [*]align(8) Guid) usize,
77 _get_rng: extern fn (*const RNGProtocol, ?*align(8) const Guid, usize, [*]u8) usize,
88
9 /// Returns information about the random number generation implementation.
910 pub fn getInfo(self: *const RNGProtocol, list_size: *usize, list: [*]align(8) Guid) usize {
1011 return self._get_info(self, list_size, list);
1112 }
1213
14 /// Produces and returns an RNG value using either the default or specified RNG algorithm.
1315 pub fn getRNG(self: *const RNGProtocol, algo: ?*align(8) const Guid, value_length: usize, value: [*]u8) usize {
1416 return self._get_rng(self, algo, value_length, value);
1517 }
lib/std/os/uefi/protocols/simple_pointer_protocol.zig+3-1
......@@ -2,17 +2,19 @@ const uefi = @import("std").os.uefi;
22const Event = uefi.Event;
33const Guid = uefi.Guid;
44
5/// UEFI Specification, Version 2.8, 12.5
5/// Protocol for mice
66pub const SimplePointerProtocol = struct {
77 _reset: extern fn (*const SimplePointerProtocol, bool) usize,
88 _get_state: extern fn (*const SimplePointerProtocol, *SimplePointerState) usize,
99 wait_for_input: Event,
1010 mode: *SimplePointerMode,
1111
12 /// Resets the pointer device hardware.
1213 pub fn reset(self: *const SimplePointerProtocol, verify: bool) usize {
1314 return self._reset(self, verify);
1415 }
1516
17 /// Retrieves the current state of a pointer device.
1618 pub fn getState(self: *const SimplePointerProtocol, state: *SimplePointerState) usize {
1719 return self._get_state(self, state);
1820 }
lib/std/os/uefi/protocols/simple_text_input_ex_protocol.zig+6-1
......@@ -2,7 +2,7 @@ const uefi = @import("std").os.uefi;
22const Event = uefi.Event;
33const Guid = uefi.Guid;
44
5/// UEFI Specification, Version 2.8, 12.3
5/// Character input devices, e.g. Keyboard
66pub const SimpleTextInputExProtocol = extern struct {
77 _reset: extern fn (*const SimpleTextInputExProtocol, bool) usize,
88 _read_key_stroke_ex: extern fn (*const SimpleTextInputExProtocol, *KeyData) usize,
......@@ -11,22 +11,27 @@ pub const SimpleTextInputExProtocol = extern struct {
1111 _register_key_notify: extern fn (*const SimpleTextInputExProtocol, *const KeyData, extern fn (*const KeyData) usize, **c_void) usize,
1212 _unregister_key_notify: extern fn (*const SimpleTextInputExProtocol, *const c_void) usize,
1313
14 /// Resets the input device hardware.
1415 pub fn reset(self: *const SimpleTextInputExProtocol, verify: bool) usize {
1516 return self._reset(self, verify);
1617 }
1718
19 /// Reads the next keystroke from the input device.
1820 pub fn readKeyStrokeEx(self: *const SimpleTextInputExProtocol, key_data: *KeyData) usize {
1921 return self._read_key_stroke_ex(self, key_data);
2022 }
2123
24 /// Set certain state for the input device.
2225 pub fn setState(self: *const SimpleTextInputExProtocol, state: *const u8) usize {
2326 return self._set_state(self, state);
2427 }
2528
29 /// Register a notification function for a particular keystroke for the input device.
2630 pub fn registerKeyNotify(self: *const SimpleTextInputExProtocol, key_data: *const KeyData, notify: extern fn (*const KeyData) usize, handle: **c_void) usize {
2731 return self._register_key_notify(self, key_data, notify, handle);
2832 }
2933
34 /// Remove the notification that was previously registered.
3035 pub fn unregisterKeyNotify(self: *const SimpleTextInputExProtocol, handle: *const c_void) usize {
3136 return self._unregister_key_notify(self, handle);
3237 }
lib/std/os/uefi/protocols/simple_text_output_protocol.zig+10-1
......@@ -1,7 +1,7 @@
11const uefi = @import("std").os.uefi;
22const Guid = uefi.Guid;
33
4/// UEFI Specification, Version 2.8, 12.4
4/// Character output devices
55pub const SimpleTextOutputProtocol = extern struct {
66 _reset: extern fn (*const SimpleTextOutputProtocol, bool) usize,
77 _output_string: extern fn (*const SimpleTextOutputProtocol, [*]const u16) usize,
......@@ -14,38 +14,47 @@ pub const SimpleTextOutputProtocol = extern struct {
1414 _enable_cursor: extern fn (*const SimpleTextOutputProtocol, bool) usize,
1515 mode: *SimpleTextOutputMode,
1616
17 /// Resets the text output device hardware.
1718 pub fn reset(self: *const SimpleTextOutputProtocol, verify: bool) usize {
1819 return self._reset(self, verify);
1920 }
2021
22 /// Writes a string to the output device.
2123 pub fn outputString(self: *const SimpleTextOutputProtocol, msg: [*]const u16) usize {
2224 return self._output_string(self, msg);
2325 }
2426
27 /// Verifies that all characters in a string can be output to the target device.
2528 pub fn testString(self: *const SimpleTextOutputProtocol, msg: [*]const u16) usize {
2629 return self._test_string(self, msg);
2730 }
2831
32 /// Returns information for an available text mode that the output device(s) supports.
2933 pub fn queryMode(self: *const SimpleTextOutputProtocol, mode_number: usize, columns: *usize, rows: *usize) usize {
3034 return self._query_mode(self, mode_number, columns, rows);
3135 }
3236
37 /// Sets the output device(s) to a specified mode.
3338 pub fn setMode(self: *const SimpleTextOutputProtocol, mode_number: usize) usize {
3439 return self._set_mode(self, mode_number);
3540 }
3641
42 /// Sets the background and foreground colors for the outputString() and clearScreen() functions.
3743 pub fn setAttribute(self: *const SimpleTextOutputProtocol, attribute: usize) usize {
3844 return self._set_attribute(self, attribute);
3945 }
4046
47 /// Clears the output device(s) display to the currently selected background color.
4148 pub fn clearScreen(self: *const SimpleTextOutputProtocol) usize {
4249 return self._clear_screen(self);
4350 }
4451
52 /// Sets the current coordinates of the cursor position.
4553 pub fn setCursorPosition(self: *const SimpleTextOutputProtocol, column: usize, row: usize) usize {
4654 return self._set_cursor_position(self, column, row);
4755 }
4856
57 /// Makes the cursor visible or invisible.
4958 pub fn enableCursor(self: *const SimpleTextOutputProtocol, visible: bool) usize {
5059 return self._enable_cursor(self, visible);
5160 }
lib/std/os/uefi/status.zig+41-1
......@@ -1,46 +1,86 @@
11const high_bit = 1 << @typeInfo(usize).Int.bits - 1;
22
3/// UEFI Specification, Version 2.8, Appendix D
3/// The operation completed successfully.
44pub const success: usize = 0;
55
6/// The image failed to load.
67pub const load_error: usize = high_bit | 1;
8/// A parameter was incorrect.
79pub const invalid_parameter: usize = high_bit | 2;
10/// The operation is not supported.
811pub const unsupported: usize = high_bit | 3;
12/// The buffer was not the proper size for the request.
913pub const bad_buffer_size: usize = high_bit | 4;
14/// The buffer is not large enough to hold the requested data. The required buffer size is returned in the appropriate parameter when this error occurs.
1015pub const buffer_too_small: usize = high_bit | 5;
16/// There is no data pending upon return.
1117pub const not_ready: usize = high_bit | 6;
18/// The physical device reported an error while attempting the operation.
1219pub const device_error: usize = high_bit | 7;
20/// The device cannot be written to.
1321pub const write_protected: usize = high_bit | 8;
22/// A resource has run out.
1423pub const out_of_resources: usize = high_bit | 9;
24/// An inconstancy was detected on the file system causing the operating to fail.
1525pub const volume_corrupted: usize = high_bit | 10;
26/// There is no more space on the file system.
1627pub const volume_full: usize = high_bit | 11;
28/// The device does not contain any medium to perform the operation.
1729pub const no_media: usize = high_bit | 12;
30/// The medium in the device has changed since the last access.
1831pub const media_changed: usize = high_bit | 13;
32/// The item was not found.
1933pub const not_found: usize = high_bit | 14;
34/// Access was denied.
2035pub const access_denied: usize = high_bit | 15;
36/// The server was not found or did not respond to the request.
2137pub const no_response: usize = high_bit | 16;
38/// A mapping to a device does not exist.
2239pub const no_mapping: usize = high_bit | 17;
40/// The timeout time expired.
2341pub const timeout: usize = high_bit | 18;
42/// The protocol has not been started.
2443pub const not_started: usize = high_bit | 19;
44/// The protocol has already been started.
2545pub const already_started: usize = high_bit | 20;
46/// The operation was aborted.
2647pub const aborted: usize = high_bit | 21;
48/// An ICMP error occurred during the network operation.
2749pub const icmp_error: usize = high_bit | 22;
50/// A TFTP error occurred during the network operation.
2851pub const tftp_error: usize = high_bit | 23;
52/// A protocol error occurred during the network operation.
2953pub const protocol_error: usize = high_bit | 24;
54/// The function encountered an internal version that was incompatible with a version requested by the caller.
3055pub const incompatible_version: usize = high_bit | 25;
56/// The function was not performed due to a security violation.
3157pub const security_violation: usize = high_bit | 26;
58/// A CRC error was detected.
3259pub const crc_error: usize = high_bit | 27;
60/// Beginning or end of media was reached
3361pub const end_of_media: usize = high_bit | 28;
62/// The end of the file was reached.
3463pub const end_of_file: usize = high_bit | 31;
64/// The language specified was invalid.
3565pub const invalid_language: usize = high_bit | 32;
66/// The security status of the data is unknown or compromised and the data must be updated or replaced to restore a valid security status.
3667pub const compromised_data: usize = high_bit | 33;
68/// There is an address conflict address allocation
3769pub const ip_address_conflict: usize = high_bit | 34;
70/// A HTTP error occurred during the network operation.
3871pub const http_error: usize = high_bit | 35;
3972
73/// The string contained one or more characters that the device could not render and were skipped.
4074pub const warn_unknown_glyph: usize = 1;
75/// The handle was closed, but the file was not deleted.
4176pub const warn_delete_failure: usize = 2;
77/// The handle was closed, but the data to the file was not flushed properly.
4278pub const warn_write_failure: usize = 3;
79/// The resulting buffer was too small, and the data was truncated to the buffer size.
4380pub const warn_buffer_too_small: usize = 4;
81/// The data has not been updated within the timeframe set by localpolicy for this type of data.
4482pub const warn_stale_data: usize = 5;
83/// The resulting buffer contains UEFI-compliant file system.
4584pub const warn_file_system: usize = 6;
85/// The operation will be processed across a system reset.
4686pub const warn_reset_required: usize = 7;
lib/std/os/uefi/tables/boot_services.zig+17-4
......@@ -4,29 +4,37 @@ const Guid = uefi.Guid;
44const Handle = uefi.Handle;
55const TableHeader = uefi.tables.TableHeader;
66
7/// UEFI Specification, Version 2.8, 4.4
8///
9/// As the boot_services table may grow with new UEFI versions, it is important to check hdr.header_size.
7/// Boot services are services provided by the system's firmware until the operating system takes
8/// over control over the hardware by calling exitBootServices.
109///
1110/// Boot Services must not be used after exitBootServices has been called. The only exception is
1211/// getMemoryMap, which may be used after the first unsuccessful call to exitBootServices.
1312/// After successfully calling exitBootServices, system_table.console_in_handle, system_table.con_in,
1413/// system_table.console_out_handle, system_table.con_out, system_table.standard_error_handle,
1514/// system_table.std_err, and system_table.boot_services should be set to null. After setting these
16/// attributes to null, system_table.hdr.crc32 must be recomputed. See UEFI Specification, Version 2.8, 7.4.
15/// attributes to null, system_table.hdr.crc32 must be recomputed.
16///
17/// As the boot_services table may grow with new UEFI versions, it is important to check hdr.header_size.
1718pub const BootServices = extern struct {
1819 hdr: TableHeader,
1920 raiseTpl: usize, // TODO
2021 restoreTpl: usize, // TODO
2122 allocatePages: usize, // TODO
2223 freePages: usize, // TODO
24 /// Returns the current memory map.
2325 getMemoryMap: extern fn (*usize, [*]MemoryDescriptor, *usize, *usize, *u32) usize,
26 /// Allocates pool memory.
2427 allocatePool: extern fn (MemoryType, usize, *align(8) [*]u8) usize,
2528 freePool: usize, // TODO
29 /// Creates an event.
2630 createEvent: extern fn (u32, usize, ?extern fn (Event, ?*const c_void) void, ?*const c_void, *Event) usize,
31 /// Sets the type of timer and the trigger time for a timer event.
2732 setTimer: extern fn (Event, TimerDelay, u64) usize,
33 /// Stops execution until an event is signaled.
2834 waitForEvent: extern fn (usize, [*]const Event, *usize) usize,
35 /// Signals an event.
2936 signalEvent: extern fn (Event) usize,
37 /// Closes an event.
3038 closeEvent: extern fn (Event) usize,
3139 checkEvent: usize, // TODO
3240 installProtocolInterface: usize, // TODO
......@@ -40,11 +48,15 @@ pub const BootServices = extern struct {
4048 installConfigurationTable: usize, // TODO
4149 imageLoad: usize, // TODO
4250 imageStart: usize, // TODO
51 /// Terminates a loaded EFI image and returns control to boot services.
4352 exit: extern fn (Handle, usize, usize, ?*const c_void) usize,
4453 imageUnload: usize, // TODO
54 /// Terminates all boot services.
4555 exitBootServices: extern fn (Handle, usize) usize,
4656 getNextMonotonicCount: usize, // TODO
57 /// Induces a fine-grained stall.
4758 stall: extern fn (usize) usize,
59 /// Sets the system's watchdog timer.
4860 setWatchdogTimer: extern fn (usize, u64, usize, ?[*]const u16) usize,
4961 connectController: usize, // TODO
5062 disconnectController: usize, // TODO
......@@ -53,6 +65,7 @@ pub const BootServices = extern struct {
5365 openProtocolInformation: usize, // TODO
5466 protocolsPerHandle: usize, // TODO
5567 locateHandleBuffer: usize, // TODO
68 /// Returns the first protocol instance that matches the given protocol.
5669 locateProtocol: extern fn (*align(8) const Guid, ?*const c_void, *?*c_void) usize,
5770 installMultipleProtocolInterfaces: usize, // TODO
5871 uninstallMultipleProtocolInterfaces: usize, // TODO
lib/std/os/uefi/tables/configuration_table.zig-2
......@@ -1,8 +1,6 @@
11const uefi = @import("std").os.uefi;
22const Guid = uefi.Guid;
33
4/// UEFI Specification, Version 2.8, 4.6
5/// Because GUIDs must be align(8), structs of this type also must be align(8)
64pub const ConfigurationTable = extern struct {
75 vendor_guid: Guid,
86 vendor_table: *c_void,
lib/std/os/uefi/tables/runtime_services.zig+8-5
......@@ -4,26 +4,31 @@ const TableHeader = uefi.tables.TableHeader;
44const Time = uefi.Time;
55const TimeCapabilities = uefi.TimeCapabilities;
66
7/// UEFI Specification, Version 2.8, 4.5
7/// Runtime services are provided by the firmware before and after exitBootServices has been called.
88///
99/// As the runtime_services table may grow with new UEFI versions, it is important to check hdr.header_size.
1010///
1111/// Some functions may not be supported. Check the RuntimeServicesSupported variable using getVariable.
12/// getVariable is one of the functions that may not be supported. See UEFI Specification, Version 2.8, 8.1.
12/// getVariable is one of the functions that may not be supported.
1313///
14/// Some functions may not be called while other functions are running. See UEFI Specification, Version 2.8, 8.1.
14/// Some functions may not be called while other functions are running.
1515pub const RuntimeServices = extern struct {
1616 hdr: TableHeader,
17 /// Returns the current time and date information, and the time-keeping capabilities of the hardware platform.
1718 getTime: extern fn (*uefi.Time, ?*TimeCapabilities) usize,
1819 setTime: usize, // TODO
1920 getWakeupTime: usize, // TODO
2021 setWakeupTime: usize, // TODO
2122 setVirtualAddressMap: usize, // TODO
2223 convertPointer: usize, // TODO
24 /// Returns the value of a variable.
2325 getVariable: extern fn ([*]const u16, *align(8) const Guid, ?*u32, *usize, ?*c_void) usize,
26 /// Enumerates the current variable names.
2427 getNextVariableName: extern fn (*usize, [*]u16, *align(8) Guid) usize,
28 /// Sets the value of a variable.
2529 setVariable: extern fn ([*]const u16, *align(8) const Guid, u32, usize, *c_void) usize,
2630 getNextHighMonotonicCount: usize, // TODO
31 /// Resets the entire platform.
2732 resetSystem: extern fn (ResetType, usize, usize, ?*const c_void) noreturn,
2833 updateCapsule: usize, // TODO
2934 queryCapsuleCapabilities: usize, // TODO
......@@ -32,7 +37,6 @@ pub const RuntimeServices = extern struct {
3237 pub const signature: u64 = 0x56524553544e5552;
3338};
3439
35/// UEFI Specification, Version 2.8, 8.5.1
3640pub const ResetType = extern enum(u32) {
3741 ResetCold,
3842 ResetWarm,
......@@ -40,7 +44,6 @@ pub const ResetType = extern enum(u32) {
4044 ResetPlatformSpecific,
4145};
4246
43/// UEFI Specification, Version 2.8, 3.3
4447pub const global_variable align(8) = Guid{
4548 .time_low = 0x8be4df61,
4649 .time_mid = 0x93ca,
lib/std/os/uefi/tables/system_table.zig+4-3
......@@ -7,17 +7,18 @@ const SimpleTextInputExProtocol = uefi.protocols.SimpleTextInputExProtocol;
77const SimpleTextOutputProtocol = uefi.protocols.SimpleTextOutputProtocol;
88const TableHeader = uefi.tables.TableHeader;
99
10/// UEFI Specification, Version 2.8, 4.3
10/// The EFI System Table contains pointers to the runtime and boot services tables.
1111///
1212/// As the system_table may grow with new UEFI versions, it is important to check hdr.header_size.
1313///
1414/// After successfully calling boot_services.exitBootServices, console_in_handle,
1515/// con_in, console_out_handle, con_out, standard_error_handle, std_err, and
1616/// boot_services should be set to null. After setting these attributes to null,
17/// hdr.crc32 must be recomputed. See UEFI Specification, Version 2.8, 7.4.
17/// hdr.crc32 must be recomputed.
1818pub const SystemTable = extern struct {
1919 hdr: TableHeader,
20 firmware_vendor: *u16,
20 /// A null-terminated string that identifies the vendor that produces the system firmware of the platform.
21 firmware_vendor: [*]u16,
2122 firmware_revision: u32,
2223 console_in_handle: ?Handle,
2324 con_in: ?*SimpleTextInputExProtocol,
lib/std/os/uefi/tables/table_header.zig+1-1
......@@ -1,7 +1,7 @@
1/// UEFI Specification, Version 2.8, 4.2
21pub const TableHeader = extern struct {
32 signature: u64,
43 revision: u32,
4 /// The size, in bytes, of the entire table including the TableHeader
55 header_size: u32,
66 crc32: u32,
77 reserved: u32,
lib/std/special/compiler_rt.zig+15-10
......@@ -234,24 +234,29 @@ comptime {
234234 @export("__aeabi_dcmpun", @import("compiler_rt/comparedf2.zig").__unorddf2, linkage);
235235 }
236236 if (builtin.os == .windows) {
237 if (!builtin.link_libc) {
237 // Default stack-probe functions emitted by LLVM
238 if (is_mingw) {
239 @export("_alloca", @import("compiler_rt/stack_probe.zig")._chkstk, strong_linkage);
240 @export("___chkstk_ms", @import("compiler_rt/stack_probe.zig").___chkstk_ms, strong_linkage);
241 } else if (!builtin.link_libc) {
242 // This symbols are otherwise exported by MSVCRT.lib
238243 @export("_chkstk", @import("compiler_rt/stack_probe.zig")._chkstk, strong_linkage);
239244 @export("__chkstk", @import("compiler_rt/stack_probe.zig").__chkstk, strong_linkage);
240 @export("___chkstk", @import("compiler_rt/stack_probe.zig").___chkstk, strong_linkage);
241 @export("__chkstk_ms", @import("compiler_rt/stack_probe.zig").__chkstk_ms, strong_linkage);
242 @export("___chkstk_ms", @import("compiler_rt/stack_probe.zig").___chkstk_ms, strong_linkage);
243 } else if (is_mingw) {
244 @export("___chkstk_ms", @import("compiler_rt/stack_probe.zig").___chkstk_ms, strong_linkage);
245 }
246
247 if (is_mingw) {
245248 @export("__stack_chk_fail", __stack_chk_fail, strong_linkage);
246249 @export("__stack_chk_guard", __stack_chk_guard, strong_linkage);
247250 }
248251
249252 switch (builtin.arch) {
250253 .i386 => {
251 @export("_alldiv", @import("compiler_rt/aulldiv.zig")._alldiv, strong_linkage);
252 @export("_aulldiv", @import("compiler_rt/aulldiv.zig")._aulldiv, strong_linkage);
253 @export("_allrem", @import("compiler_rt/aullrem.zig")._allrem, strong_linkage);
254 @export("_aullrem", @import("compiler_rt/aullrem.zig")._aullrem, strong_linkage);
254 // Don't let LLVM apply the stdcall name mangling on those MSVC
255 // builtin functions
256 @export("\x01__alldiv", @import("compiler_rt/aulldiv.zig")._alldiv, strong_linkage);
257 @export("\x01__aulldiv", @import("compiler_rt/aulldiv.zig")._aulldiv, strong_linkage);
258 @export("\x01__allrem", @import("compiler_rt/aullrem.zig")._allrem, strong_linkage);
259 @export("\x01__aullrem", @import("compiler_rt/aullrem.zig")._aullrem, strong_linkage);
255260
256261 @export("__divti3", @import("compiler_rt/divti3.zig").__divti3, linkage);
257262 @export("__modti3", @import("compiler_rt/modti3.zig").__modti3, linkage);
lib/std/special/docs/main.js+265-39
......@@ -26,6 +26,7 @@
2626 var domTableFnErrors = document.getElementById("tableFnErrors");
2727 var domFnErrorsAnyError = document.getElementById("fnErrorsAnyError");
2828 var domFnExamples = document.getElementById("fnExamples");
29 var domListFnExamples = document.getElementById("listFnExamples");
2930 var domFnNoExamples = document.getElementById("fnNoExamples");
3031 var domDeclNoRef = document.getElementById("declNoRef");
3132 var domSearch = document.getElementById("search");
......@@ -64,6 +65,9 @@
6465 declNames: [],
6566 // these will be all types, except the last one may be a type or a decl
6667 declObjs: [],
68
69 // (a, b, c, d) comptime call; result is the value the docs refer to
70 callName: null,
6771 };
6872 var curNavSearch = "";
6973 var curSearchIndex = -1;
......@@ -237,20 +241,29 @@
237241 renderErrorSet(errSetType);
238242 }
239243
240 var protoSrcIndex;
244 var fnObj = zigAnalysis.fns[fnDecl.value];
245 var protoSrcIndex = fnObj.src;
241246 if (typeIsGenericFn(fnDecl.type)) {
242 protoSrcIndex = fnDecl.value;
243
244247 var instantiations = nodesToFnsMap[protoSrcIndex];
245248 var calls = nodesToCallsMap[protoSrcIndex];
246249 if (instantiations == null && calls == null) {
247250 domFnNoExamples.classList.remove("hidden");
248 } else {
249 // TODO show examples
251 } else if (calls != null) {
252 if (fnObj.combined === undefined) fnObj.combined = allCompTimeFnCallsResult(calls);
253 if (fnObj.combined != null) renderContainer(fnObj.combined);
254
255 resizeDomList(domListFnExamples, calls.length, '<li></li>');
256
257 for (var callI = 0; callI < calls.length; callI += 1) {
258 var liDom = domListFnExamples.children[callI];
259 liDom.innerHTML = getCallHtml(fnDecl, calls[callI]);
260 }
261
250262 domFnExamples.classList.remove("hidden");
263 } else if (instantiations != null) {
264 // TODO
251265 }
252266 } else {
253 protoSrcIndex = zigAnalysis.fns[fnDecl.value].src;
254267
255268 domFnExamples.classList.add("hidden");
256269 domFnNoExamples.classList.add("hidden");
......@@ -305,7 +318,7 @@
305318
306319 function renderInfo() {
307320 domTdZigVer.textContent = zigAnalysis.params.zigVersion;
308 domTdTarget.textContent = zigAnalysis.params.target;
321 domTdTarget.textContent = zigAnalysis.params.builds[0].target;
309322
310323 domSectInfo.classList.remove("hidden");
311324 }
......@@ -349,13 +362,15 @@
349362 }
350363 }
351364
352 function navLink(pkgNames, declNames) {
365 function navLink(pkgNames, declNames, callName) {
353366 if (pkgNames.length === 0 && declNames.length === 0) {
354367 return '#';
355 } else if (declNames.length === 0) {
368 } else if (declNames.length === 0 && callName == null) {
356369 return '#' + pkgNames.join('.');
357 } else {
370 } else if (callName == null) {
358371 return '#' + pkgNames.join('.') + ';' + declNames.join('.');
372 } else {
373 return '#' + pkgNames.join('.') + ';' + declNames.join('.') + ';' + callName;
359374 }
360375 }
361376
......@@ -367,6 +382,22 @@
367382 return navLink(curNav.pkgNames, curNav.declNames.concat([childName]));
368383 }
369384
385 function navLinkCall(callObj) {
386 var declNamesCopy = curNav.declNames.concat([]);
387 var callName = declNamesCopy.pop();
388
389 callName += '(';
390 for (var arg_i = 0; arg_i < callObj.args.length; arg_i += 1) {
391 if (arg_i !== 0) callName += ',';
392 var argObj = callObj.args[arg_i];
393 callName += getValueText(argObj.type, argObj.value, false, false);
394 }
395 callName += ')';
396
397 declNamesCopy.push(callName);
398 return navLink(curNav.pkgNames, declNamesCopy);
399 }
400
370401 function resizeDomListDl(dlDom, desiredLen) {
371402 // add the missing dom entries
372403 var i, ev;
......@@ -426,6 +457,40 @@
426457 return (typeObj.len == null) ? pointerSizeEnum.One : typeObj.len;
427458 }
428459
460 function getCallHtml(fnDecl, callIndex) {
461 var callObj = zigAnalysis.calls[callIndex];
462
463 // TODO make these links work
464 //var html = '<a href="' + navLinkCall(callObj) + '">' + escapeHtml(fnDecl.name) + '</a>(';
465 var html = escapeHtml(fnDecl.name) + '(';
466 for (var arg_i = 0; arg_i < callObj.args.length; arg_i += 1) {
467 if (arg_i !== 0) html += ', ';
468 var argObj = callObj.args[arg_i];
469 html += getValueText(argObj.type, argObj.value, true, true);
470 }
471 html += ')';
472 return html;
473 }
474
475 function getValueText(typeIndex, value, wantHtml, wantLink) {
476 var typeObj = zigAnalysis.types[typeIndex];
477 switch (typeObj.kind) {
478 case typeKinds.Type:
479 return typeIndexName(value, wantHtml, wantLink);
480 case typeKinds.Fn:
481 var fnObj = zigAnalysis.fns[value];
482 return typeIndexName(fnObj.type, wantHtml, wantLink);
483 case typeKinds.Int:
484 if (wantHtml) {
485 return '<span class="tok-number">' + value + '</span>';
486 } else {
487 return value + "";
488 }
489 default:
490 throw new Error("TODO implement getValueText for this type");
491 }
492 }
493
429494 function typeName(typeObj, wantHtml, wantSubLink, fnDecl, linkFnNameDecl) {
430495 switch (typeObj.kind) {
431496 case typeKinds.Array:
......@@ -544,6 +609,12 @@
544609 } else {
545610 return "void";
546611 }
612 case typeKinds.EnumLiteral:
613 if (wantHtml) {
614 return '<span class="tok-type">(enum literal)</span>';
615 } else {
616 return "(enum literal)";
617 }
547618 case typeKinds.NoReturn:
548619 if (wantHtml) {
549620 return '<span class="tok-type">noreturn</span>';
......@@ -592,6 +663,15 @@
592663 }
593664 payloadHtml += '(';
594665 if (typeObj.args != null) {
666 var fields = null;
667 var isVarArgs = false;
668 if (fnDecl != null) {
669 var fnObj = zigAnalysis.fns[fnDecl.value];
670 var fnNode = zigAnalysis.astNodes[fnObj.src];
671 fields = fnNode.fields;
672 isVarArgs = fnNode.varArgs;
673 }
674
595675 for (var i = 0; i < typeObj.args.length; i += 1) {
596676 if (i != 0) {
597677 payloadHtml += ', ';
......@@ -599,10 +679,31 @@
599679
600680 var argTypeIndex = typeObj.args[i];
601681
602 if (fnDecl != null && zigAnalysis.astNodes[fnDecl.src].fields != null) {
603 var paramDeclIndex = zigAnalysis.astNodes[fnDecl.src].fields[i];
604 var paramName = zigAnalysis.astNodes[paramDeclIndex].name;
682 if (fields != null) {
683 var paramNode = zigAnalysis.astNodes[fields[i]];
684
685 if (paramNode.varArgs) {
686 payloadHtml += '...';
687 continue;
688 }
689
690 if (paramNode.noalias) {
691 if (wantHtml) {
692 payloadHtml += '<span class="tok-kw">noalias</span> ';
693 } else {
694 payloadHtml += 'noalias ';
695 }
696 }
605697
698 if (paramNode.comptime) {
699 if (wantHtml) {
700 payloadHtml += '<span class="tok-kw">comptime</span> ';
701 } else {
702 payloadHtml += 'comptime ';
703 }
704 }
705
706 var paramName = paramNode.name;
606707 if (paramName != null) {
607708 // skip if it matches the type name
608709 if (argTypeIndex == null || !shouldSkipParamName(argTypeIndex, paramName)) {
......@@ -611,7 +712,9 @@
611712 }
612713 }
613714
614 if (argTypeIndex != null) {
715 if (isVarArgs && i === typeObj.args.length - 1) {
716 payloadHtml += '...';
717 } else if (argTypeIndex != null) {
615718 payloadHtml += typeIndexName(argTypeIndex, wantHtml, wantSubLink);
616719 } else if (wantHtml) {
617720 payloadHtml += '<span class="tok-kw">var</span>';
......@@ -690,7 +793,7 @@
690793 }
691794
692795 function allCompTimeFnCallsHaveTypeResult(typeIndex, value) {
693 var srcIndex = typeIsGenericFn(typeIndex) ? value : zigAnalysis.fns[value].src;
796 var srcIndex = zigAnalysis.fns[value].src;
694797 var calls = nodesToCallsMap[srcIndex];
695798 if (calls == null) return false;
696799 for (var i = 0; i < calls.length; i += 1) {
......@@ -700,6 +803,90 @@
700803 return true;
701804 }
702805
806 function allCompTimeFnCallsResult(calls) {
807 var firstTypeObj = null;
808 var containerObj = {
809 privDecls: [],
810 };
811 for (var callI = 0; callI < calls.length; callI += 1) {
812 var call = zigAnalysis.calls[calls[callI]];
813 if (call.result.type !== typeTypeId) return null;
814 var typeObj = zigAnalysis.types[call.result.value];
815 if (!typeKindIsContainer(typeObj.kind)) return null;
816 if (firstTypeObj == null) {
817 firstTypeObj = typeObj;
818 containerObj.src = typeObj.src;
819 } else if (firstTypeObj.src !== typeObj.src) {
820 return null;
821 }
822
823 if (containerObj.fields == null) {
824 containerObj.fields = (typeObj.fields || []).concat([]);
825 } else for (var fieldI = 0; fieldI < typeObj.fields.length; fieldI += 1) {
826 var prev = containerObj.fields[fieldI];
827 var next = typeObj.fields[fieldI];
828 if (prev === next) continue;
829 if (typeof(prev) === 'object') {
830 if (prev[next] == null) prev[next] = typeObj;
831 } else {
832 containerObj.fields[fieldI] = {};
833 containerObj.fields[fieldI][prev] = firstTypeObj;
834 containerObj.fields[fieldI][next] = typeObj;
835 }
836 }
837
838 if (containerObj.pubDecls == null) {
839 containerObj.pubDecls = (typeObj.pubDecls || []).concat([]);
840 } else for (var declI = 0; declI < typeObj.pubDecls.length; declI += 1) {
841 var prev = containerObj.pubDecls[declI];
842 var next = typeObj.pubDecls[declI];
843 if (prev === next) continue;
844 // TODO instead of showing "examples" as the public declarations,
845 // do logic like this:
846 //if (typeof(prev) !== 'object') {
847 // var newDeclId = zigAnalysis.decls.length;
848 // prev = clone(zigAnalysis.decls[prev]);
849 // prev.id = newDeclId;
850 // zigAnalysis.decls.push(prev);
851 // containerObj.pubDecls[declI] = prev;
852 //}
853 //mergeDecls(prev, next, firstTypeObj, typeObj);
854 }
855 }
856 for (var declI = 0; declI < containerObj.pubDecls.length; declI += 1) {
857 var decl = containerObj.pubDecls[declI];
858 if (typeof(decl) === 'object') {
859 containerObj.pubDecls[declI] = containerObj.pubDecls[declI].id;
860 }
861 }
862 return containerObj;
863 }
864
865 function mergeDecls(declObj, nextDeclIndex, firstTypeObj, typeObj) {
866 var nextDeclObj = zigAnalysis.decls[nextDeclIndex];
867 if (declObj.type != null && nextDeclObj.type != null && declObj.type !== nextDeclObj.type) {
868 if (typeof(declObj.type) !== 'object') {
869 var prevType = declObj.type;
870 declObj.type = {};
871 declObj.type[prevType] = firstTypeObj;
872 declObj.value = null;
873 }
874 declObj.type[nextDeclObj.type] = typeObj;
875 } else if (declObj.type == null && nextDeclObj != null) {
876 declObj.type = nextDeclObj.type;
877 }
878 if (declObj.value != null && nextDeclObj.value != null && declObj.value !== nextDeclObj.value) {
879 if (typeof(declObj.value) !== 'object') {
880 var prevValue = declObj.value;
881 declObj.value = {};
882 declObj.value[prevValue] = firstTypeObj;
883 }
884 declObj.value[nextDeclObj.value] = typeObj;
885 } else if (declObj.value == null && nextDeclObj.value != null) {
886 declObj.value = nextDeclObj.value;
887 }
888 }
889
703890 function renderValue(decl) {
704891 domFnProtoCode.innerHTML = '<span class="tok-kw">const</span> ' +
705892 escapeHtml(decl.name) + ': ' + typeIndexName(decl.type, true, true);
......@@ -733,13 +920,15 @@
733920 var fnsList = [];
734921 var varsList = [];
735922 var valsList = [];
923
736924 for (var i = 0; i < container.pubDecls.length; i += 1) {
737925 var decl = zigAnalysis.decls[container.pubDecls[i]];
926
738927 if (decl.kind === 'var') {
739928 varsList.push(decl);
740929 continue;
741930 } else if (decl.kind === 'const' && decl.type != null) {
742 if (decl.type == typeTypeId) {
931 if (decl.type === typeTypeId) {
743932 if (typeIsErrSet(decl.value)) {
744933 errSetsList.push(decl);
745934 } else if (typeIsStructWithNoFields(decl.value)) {
......@@ -838,7 +1027,12 @@
8381027 if (container.kind === typeKinds.Enum) {
8391028 html += ' = <span class="tok-number">' + field + '</span>';
8401029 } else {
841 html += ": " + typeIndexName(field, true, true);
1030 html += ": ";
1031 if (typeof(field) === 'object') {
1032 html += '<span class="tok-kw">var</span>';
1033 } else {
1034 html += typeIndexName(field, true, true);
1035 }
8421036 }
8431037
8441038 html += ',</pre>';
......@@ -1042,13 +1236,16 @@
10421236 return list;
10431237 }
10441238
1045 function declCanRepresentTypeKind(typeKind) {
1046 return typeKind === typeKinds.ErrorSet ||
1047 typeKind === typeKinds.Struct ||
1239 function typeKindIsContainer(typeKind) {
1240 return typeKind === typeKinds.Struct ||
10481241 typeKind === typeKinds.Union ||
10491242 typeKind === typeKinds.Enum;
10501243 }
10511244
1245 function declCanRepresentTypeKind(typeKind) {
1246 return typeKind === typeKinds.ErrorSet || typeKindIsContainer(typeKind);
1247 }
1248
10521249 function computeCanonDeclPaths() {
10531250 var list = new Array(zigAnalysis.decls.length);
10541251 canonTypeDecls = new Array(zigAnalysis.types.length);
......@@ -1141,10 +1338,8 @@
11411338 }
11421339
11431340 function onSearchKeyDown(ev) {
1144 switch (ev.which) {
1145 case 13:
1146 if (ev.shiftKey || ev.ctrlKey || ev.altKey) return;
1147
1341 switch (getKeyString(ev)) {
1342 case "Enter":
11481343 // detect if this search changes anything
11491344 var terms1 = getSearchTerms();
11501345 startSearch();
......@@ -1157,9 +1352,7 @@
11571352 ev.preventDefault();
11581353 ev.stopPropagation();
11591354 return;
1160 case 27:
1161 if (ev.shiftKey || ev.ctrlKey || ev.altKey) return;
1162
1355 case "Esc":
11631356 domSearch.value = "";
11641357 domSearch.blur();
11651358 curSearchIndex = -1;
......@@ -1167,16 +1360,12 @@
11671360 ev.stopPropagation();
11681361 startSearch();
11691362 return;
1170 case 38:
1171 if (ev.shiftKey || ev.ctrlKey || ev.altKey) return;
1172
1363 case "Up":
11731364 moveSearchCursor(-1);
11741365 ev.preventDefault();
11751366 ev.stopPropagation();
11761367 return;
1177 case 40:
1178 if (ev.shiftKey || ev.ctrlKey || ev.altKey) return;
1179
1368 case "Down":
11801369 moveSearchCursor(1);
11811370 ev.preventDefault();
11821371 ev.stopPropagation();
......@@ -1210,26 +1399,49 @@
12101399 renderSearchCursor();
12111400 }
12121401
1213 function onWindowKeyDown(ev) {
1402 function getKeyString(ev) {
1403 var name;
1404 var ignoreShift = false;
12141405 switch (ev.which) {
1406 case 13:
1407 name = "Enter";
1408 break;
12151409 case 27:
1216 if (ev.shiftKey || ev.ctrlKey || ev.altKey) return;
1410 name = "Esc";
1411 break;
1412 case 38:
1413 name = "Up";
1414 break;
1415 case 40:
1416 name = "Down";
1417 break;
1418 default:
1419 ignoreShift = true;
1420 name = (ev.key != null) ? ev.key : String.fromCharCode(ev.charCode || ev.keyCode);
1421 }
1422 if (!ignoreShift && ev.shiftKey) name = "Shift+" + name;
1423 if (ev.altKey) name = "Alt+" + name;
1424 if (ev.ctrlKey) name = "Ctrl+" + name;
1425 return name;
1426 }
1427
1428 function onWindowKeyDown(ev) {
1429 switch (getKeyString(ev)) {
1430 case "Esc":
12171431 if (!domHelpModal.classList.contains("hidden")) {
12181432 domHelpModal.classList.add("hidden");
12191433 ev.preventDefault();
12201434 ev.stopPropagation();
12211435 }
12221436 break;
1223 case 83:
1224 if (ev.shiftKey || ev.ctrlKey || ev.altKey) return;
1437 case "s":
12251438 domSearch.focus();
12261439 domSearch.select();
12271440 ev.preventDefault();
12281441 ev.stopPropagation();
12291442 startAsyncSearch();
12301443 break;
1231 case 191:
1232 if (!ev.shiftKey || ev.ctrlKey || ev.altKey) return;
1444 case "?":
12331445 ev.preventDefault();
12341446 ev.stopPropagation();
12351447 showHelpModal();
......@@ -1391,4 +1603,18 @@
13911603 function byNameProperty(a, b) {
13921604 return operatorCompare(a.name, b.name);
13931605 }
1606
1607 function clone(obj) {
1608 var res = {};
1609 for (var key in obj) {
1610 res[key] = obj[key];
1611 }
1612 return res;
1613 }
1614
1615 function firstObjectKey(obj) {
1616 for (var key in obj) {
1617 return key;
1618 }
1619 }
13941620})();
lib/std/zig/parser_test.zig+6
......@@ -173,6 +173,12 @@ test "zig fmt: aligned struct field" {
173173 \\};
174174 \\
175175 );
176 try testCanonical(
177 \\pub const S = struct {
178 \\ f: i32 align(32) = 1,
179 \\};
180 \\
181 );
176182}
177183
178184test "zig fmt: preserve space between async fn definitions" {
lib/std/zig/render.zig+15-3
......@@ -272,7 +272,7 @@ fn renderTopLevelDecl(allocator: *mem.Allocator, stream: var, tree: *ast.Tree, i
272272 try renderToken(tree, stream, align_kw, indent, start_col, Space.None); // align
273273 try renderToken(tree, stream, lparen_token, indent, start_col, Space.None); // (
274274 try renderExpression(allocator, stream, tree, indent, start_col, align_value_expr, Space.None); // alignment
275 try renderToken(tree, stream, rparen_token, indent, start_col, Space.Comma); // )
275 try renderToken(tree, stream, rparen_token, indent, start_col, Space.Comma); // ),
276276 } else {
277277 try renderExpression(allocator, stream, tree, indent, start_col, field.type_expr.?, Space.Comma); // type,
278278 }
......@@ -283,8 +283,20 @@ fn renderTopLevelDecl(allocator: *mem.Allocator, stream: var, tree: *ast.Tree, i
283283 } else {
284284 try renderToken(tree, stream, field.name_token, indent, start_col, Space.None); // name
285285 try renderToken(tree, stream, tree.nextToken(field.name_token), indent, start_col, Space.Space); // :
286 try renderExpression(allocator, stream, tree, indent, start_col, field.type_expr.?, Space.Space); // type
287 try renderToken(tree, stream, tree.nextToken(field.type_expr.?.lastToken()), indent, start_col, Space.Space); // =
286
287 if (field.align_expr) |align_value_expr| {
288 try renderExpression(allocator, stream, tree, indent, start_col, field.type_expr.?, Space.Space); // type
289 const lparen_token = tree.prevToken(align_value_expr.firstToken());
290 const align_kw = tree.prevToken(lparen_token);
291 const rparen_token = tree.nextToken(align_value_expr.lastToken());
292 try renderToken(tree, stream, align_kw, indent, start_col, Space.None); // align
293 try renderToken(tree, stream, lparen_token, indent, start_col, Space.None); // (
294 try renderExpression(allocator, stream, tree, indent, start_col, align_value_expr, Space.None); // alignment
295 try renderToken(tree, stream, rparen_token, indent, start_col, Space.Space); // )
296 } else {
297 try renderExpression(allocator, stream, tree, indent, start_col, field.type_expr.?, Space.Space); // type
298 }
299 try renderToken(tree, stream, tree.prevToken(field.value_expr.?.firstToken()), indent, start_col, Space.Space); // =
288300 return renderExpression(allocator, stream, tree, indent, start_col, field.value_expr.?, Space.Comma); // value,
289301 }
290302 },
src/all_types.hpp+1
......@@ -2091,6 +2091,7 @@ struct CodeGen {
20912091 bool function_sections;
20922092 bool enable_dump_analysis;
20932093 bool enable_doc_generation;
2094 bool disable_bin_generation;
20942095
20952096 Buf *mmacosx_version_min;
20962097 Buf *mios_version_min;
src/analyze.cpp+15-1
......@@ -1787,6 +1787,7 @@ static ZigType *analyze_fn_type(CodeGen *g, AstNode *proto_node, Scope *child_sc
17871787 if (!analyze_const_align(g, child_scope, fn_proto->align_expr, &fn_type_id.alignment)) {
17881788 return g->builtin_types.entry_invalid;
17891789 }
1790 fn_entry->align_bytes = fn_type_id.alignment;
17901791 }
17911792
17921793 if (fn_proto->return_var_token != nullptr) {
......@@ -3327,7 +3328,9 @@ static void resolve_decl_fn(CodeGen *g, TldFn *tld_fn) {
33273328 fn_table_entry->type_entry = analyze_fn_type(g, source_node, child_scope, fn_table_entry);
33283329
33293330 if (fn_proto->section_expr != nullptr) {
3330 analyze_const_string(g, child_scope, fn_proto->section_expr, &fn_table_entry->section_name);
3331 if (!analyze_const_string(g, child_scope, fn_proto->section_expr, &fn_table_entry->section_name)) {
3332 fn_table_entry->type_entry = g->builtin_types.entry_invalid;
3333 }
33313334 }
33323335
33333336 if (fn_table_entry->type_entry->id == ZigTypeIdInvalid) {
......@@ -8599,6 +8602,9 @@ static void resolve_llvm_types_fn_type(CodeGen *g, ZigType *fn_type) {
85998602 fn_type->llvm_di_type = ZigLLVMCreateDebugPointerType(g->dbuilder, fn_type->data.fn.raw_di_type,
86008603 LLVMStoreSizeOfType(g->target_data_ref, fn_type->llvm_type),
86018604 LLVMABIAlignmentOfType(g->target_data_ref, fn_type->llvm_type), "");
8605
8606 gen_param_types.deinit();
8607 param_di_types.deinit();
86028608}
86038609
86048610void resolve_llvm_types_fn(CodeGen *g, ZigFn *fn) {
......@@ -8633,6 +8639,9 @@ void resolve_llvm_types_fn(CodeGen *g, ZigFn *fn) {
86338639 fn->raw_type_ref = LLVMFunctionType(get_llvm_type(g, gen_return_type),
86348640 gen_param_types.items, gen_param_types.length, false);
86358641 fn->raw_di_type = ZigLLVMCreateSubroutineType(g->dbuilder, param_di_types.items, (int)param_di_types.length, 0);
8642
8643 param_di_types.deinit();
8644 gen_param_types.deinit();
86368645}
86378646
86388647static void resolve_llvm_types_anyerror(CodeGen *g) {
......@@ -8657,6 +8666,8 @@ static void resolve_llvm_types_anyerror(CodeGen *g) {
86578666 tag_debug_align_in_bits,
86588667 err_enumerators.items, err_enumerators.length,
86598668 get_llvm_di_type(g, g->err_tag_type), "");
8669
8670 err_enumerators.deinit();
86608671}
86618672
86628673static void resolve_llvm_types_async_frame(CodeGen *g, ZigType *frame_type, ResolveStatus wanted_resolve_status) {
......@@ -8802,6 +8813,9 @@ static void resolve_llvm_types_any_frame(CodeGen *g, ZigType *any_frame_type, Re
88028813 nullptr, di_element_types.items, di_element_types.length, 0, nullptr, "");
88038814
88048815 ZigLLVMReplaceTemporary(g->dbuilder, frame_header_di_type, replacement_di_type);
8816
8817 field_types.deinit();
8818 di_element_types.deinit();
88058819}
88068820
88078821static void resolve_llvm_types(CodeGen *g, ZigType *type, ResolveStatus wanted_resolve_status) {
src/codegen.cpp+18-12
......@@ -413,18 +413,9 @@ static LLVMValueRef make_fn_llvm_value(CodeGen *g, ZigFn *fn) {
413413 linkage = fn_export->linkage;
414414 }
415415
416 bool external_linkage = linkage != GlobalLinkageIdInternal;
417416 CallingConvention cc = fn->type_entry->data.fn.fn_type_id.cc;
418 if (cc == CallingConventionStdcall && external_linkage &&
419 g->zig_target->arch == ZigLLVM_x86)
420 {
421 // prevent llvm name mangling
422 symbol_name = buf_ptr(buf_sprintf("\x01_%s", symbol_name));
423 }
424
425417 bool is_async = fn_is_async(fn);
426418
427
428419 ZigType *fn_type = fn->type_entry;
429420 // Make the raw_type_ref populated
430421 resolve_llvm_types_fn(g, fn);
......@@ -4254,8 +4245,19 @@ static LLVMValueRef ir_render_struct_field_ptr(CodeGen *g, IrExecutable *executa
42544245 if ((err = type_resolve(g, struct_type, ResolveStatusLLVMFull)))
42554246 codegen_report_errors_and_exit(g);
42564247
4257 assert(field->gen_index != SIZE_MAX);
4258 return LLVMBuildStructGEP(g->builder, struct_ptr, (unsigned)field->gen_index, "");
4248 src_assert(field->gen_index != SIZE_MAX, instruction->base.source_node);
4249 LLVMValueRef field_ptr_val = LLVMBuildStructGEP(g->builder, struct_ptr, (unsigned)field->gen_index, "");
4250 ZigType *res_type = instruction->base.value.type;
4251 src_assert(res_type->id == ZigTypeIdPointer, instruction->base.source_node);
4252 if (res_type->data.pointer.host_int_bytes != 0) {
4253 // We generate packed structs with get_llvm_type_of_n_bytes, which is
4254 // u8 for 1 byte or [n]u8 for multiple bytes. But the pointer to the type
4255 // is supposed to be a pointer to the integer. So we bitcast it here.
4256 LLVMTypeRef int_elem_type = LLVMIntType(8*res_type->data.pointer.host_int_bytes);
4257 LLVMTypeRef integer_ptr_type = LLVMPointerType(int_elem_type, 0);
4258 return LLVMBuildBitCast(g->builder, field_ptr_val, integer_ptr_type, "");
4259 }
4260 return field_ptr_val;
42594261}
42604262
42614263static LLVMValueRef ir_render_union_field_ptr(CodeGen *g, IrExecutable *executable,
......@@ -7595,6 +7597,8 @@ static void zig_llvm_emit_output(CodeGen *g) {
75957597 char *err_msg = nullptr;
75967598 switch (g->emit_file_type) {
75977599 case EmitFileTypeBinary:
7600 if (g->disable_bin_generation)
7601 return;
75987602 if (ZigLLVMTargetMachineEmitToFile(g->target_machine, g->module, buf_ptr(output_path),
75997603 ZigLLVM_EmitBinary, &err_msg, g->build_mode == BuildModeDebug, is_small,
76007604 g->enable_time_report))
......@@ -10167,6 +10171,7 @@ static Error check_cache(CodeGen *g, Buf *manifest_dir, Buf *digest) {
1016710171 cache_bool(ch, g->function_sections);
1016810172 cache_bool(ch, g->enable_dump_analysis);
1016910173 cache_bool(ch, g->enable_doc_generation);
10174 cache_bool(ch, g->disable_bin_generation);
1017010175 cache_buf_opt(ch, g->mmacosx_version_min);
1017110176 cache_buf_opt(ch, g->mios_version_min);
1017210177 cache_usize(ch, g->version_major);
......@@ -10405,7 +10410,8 @@ void codegen_build_and_link(CodeGen *g) {
1040510410 // If there is more than one object, we have to link them (with -r).
1040610411 // Finally, if we didn't make an object from zig source, and we don't have caching enabled,
1040710412 // then we have an object from C source that we must copy to the output dir which we do with a -r link.
10408 if (g->emit_file_type == EmitFileTypeBinary && (g->out_type != OutTypeObj || g->link_objects.length > 1 ||
10413 if (!g->disable_bin_generation && g->emit_file_type == EmitFileTypeBinary &&
10414 (g->out_type != OutTypeObj || g->link_objects.length > 1 ||
1040910415 (!need_llvm_module(g) && !g->enable_cache)))
1041010416 {
1041110417 codegen_link(g);
src/dump_analysis.cpp+108-68
......@@ -456,6 +456,10 @@ static uint32_t anal_dump_get_fn_id(AnalDumpCtx *ctx, ZigFn *fn) {
456456 auto existing_entry = ctx->fn_map.put_unique(fn, fn_id);
457457 if (existing_entry == nullptr) {
458458 ctx->fn_list.append(fn);
459
460 // poke the fn
461 (void)anal_dump_get_type_id(ctx, fn->type_entry);
462 (void)anal_dump_get_node_id(ctx, fn->proto_node);
459463 } else {
460464 fn_id = existing_entry->value;
461465 }
......@@ -700,11 +704,7 @@ static void anal_dump_value(AnalDumpCtx *ctx, AstNode *source_node, ZigType *ty,
700704 case ZigTypeIdFn: {
701705 if (value->data.x_ptr.special == ConstPtrSpecialFunction) {
702706 ZigFn *val_fn = value->data.x_ptr.data.fn.fn_entry;
703 if (val_fn->type_entry->data.fn.is_generic) {
704 anal_dump_node_ref(ctx, val_fn->proto_node);
705 } else {
706 anal_dump_fn_ref(ctx, val_fn);
707 }
707 anal_dump_fn_ref(ctx, val_fn);
708708 } else {
709709 jw_null(&ctx->jw);
710710 }
......@@ -758,6 +758,7 @@ static void anal_dump_type(AnalDumpCtx *ctx, ZigType *ty) {
758758 switch (ty->id) {
759759 case ZigTypeIdMetaType:
760760 case ZigTypeIdBool:
761 case ZigTypeIdEnumLiteral:
761762 break;
762763 case ZigTypeIdStruct: {
763764 if (ty->data.structure.is_slice) {
......@@ -1072,13 +1073,25 @@ static void anal_dump_node(AnalDumpCtx *ctx, const AstNode *node) {
10721073 jw_object_field(jw, "col");
10731074 jw_int(jw, node->column);
10741075
1075 const Buf *doc_comments_buf;
1076 const Buf *doc_comments_buf = nullptr;
1077 const Buf *name_buf = nullptr;
1078 const ZigList<AstNode *> *field_nodes = nullptr;
1079 bool is_var_args = false;
1080 bool is_noalias = false;
1081 bool is_comptime = false;
1082
10761083 switch (node->type) {
10771084 case NodeTypeParamDecl:
10781085 doc_comments_buf = &node->data.param_decl.doc_comments;
1086 name_buf = node->data.param_decl.name;
1087 is_var_args = node->data.param_decl.is_var_args;
1088 is_noalias = node->data.param_decl.is_noalias;
1089 is_comptime = node->data.param_decl.is_comptime;
10791090 break;
10801091 case NodeTypeFnProto:
10811092 doc_comments_buf = &node->data.fn_proto.doc_comments;
1093 field_nodes = &node->data.fn_proto.params;
1094 is_var_args = node->data.fn_proto.is_var_args;
10821095 break;
10831096 case NodeTypeVariableDeclaration:
10841097 doc_comments_buf = &node->data.variable_declaration.doc_comments;
......@@ -1088,55 +1101,50 @@ static void anal_dump_node(AnalDumpCtx *ctx, const AstNode *node) {
10881101 break;
10891102 case NodeTypeStructField:
10901103 doc_comments_buf = &node->data.struct_field.doc_comments;
1104 name_buf = node->data.struct_field.name;
1105 break;
1106 case NodeTypeContainerDecl:
1107 field_nodes = &node->data.container_decl.fields;
10911108 break;
10921109 default:
1093 doc_comments_buf = nullptr;
10941110 break;
10951111 }
1112
10961113 if (doc_comments_buf != nullptr && doc_comments_buf->list.length != 0) {
10971114 jw_object_field(jw, "docs");
10981115 jw_string(jw, buf_ptr(doc_comments_buf));
10991116 }
11001117
1101 const Buf *name_buf;
1102 switch (node->type) {
1103 case NodeTypeStructField:
1104 name_buf = node->data.struct_field.name;
1105 break;
1106 case NodeTypeParamDecl:
1107 name_buf = node->data.param_decl.name;
1108 break;
1109 default:
1110 name_buf = nullptr;
1111 break;
1112 }
11131118 if (name_buf != nullptr) {
11141119 jw_object_field(jw, "name");
11151120 jw_string(jw, buf_ptr(name_buf));
11161121 }
11171122
1118 const ZigList<AstNode *> *fieldNodes;
1119 switch (node->type) {
1120 case NodeTypeContainerDecl:
1121 fieldNodes = &node->data.container_decl.fields;
1122 break;
1123 case NodeTypeFnProto:
1124 fieldNodes = &node->data.fn_proto.params;
1125 break;
1126 default:
1127 fieldNodes = nullptr;
1128 break;
1129 }
1130 if (fieldNodes != nullptr) {
1123 if (field_nodes != nullptr) {
11311124 jw_object_field(jw, "fields");
11321125 jw_begin_array(jw);
1133 for (size_t i = 0; i < fieldNodes->length; i += 1) {
1126 for (size_t i = 0; i < field_nodes->length; i += 1) {
11341127 jw_array_elem(jw);
1135 anal_dump_node_ref(ctx, fieldNodes->at(i));
1128 anal_dump_node_ref(ctx, field_nodes->at(i));
11361129 }
11371130 jw_end_array(jw);
11381131 }
11391132
1133 if (is_var_args) {
1134 jw_object_field(jw, "varArgs");
1135 jw_bool(jw, true);
1136 }
1137
1138 if (is_comptime) {
1139 jw_object_field(jw, "comptime");
1140 jw_bool(jw, true);
1141 }
1142
1143 if (is_noalias) {
1144 jw_object_field(jw, "noalias");
1145 jw_bool(jw, true);
1146 }
1147
11401148 jw_end_object(jw);
11411149}
11421150
......@@ -1207,10 +1215,16 @@ void zig_print_analysis_dump(CodeGen *g, FILE *f, const char *one_indent, const
12071215 jw_object_field(jw, "zigVersion");
12081216 jw_string(jw, ZIG_VERSION_STRING);
12091217
1218 jw_object_field(jw, "builds");
1219 jw_begin_array(jw);
1220 jw_array_elem(jw);
1221 jw_begin_object(jw);
12101222 jw_object_field(jw, "target");
12111223 Buf triple_buf = BUF_INIT;
12121224 target_triple_zig(&triple_buf, g->zig_target);
12131225 jw_string(jw, buf_ptr(&triple_buf));
1226 jw_end_object(jw);
1227 jw_end_array(jw);
12141228
12151229 jw_object_field(jw, "rootName");
12161230 jw_string(jw, buf_ptr(g->root_out_name));
......@@ -1229,59 +1243,76 @@ void zig_print_analysis_dump(CodeGen *g, FILE *f, const char *one_indent, const
12291243 jw_object_field(jw, "calls");
12301244 jw_begin_array(jw);
12311245 {
1246 ZigList<ZigVar *> var_stack = {};
1247
12321248 auto it = g->memoized_fn_eval_table.entry_iterator();
12331249 for (;;) {
12341250 auto *entry = it.next();
12351251 if (!entry)
12361252 break;
12371253
1238 jw_array_elem(jw);
1239 jw_begin_object(jw);
1240
1241 jw_object_field(jw, "args");
1242 jw_begin_object(jw);
1254 var_stack.resize(0);
1255 ZigFn *fn = nullptr;
12431256
12441257 Scope *scope = entry->key;
12451258 while (scope != nullptr) {
12461259 if (scope->id == ScopeIdVarDecl) {
12471260 ZigVar *var = reinterpret_cast<ScopeVarDecl *>(scope)->var;
1248 jw_object_field(jw, var->name);
1249 jw_begin_object(jw);
1250 jw_object_field(jw, "type");
1251 anal_dump_type_ref(&ctx, var->var_type);
1252 jw_object_field(jw, "value");
1253 anal_dump_value(&ctx, scope->source_node, var->var_type, var->const_value);
1254 jw_end_object(jw);
1261 var_stack.append(var);
12551262 } else if (scope->id == ScopeIdFnDef) {
1256 jw_end_object(jw);
1263 fn = reinterpret_cast<ScopeFnDef *>(scope)->fn_entry;
1264 break;
1265 }
1266 scope = scope->parent;
1267 }
1268 ConstExprValue *result = entry->value;
1269
1270 assert(fn != nullptr);
1271
1272 jw_array_elem(jw);
1273 jw_begin_object(jw);
12571274
1258 jw_object_field(jw, "fn");
1259 ZigFn *fn = reinterpret_cast<ScopeFnDef *>(scope)->fn_entry;
1260 anal_dump_fn_ref(&ctx, fn);
1275 jw_object_field(jw, "fn");
1276 anal_dump_fn_ref(&ctx, fn);
12611277
1262 ConstExprValue *result = entry->value;
1263 jw_object_field(jw, "result");
1278 jw_object_field(jw, "result");
1279 {
1280 jw_begin_object(jw);
1281
1282 jw_object_field(jw, "type");
1283 anal_dump_type_ref(&ctx, result->type);
1284
1285 jw_object_field(jw, "value");
1286 anal_dump_value(&ctx, scope->source_node, result->type, result);
1287
1288 jw_end_object(jw);
1289 }
1290
1291 if (var_stack.length != 0) {
1292 jw_object_field(jw, "args");
1293 jw_begin_array(jw);
1294
1295 while (var_stack.length != 0) {
1296 ZigVar *var = var_stack.pop();
1297
1298 jw_array_elem(jw);
12641299 jw_begin_object(jw);
1300
12651301 jw_object_field(jw, "type");
1266 anal_dump_type_ref(&ctx, result->type);
1302 anal_dump_type_ref(&ctx, var->var_type);
1303
12671304 jw_object_field(jw, "value");
1268 anal_dump_value(&ctx, scope->source_node, result->type, result);
1305 anal_dump_value(&ctx, scope->source_node, var->var_type, var->const_value);
1306
12691307 jw_end_object(jw);
1270 break;
12711308 }
1272 scope = scope->parent;
1309 jw_end_array(jw);
12731310 }
1311
12741312 jw_end_object(jw);
12751313 }
1276 }
1277 jw_end_array(jw);
12781314
1279 jw_object_field(jw, "fns");
1280 jw_begin_array(jw);
1281 for (uint32_t i = 0; i < ctx.fn_list.length; i += 1) {
1282 ZigFn *fn = ctx.fn_list.at(i);
1283 jw_array_elem(jw);
1284 anal_dump_fn(&ctx, fn);
1315 var_stack.deinit();
12851316 }
12861317 jw_end_array(jw);
12871318
......@@ -1309,12 +1340,12 @@ void zig_print_analysis_dump(CodeGen *g, FILE *f, const char *one_indent, const
13091340 }
13101341 jw_end_array(jw);
13111342
1312 jw_object_field(jw, "files");
1343 jw_object_field(jw, "fns");
13131344 jw_begin_array(jw);
1314 for (uint32_t i = 0; i < ctx.file_list.length; i += 1) {
1315 Buf *file = ctx.file_list.at(i);
1345 for (uint32_t i = 0; i < ctx.fn_list.length; i += 1) {
1346 ZigFn *fn = ctx.fn_list.at(i);
13161347 jw_array_elem(jw);
1317 anal_dump_file(&ctx, file);
1348 anal_dump_fn(&ctx, fn);
13181349 }
13191350 jw_end_array(jw);
13201351
......@@ -1336,5 +1367,14 @@ void zig_print_analysis_dump(CodeGen *g, FILE *f, const char *one_indent, const
13361367 }
13371368 jw_end_array(jw);
13381369
1370 jw_object_field(jw, "files");
1371 jw_begin_array(jw);
1372 for (uint32_t i = 0; i < ctx.file_list.length; i += 1) {
1373 Buf *file = ctx.file_list.at(i);
1374 jw_array_elem(jw);
1375 anal_dump_file(&ctx, file);
1376 }
1377 jw_end_array(jw);
1378
13391379 jw_end_object(jw);
13401380}
src/link.cpp+123-79
......@@ -552,28 +552,41 @@ static const char *mingwex_arm64_src[] = {
552552
553553struct MinGWDef {
554554 const char *name;
555 const char *path;
556555 bool always_link;
557556};
558557static const MinGWDef mingw_def_list[] = {
559 {"msvcrt", "lib-common" OS_SEP "msvcrt.def.in", true},
560 {"setupapi", "libarm32" OS_SEP "setupapi.def", false},
561 {"setupapi", "libarm64" OS_SEP "setupapi.def", false},
562 {"setupapi", "lib32" OS_SEP "setupapi.def", false},
563 {"setupapi", "lib64" OS_SEP "setupapi.def", false},
564 {"winmm", "lib-common" OS_SEP "winmm.def", false},
565 {"gdi32", "lib-common" OS_SEP "gdi32.def", false},
566 {"imm32", "lib-common" OS_SEP "imm32.def", false},
567 {"version", "lib-common" OS_SEP "version.def", false},
568 {"advapi32", "lib-common" OS_SEP "advapi32.def.in", true},
569 {"oleaut32", "lib-common" OS_SEP "oleaut32.def.in", false},
570 {"ole32", "lib-common" OS_SEP "ole32.def.in", false},
571 {"shell32", "lib-common" OS_SEP "shell32.def", true},
572 {"user32", "lib-common" OS_SEP "user32.def.in", true},
573 {"kernel32", "lib-common" OS_SEP "kernel32.def.in", true},
574 {"ntdll", "libarm32" OS_SEP "ntdll.def", true},
575 {"ntdll", "lib32" OS_SEP "ntdll.def", true},
576 {"ntdll", "lib64" OS_SEP "ntdll.def", true},
558 {"advapi32",true},
559 {"bcrypt", false},
560 {"comctl32",false},
561 {"comdlg32",false},
562 {"crypt32", false},
563 {"cryptnet",false},
564 {"gdi32", false},
565 {"imm32", false},
566 {"kernel32",true},
567 {"lz32", false},
568 {"mpr", false},
569 {"msvcrt", true},
570 {"mswsock", false},
571 {"ncrypt", false},
572 {"netapi32",false},
573 {"ntdll", true},
574 {"ole32", false},
575 {"oleaut32",false},
576 {"opengl32",false},
577 {"rpcns4", false},
578 {"rpcrt4", false},
579 {"scarddlg",false},
580 {"setupapi",false},
581 {"shell32", true},
582 {"urlmon", false},
583 {"user32", true},
584 {"version", false},
585 {"winmm", false},
586 {"winscard",false},
587 {"winspool",false},
588 {"wintrust",false},
589 {"ws2_32", false},
577590};
578591
579592struct LinkJob {
......@@ -1955,7 +1968,7 @@ static void print_zig_cc_cmd(ZigList<const char *> *args) {
19551968 fprintf(stderr, "\n");
19561969}
19571970
1958static const char *get_def_lib(CodeGen *parent, const char *name, Buf *def_in_rel_path) {
1971static const char *get_def_lib(CodeGen *parent, const char *name, Buf *def_in_file) {
19591972 Error err;
19601973
19611974 Buf *self_exe_path = buf_alloc();
......@@ -1973,8 +1986,6 @@ static const char *get_def_lib(CodeGen *parent, const char *name, Buf *def_in_re
19731986 Buf *o_dir = buf_sprintf("%s" OS_SEP CACHE_OUT_SUBDIR, buf_ptr(cache_dir));
19741987 Buf *manifest_dir = buf_sprintf("%s" OS_SEP CACHE_HASH_SUBDIR, buf_ptr(cache_dir));
19751988
1976 Buf *def_in_file = buf_sprintf("%s" OS_SEP "libc" OS_SEP "mingw" OS_SEP "%s",
1977 buf_ptr(parent->zig_lib_dir), buf_ptr(def_in_rel_path));
19781989 Buf *def_include_dir = buf_sprintf("%s" OS_SEP "libc" OS_SEP "mingw" OS_SEP "def-include",
19791990 buf_ptr(parent->zig_lib_dir));
19801991
......@@ -2062,18 +2073,12 @@ static const char *get_def_lib(CodeGen *parent, const char *name, Buf *def_in_re
20622073 lib_final_path = buf_alloc();
20632074 os_path_join(artifact_dir, final_lib_basename, lib_final_path);
20642075
2065 args.resize(0);
2066 args.append("link");
2067 coff_append_machine_arg(parent, &args);
2068
2069 args.append(buf_ptr(buf_sprintf("-DEF:%s", buf_ptr(def_final_path))));
2070 args.append(buf_ptr(buf_sprintf("-OUT:%s", buf_ptr(lib_final_path))));
2071
2072 Buf diag = BUF_INIT;
2073 ZigLLVM_ObjectFormatType target_ofmt = target_object_format(parent->zig_target);
2074 if (!zig_lld_link(target_ofmt, args.items, args.length, &diag)) {
2075 fprintf(stderr, "%s\n", buf_ptr(&diag));
2076 exit(1);
2076 if (ZigLLVMWriteImportLibrary(buf_ptr(def_final_path),
2077 parent->zig_target->arch,
2078 buf_ptr(lib_final_path),
2079 /* kill_at */ true))
2080 {
2081 zig_panic("link: could not emit %s", buf_ptr(lib_final_path));
20772082 }
20782083 } else {
20792084 // cache hit
......@@ -2097,6 +2102,60 @@ static bool is_linking_system_lib(CodeGen *g, const char *name) {
20972102 return false;
20982103}
20992104
2105static Error find_mingw_lib_def(LinkJob *lj, const char *name, Buf *out_path) {
2106 CodeGen *g = lj->codegen;
2107 Buf override_path = BUF_INIT;
2108 Error err;
2109
2110 char const *lib_path = nullptr;
2111 if (g->zig_target->arch == ZigLLVM_x86) {
2112 lib_path = "lib32";
2113 } else if (g->zig_target->arch == ZigLLVM_x86_64) {
2114 lib_path = "lib64";
2115 } else if (target_is_arm(g->zig_target)) {
2116 const bool is_32 = target_arch_pointer_bit_width(g->zig_target->arch) == 32;
2117 lib_path = is_32 ? "libarm32" : "libarm64";
2118 } else {
2119 zig_unreachable();
2120 }
2121
2122 // Try the archtecture-specific path first
2123 buf_resize(&override_path, 0);
2124 buf_appendf(&override_path, "%s" OS_SEP "libc" OS_SEP "mingw" OS_SEP "%s" OS_SEP "%s.def", buf_ptr(g->zig_lib_dir), lib_path, name);
2125
2126 bool does_exist;
2127 if ((err = os_file_exists(&override_path, &does_exist)) != ErrorNone) {
2128 return err;
2129 }
2130
2131 if (!does_exist) {
2132 // Try the generic version
2133 buf_resize(&override_path, 0);
2134 buf_appendf(&override_path, "%s" OS_SEP "libc" OS_SEP "mingw" OS_SEP "lib-common" OS_SEP "%s.def", buf_ptr(g->zig_lib_dir), name);
2135
2136 if ((err = os_file_exists(&override_path, &does_exist)) != ErrorNone) {
2137 return err;
2138 }
2139 }
2140
2141 if (!does_exist) {
2142 // Try the generic version and preprocess it
2143 buf_resize(&override_path, 0);
2144 buf_appendf(&override_path, "%s" OS_SEP "libc" OS_SEP "mingw" OS_SEP "lib-common" OS_SEP "%s.def.in", buf_ptr(g->zig_lib_dir), name);
2145
2146 if ((err = os_file_exists(&override_path, &does_exist)) != ErrorNone) {
2147 return err;
2148 }
2149 }
2150
2151 if (!does_exist) {
2152 return ErrorFileNotFound;
2153 }
2154
2155 buf_init_from_buf(out_path, &override_path);
2156 return ErrorNone;
2157}
2158
21002159static void add_mingw_link_args(LinkJob *lj, bool is_library) {
21012160 CodeGen *g = lj->codegen;
21022161
......@@ -2122,24 +2181,20 @@ static void add_mingw_link_args(LinkJob *lj, bool is_library) {
21222181
21232182 for (size_t def_i = 0; def_i < array_length(mingw_def_list); def_i += 1) {
21242183 const char *name = mingw_def_list[def_i].name;
2125 Buf *path = buf_create_from_str(mingw_def_list[def_i].path);
2126 bool always_link = mingw_def_list[def_i].always_link;
2127 bool is_this_arch = false;
2128 if (buf_starts_with_str(path, "lib-common" OS_SEP)) {
2129 is_this_arch = true;
2130 } else if (target_is_arm(g->zig_target)) {
2131 if (target_arch_pointer_bit_width(g->zig_target->arch) == 32) {
2132 is_this_arch = buf_starts_with_str(path, "libarm32" OS_SEP);
2133 } else {
2134 is_this_arch = buf_starts_with_str(path, "libarm64" OS_SEP);
2184 const bool always_link = mingw_def_list[def_i].always_link;
2185
2186 if (always_link || is_linking_system_lib(g, name)) {
2187 Buf lib_path = BUF_INIT;
2188 Error err = find_mingw_lib_def(lj, name, &lib_path);
2189
2190 if (err == ErrorFileNotFound) {
2191 zig_panic("link: could not find .def file to build %s\n", name);
2192 } else if (err != ErrorNone) {
2193 zig_panic("link: unable to check if .def file for %s exists: %s",
2194 name, err_str(err));
21352195 }
2136 } else if (g->zig_target->arch == ZigLLVM_x86) {
2137 is_this_arch = buf_starts_with_str(path, "lib32" OS_SEP);
2138 } else if (g->zig_target->arch == ZigLLVM_x86_64) {
2139 is_this_arch = buf_starts_with_str(path, "lib64" OS_SEP);
2140 }
2141 if (is_this_arch && (always_link || is_linking_system_lib(g, name))) {
2142 lj->args.append(get_def_lib(g, name, path));
2196
2197 lj->args.append(get_def_lib(g, name, &lib_path));
21432198 }
21442199 }
21452200}
......@@ -2273,8 +2328,6 @@ static void construct_linker_job_coff(LinkJob *lj) {
22732328 lj->args.append(buf_ptr(compiler_rt_o_path));
22742329 }
22752330
2276 Buf *def_contents = buf_alloc();
2277 ZigList<const char *> gen_lib_args = {0};
22782331 for (size_t lib_i = 0; lib_i < g->link_libs_list.length; lib_i += 1) {
22792332 LinkLib *link_lib = g->link_libs_list.at(lib_i);
22802333 if (buf_eql_str(link_lib->name, "c")) {
......@@ -2297,36 +2350,27 @@ static void construct_linker_job_coff(LinkJob *lj) {
22972350 continue;
22982351 }
22992352
2300 buf_resize(def_contents, 0);
2301 buf_appendf(def_contents, "LIBRARY %s\nEXPORTS\n", buf_ptr(link_lib->name));
2302 for (size_t exp_i = 0; exp_i < link_lib->symbols.length; exp_i += 1) {
2303 Buf *symbol_name = link_lib->symbols.at(exp_i);
2304 buf_appendf(def_contents, "%s\n", buf_ptr(symbol_name));
2305 }
2306 buf_appendf(def_contents, "\n");
2307
2308 Buf *def_path = buf_alloc();
2309 os_path_join(g->output_dir, buf_sprintf("%s.def", buf_ptr(link_lib->name)), def_path);
2310 if ((err = os_write_file(def_path, def_contents))) {
2311 zig_panic("error writing def file: %s", err_str(err));
2312 }
2353 // This library may be a system one and we may have a suitable .lib file
23132354
2314 Buf *generated_lib_path = buf_alloc();
2315 os_path_join(g->output_dir, buf_sprintf("%s.lib", buf_ptr(link_lib->name)), generated_lib_path);
2355 // Normalize the library name to lower case, the FS may be
2356 // case-sensitive
2357 char *name = strdup(buf_ptr(link_lib->name));
2358 assert(name != nullptr);
2359 for (char *ch = name; *ch; ++ch) *ch = tolower(*ch);
23162360
2317 gen_lib_args.resize(0);
2318 gen_lib_args.append("link");
2361 Buf lib_path = BUF_INIT;
2362 err = find_mingw_lib_def(lj, name, &lib_path);
23192363
2320 coff_append_machine_arg(g, &gen_lib_args);
2321 gen_lib_args.append(buf_ptr(buf_sprintf("-DEF:%s", buf_ptr(def_path))));
2322 gen_lib_args.append(buf_ptr(buf_sprintf("-OUT:%s", buf_ptr(generated_lib_path))));
2323 Buf diag = BUF_INIT;
2324 ZigLLVM_ObjectFormatType target_ofmt = target_object_format(g->zig_target);
2325 if (!zig_lld_link(target_ofmt, gen_lib_args.items, gen_lib_args.length, &diag)) {
2326 fprintf(stderr, "%s\n", buf_ptr(&diag));
2327 exit(1);
2364 if (err == ErrorFileNotFound) {
2365 zig_panic("link: could not find .def file to build %s\n", name);
2366 } else if (err != ErrorNone) {
2367 zig_panic("link: unable to check if .def file for %s exists: %s",
2368 name, err_str(err));
23282369 }
2329 lj->args.append(buf_ptr(generated_lib_path));
2370
2371 lj->args.append(get_def_lib(g, name, &lib_path));
2372
2373 free(name);
23302374 }
23312375}
23322376
src/main.cpp+21-4
......@@ -65,7 +65,8 @@ static int print_full_usage(const char *arg0, FILE *file, int return_code) {
6565 " -ftime-report print timing diagnostics\n"
6666 " -fstack-report print stack size diagnostics\n"
6767 " -fdump-analysis write analysis.json file with type information\n"
68 " -fgenerate-docs create a docs/ dir with html documentation\n"
68 " -femit-docs create a docs/ dir with html documentation\n"
69 " -fno-emit-bin skip emitting machine code\n"
6970 " --libc [file] Provide a file which specifies libc paths\n"
7071 " --name [name] override output name\n"
7172 " --output-dir [dir] override output directory (defaults to cwd)\n"
......@@ -87,8 +88,9 @@ static int print_full_usage(const char *arg0, FILE *file, int return_code) {
8788 " --verbose-llvm-ir enable compiler debug output for LLVM IR\n"
8889 " --verbose-cimport enable compiler debug output for C imports\n"
8990 " --verbose-cc enable compiler debug output for C compilation\n"
90 " -dirafter [dir] same as -isystem but do it last\n"
91 " -isystem [dir] add additional search path for other .h files\n"
91 " -dirafter [dir] add directory to AFTER include search path\n"
92 " -isystem [dir] add directory to SYSTEM include search path\n"
93 " -I[dir] add directory to include search path\n"
9294 " -mllvm [arg] (unsupported) forward an arg to LLVM's option processing\n"
9395 " --override-lib-dir [arg] override path to Zig lib directory\n"
9496 " -ffunction-sections places each function in a separate section\n"
......@@ -483,6 +485,7 @@ int main(int argc, char **argv) {
483485 bool stack_report = false;
484486 bool enable_dump_analysis = false;
485487 bool enable_doc_generation = false;
488 bool disable_bin_generation = false;
486489 const char *cache_dir = nullptr;
487490 CliPkg *cur_pkg = allocate<CliPkg>(1);
488491 BuildMode build_mode = BuildModeDebug;
......@@ -668,8 +671,10 @@ int main(int argc, char **argv) {
668671 stack_report = true;
669672 } else if (strcmp(arg, "-fdump-analysis") == 0) {
670673 enable_dump_analysis = true;
671 } else if (strcmp(arg, "-fgenerate-docs") == 0) {
674 } else if (strcmp(arg, "-femit-docs") == 0) {
672675 enable_doc_generation = true;
676 } else if (strcmp(arg, "-fno-emit-bin") == 0) {
677 disable_bin_generation = true;
673678 } else if (strcmp(arg, "--enable-valgrind") == 0) {
674679 valgrind_support = ValgrindSupportEnabled;
675680 } else if (strcmp(arg, "--disable-valgrind") == 0) {
......@@ -704,6 +709,9 @@ int main(int argc, char **argv) {
704709 if (strcmp(l, "c") == 0)
705710 have_libc = true;
706711 link_libs.append(l);
712 } else if (arg[1] == 'I' && arg[2] != 0) {
713 clang_argv.append("-I");
714 clang_argv.append(&arg[2]);
707715 } else if (arg[1] == 'F' && arg[2] != 0) {
708716 framework_dirs.append(&arg[2]);
709717 } else if (strcmp(arg, "--pkg-begin") == 0) {
......@@ -779,6 +787,9 @@ int main(int argc, char **argv) {
779787 } else if (strcmp(arg, "-isystem") == 0) {
780788 clang_argv.append("-isystem");
781789 clang_argv.append(argv[i]);
790 } else if (strcmp(arg, "-I") == 0) {
791 clang_argv.append("-I");
792 clang_argv.append(argv[i]);
782793 } else if (strcmp(arg, "-dirafter") == 0) {
783794 clang_argv.append("-dirafter");
784795 clang_argv.append(argv[i]);
......@@ -1148,6 +1159,7 @@ int main(int argc, char **argv) {
11481159 g->enable_stack_report = stack_report;
11491160 g->enable_dump_analysis = enable_dump_analysis;
11501161 g->enable_doc_generation = enable_doc_generation;
1162 g->disable_bin_generation = disable_bin_generation;
11511163 codegen_set_out_name(g, buf_out_name);
11521164 codegen_set_lib_version(g, ver_major, ver_minor, ver_patch);
11531165 g->want_single_threaded = want_single_threaded;
......@@ -1290,6 +1302,11 @@ int main(int argc, char **argv) {
12901302 zig_print_stack_report(g, stdout);
12911303 }
12921304
1305 if (g->disable_bin_generation) {
1306 fprintf(stderr, "Semantic analysis complete. No binary produced due to -fno-emit-bin.\n");
1307 return 0;
1308 }
1309
12931310 Buf *test_exe_path_unresolved = &g->output_file_path;
12941311 Buf *test_exe_path = buf_alloc();
12951312 *test_exe_path = os_path_resolve(&test_exe_path_unresolved, 1);
src/zig_llvm.cpp+82
......@@ -34,6 +34,9 @@
3434#include <llvm/MC/SubtargetFeature.h>
3535#include <llvm/Object/Archive.h>
3636#include <llvm/Object/ArchiveWriter.h>
37#include <llvm/Object/COFF.h>
38#include <llvm/Object/COFFImportFile.h>
39#include <llvm/Object/COFFModuleDefinition.h>
3740#include <llvm/PassRegistry.h>
3841#include <llvm/Support/FileSystem.h>
3942#include <llvm/Support/TargetParser.h>
......@@ -938,6 +941,85 @@ class MyOStream: public raw_ostream {
938941 size_t pos;
939942};
940943
944bool ZigLLVMWriteImportLibrary(const char *def_path, const ZigLLVM_ArchType arch,
945 const char *output_lib_path, const bool kill_at)
946{
947 COFF::MachineTypes machine = COFF::IMAGE_FILE_MACHINE_UNKNOWN;
948
949 switch (arch) {
950 case ZigLLVM_x86:
951 machine = COFF::IMAGE_FILE_MACHINE_I386;
952 break;
953 case ZigLLVM_x86_64:
954 machine = COFF::IMAGE_FILE_MACHINE_AMD64;
955 break;
956 case ZigLLVM_arm:
957 case ZigLLVM_armeb:
958 case ZigLLVM_thumb:
959 case ZigLLVM_thumbeb:
960 machine = COFF::IMAGE_FILE_MACHINE_ARMNT;
961 break;
962 case ZigLLVM_aarch64:
963 case ZigLLVM_aarch64_be:
964 machine = COFF::IMAGE_FILE_MACHINE_ARM64;
965 break;
966 default:
967 break;
968 }
969
970 if (machine == COFF::IMAGE_FILE_MACHINE_UNKNOWN) {
971 return true;
972 }
973
974 auto bufOrErr = MemoryBuffer::getFile(def_path);
975 if (!bufOrErr) {
976 return false;
977 }
978
979 MemoryBuffer& buf = *bufOrErr.get();
980 Expected<object::COFFModuleDefinition> def =
981 object::parseCOFFModuleDefinition(buf, machine, /* MingwDef */ true);
982
983 if (!def) {
984 return true;
985 }
986
987 // The exports-juggling code below is ripped from LLVM's DllToolDriver.cpp
988
989 // If ExtName is set (if the "ExtName = Name" syntax was used), overwrite
990 // Name with ExtName and clear ExtName. When only creating an import
991 // library and not linking, the internal name is irrelevant. This avoids
992 // cases where writeImportLibrary tries to transplant decoration from
993 // symbol decoration onto ExtName.
994 for (object::COFFShortExport& E : def->Exports) {
995 if (!E.ExtName.empty()) {
996 E.Name = E.ExtName;
997 E.ExtName.clear();
998 }
999 }
1000
1001 if (machine == COFF::IMAGE_FILE_MACHINE_I386 && kill_at) {
1002 for (object::COFFShortExport& E : def->Exports) {
1003 if (!E.AliasTarget.empty() || (!E.Name.empty() && E.Name[0] == '?'))
1004 continue;
1005 E.SymbolName = E.Name;
1006 // Trim off the trailing decoration. Symbols will always have a
1007 // starting prefix here (either _ for cdecl/stdcall, @ for fastcall
1008 // or ? for C++ functions). Vectorcall functions won't have any
1009 // fixed prefix, but the function base name will still be at least
1010 // one char.
1011 E.Name = E.Name.substr(0, E.Name.find('@', 1));
1012 // By making sure E.SymbolName != E.Name for decorated symbols,
1013 // writeImportLibrary writes these symbols with the type
1014 // IMPORT_NAME_UNDECORATE.
1015 }
1016 }
1017
1018 return static_cast<bool>(
1019 object::writeImportLibrary(def->OutputFile, output_lib_path,
1020 def->Exports, machine, /* MinGW */ true));
1021}
1022
9411023bool ZigLLVMWriteArchive(const char *archive_name, const char **file_names, size_t file_name_count,
9421024 ZigLLVM_OSType os_type)
9431025{
src/zig_llvm.h+3
......@@ -465,6 +465,9 @@ ZIG_EXTERN_C bool ZigLLDLink(enum ZigLLVM_ObjectFormatType oformat, const char *
465465ZIG_EXTERN_C bool ZigLLVMWriteArchive(const char *archive_name, const char **file_names, size_t file_name_count,
466466 enum ZigLLVM_OSType os_type);
467467
468bool ZigLLVMWriteImportLibrary(const char *def_path, const ZigLLVM_ArchType arch,
469 const char *output_lib_path, const bool kill_at);
470
468471ZIG_EXTERN_C void ZigLLVMGetNativeTarget(enum ZigLLVM_ArchType *arch_type, enum ZigLLVM_SubArchType *sub_arch_type,
469472 enum ZigLLVM_VendorType *vendor_type, enum ZigLLVM_OSType *os_type, enum ZigLLVM_EnvironmentType *environ_type,
470473 enum ZigLLVM_ObjectFormatType *oformat);
test/stage1/behavior/align.zig+7
......@@ -328,3 +328,10 @@ test "align(@alignOf(T)) T does not force resolution of T" {
328328 _ = async S.doTheTest();
329329 expect(S.ok);
330330}
331
332test "align(N) on functions" {
333 expect((@ptrToInt(overaligned_fn) & (0x1000 - 1)) == 0);
334}
335fn overaligned_fn() align(0x1000) i32 {
336 return 42;
337}
test/stage1/behavior/struct.zig+20
......@@ -689,3 +689,23 @@ test "non-packed struct with u128 entry in union" {
689689 s.f2 = v2;
690690 std.testing.expect(s.f2.Num == 123);
691691}
692
693test "packed struct field passed to generic function" {
694 const S = struct {
695 const P = packed struct {
696 b: u5,
697 g: u5,
698 r: u5,
699 a: u1,
700 };
701
702 fn genericReadPackedField(ptr: var) u5 {
703 return ptr.*;
704 }
705 };
706
707 var p: S.P = undefined;
708 p.b = 29;
709 var loaded = S.genericReadPackedField(&p.b);
710 expect(loaded == 29);
711}
test/tests.zig+21
......@@ -163,6 +163,16 @@ const test_targets = [_]TestTarget{
163163 .disable_native = true,
164164 },
165165
166 TestTarget{
167 .target = Target{
168 .Cross = CrossTarget{
169 .os = .windows,
170 .arch = .i386,
171 .abi = .msvc,
172 },
173 },
174 },
175
166176 TestTarget{
167177 .target = Target{
168178 .Cross = CrossTarget{
......@@ -173,6 +183,17 @@ const test_targets = [_]TestTarget{
173183 },
174184 },
175185
186 TestTarget{
187 .target = Target{
188 .Cross = CrossTarget{
189 .os = .windows,
190 .arch = .i386,
191 .abi = .gnu,
192 },
193 },
194 .link_libc = true,
195 },
196
176197 TestTarget{
177198 .target = Target{
178199 .Cross = CrossTarget{
tools/merge_anal_dumps.zig created+454
......@@ -0,0 +1,454 @@
1const builtin = @import("builtin");
2const std = @import("std");
3const json = std.json;
4const mem = std.mem;
5const fieldIndex = std.meta.fieldIndex;
6const TypeId = builtin.TypeId;
7
8pub fn main() anyerror!void {
9 var arena = std.heap.ArenaAllocator.init(std.heap.direct_allocator);
10 defer arena.deinit();
11
12 const allocator = &arena.allocator;
13
14 const args = try std.process.argsAlloc(allocator);
15
16 var parser: json.Parser = undefined;
17 var dump = Dump.init(allocator);
18 for (args[1..]) |arg| {
19 parser = json.Parser.init(allocator, false);
20 const json_text = try std.io.readFileAlloc(allocator, arg);
21 const tree = try parser.parse(json_text);
22 try dump.mergeJson(tree.root);
23 }
24
25 const stdout = try std.io.getStdOut();
26 try dump.render(&stdout.outStream().stream);
27}
28
29/// AST source node
30const Node = struct {
31 file: usize,
32 line: usize,
33 col: usize,
34 fields: []usize,
35
36 fn hash(n: Node) u32 {
37 var hasher = std.hash.Wyhash.init(0);
38 std.hash.autoHash(&hasher, n.file);
39 std.hash.autoHash(&hasher, n.line);
40 std.hash.autoHash(&hasher, n.col);
41 return @truncate(u32, hasher.final());
42 }
43
44 fn eql(a: Node, b: Node) bool {
45 return a.file == b.file and
46 a.line == b.line and
47 a.col == b.col;
48 }
49};
50
51const Error = struct {
52 src: usize,
53 name: []const u8,
54
55 fn hash(n: Error) u32 {
56 var hasher = std.hash.Wyhash.init(0);
57 std.hash.autoHash(&hasher, n.src);
58 return @truncate(u32, hasher.final());
59 }
60
61 fn eql(a: Error, b: Error) bool {
62 return a.src == b.src;
63 }
64};
65
66const simple_types = [_][]const u8{
67 "Type",
68 "Void",
69 "Bool",
70 "NoReturn",
71 "ComptimeFloat",
72 "ComptimeInt",
73 "Undefined",
74 "Null",
75 "AnyFrame",
76 "EnumLiteral",
77};
78
79const Type = union(builtin.TypeId) {
80 Type,
81 Void,
82 Bool,
83 NoReturn,
84 ComptimeFloat,
85 ComptimeInt,
86 Undefined,
87 Null,
88 AnyFrame,
89 EnumLiteral,
90
91 Int: Int,
92 Float: usize, // bits
93
94 Vector: Array,
95 Optional: usize, // payload type index
96 Pointer: Pointer,
97 Array: Array,
98
99 Struct, // TODO
100 ErrorUnion, // TODO
101 ErrorSet, // TODO
102 Enum, // TODO
103 Union, // TODO
104 Fn, // TODO
105 BoundFn, // TODO
106 ArgTuple, // TODO
107 Opaque, // TODO
108 Frame, // TODO
109
110 const Int = struct {
111 bits: usize,
112 signed: bool,
113 };
114
115 const Pointer = struct {
116 elem: usize,
117 alignment: usize,
118 is_const: bool,
119 is_volatile: bool,
120 allow_zero: bool,
121 host_int_bytes: usize,
122 bit_offset_in_host: usize,
123 };
124
125 const Array = struct {
126 elem: usize,
127 len: usize,
128 };
129
130 fn hash(t: Type) u32 {
131 var hasher = std.hash.Wyhash.init(0);
132 std.hash.autoHash(&hasher, builtin.TypeId(t));
133 return @truncate(u32, hasher.final());
134 }
135
136 fn eql(a: Type, b: Type) bool {
137 return std.meta.eql(a, b);
138 }
139};
140
141const Dump = struct {
142 zig_id: ?[]const u8 = null,
143 zig_version: ?[]const u8 = null,
144 root_name: ?[]const u8 = null,
145 targets: std.ArrayList([]const u8),
146
147 const FileMap = std.StringHashMap(usize);
148 file_list: std.ArrayList([]const u8),
149 file_map: FileMap,
150
151 const NodeMap = std.HashMap(Node, usize, Node.hash, Node.eql);
152 node_list: std.ArrayList(Node),
153 node_map: NodeMap,
154
155 const ErrorMap = std.HashMap(Error, usize, Error.hash, Error.eql);
156 error_list: std.ArrayList(Error),
157 error_map: ErrorMap,
158
159 const TypeMap = std.HashMap(Type, usize, Type.hash, Type.eql);
160 type_list: std.ArrayList(Type),
161 type_map: TypeMap,
162
163 fn init(allocator: *mem.Allocator) Dump {
164 return Dump{
165 .targets = std.ArrayList([]const u8).init(allocator),
166 .file_list = std.ArrayList([]const u8).init(allocator),
167 .file_map = FileMap.init(allocator),
168 .node_list = std.ArrayList(Node).init(allocator),
169 .node_map = NodeMap.init(allocator),
170 .error_list = std.ArrayList(Error).init(allocator),
171 .error_map = ErrorMap.init(allocator),
172 .type_list = std.ArrayList(Type).init(allocator),
173 .type_map = TypeMap.init(allocator),
174 };
175 }
176
177 fn mergeJson(self: *Dump, root: json.Value) !void {
178 const params = &root.Object.get("params").?.value.Object;
179 const zig_id = params.get("zigId").?.value.String;
180 const zig_version = params.get("zigVersion").?.value.String;
181 const root_name = params.get("rootName").?.value.String;
182 try mergeSameStrings(&self.zig_id, zig_id);
183 try mergeSameStrings(&self.zig_version, zig_version);
184 try mergeSameStrings(&self.root_name, root_name);
185
186 for (params.get("builds").?.value.Array.toSliceConst()) |json_build| {
187 const target = json_build.Object.get("target").?.value.String;
188 try self.targets.append(target);
189 }
190
191 // Merge files. If the string matches, it's the same file.
192 const other_files = root.Object.get("files").?.value.Array.toSliceConst();
193 var other_file_to_mine = std.AutoHashMap(usize, usize).init(self.a());
194 for (other_files) |other_file, i| {
195 const gop = try self.file_map.getOrPut(other_file.String);
196 if (!gop.found_existing) {
197 gop.kv.value = self.file_list.len;
198 try self.file_list.append(other_file.String);
199 }
200 try other_file_to_mine.putNoClobber(i, gop.kv.value);
201 }
202
203 // Merge AST nodes. If the file id, line, and column all match, it's the same AST node.
204 const other_ast_nodes = root.Object.get("astNodes").?.value.Array.toSliceConst();
205 var other_ast_node_to_mine = std.AutoHashMap(usize, usize).init(self.a());
206 for (other_ast_nodes) |other_ast_node_json, i| {
207 const other_file_id = jsonObjInt(other_ast_node_json, "file");
208 const other_node = Node{
209 .line = jsonObjInt(other_ast_node_json, "line"),
210 .col = jsonObjInt(other_ast_node_json, "col"),
211 .file = other_file_to_mine.getValue(other_file_id).?,
212 .fields = ([*]usize)(undefined)[0..0],
213 };
214 const gop = try self.node_map.getOrPut(other_node);
215 if (!gop.found_existing) {
216 gop.kv.value = self.node_list.len;
217 try self.node_list.append(other_node);
218 }
219 try other_ast_node_to_mine.putNoClobber(i, gop.kv.value);
220 }
221 // convert fields lists
222 for (other_ast_nodes) |other_ast_node_json, i| {
223 const my_node_index = other_ast_node_to_mine.get(i).?.value;
224 const my_node = &self.node_list.toSlice()[my_node_index];
225 if (other_ast_node_json.Object.get("fields")) |fields_json_kv| {
226 const other_fields = fields_json_kv.value.Array.toSliceConst();
227 my_node.fields = try self.a().alloc(usize, other_fields.len);
228 for (other_fields) |other_field_index, field_i| {
229 const other_index = @intCast(usize, other_field_index.Integer);
230 my_node.fields[field_i] = other_ast_node_to_mine.get(other_index).?.value;
231 }
232 }
233 }
234
235 // Merge errors. If the AST Node matches, it's the same error value.
236 const other_errors = root.Object.get("errors").?.value.Array.toSliceConst();
237 var other_error_to_mine = std.AutoHashMap(usize, usize).init(self.a());
238 for (other_errors) |other_error_json, i| {
239 const other_src_id = jsonObjInt(other_error_json, "src");
240 const other_error = Error{
241 .src = other_ast_node_to_mine.getValue(other_src_id).?,
242 .name = other_error_json.Object.get("name").?.value.String,
243 };
244 const gop = try self.error_map.getOrPut(other_error);
245 if (!gop.found_existing) {
246 gop.kv.value = self.error_list.len;
247 try self.error_list.append(other_error);
248 }
249 try other_error_to_mine.putNoClobber(i, gop.kv.value);
250 }
251
252 // Merge types. Now it starts to get advanced.
253 // First we identify all the simple types and merge those.
254 // Example: void, type, noreturn
255 // We can also do integers and floats.
256 const other_types = root.Object.get("types").?.value.Array.toSliceConst();
257 var other_types_to_mine = std.AutoHashMap(usize, usize).init(self.a());
258 for (other_types) |other_type_json, i| {
259 const type_kind = jsonObjInt(other_type_json, "kind");
260 switch (type_kind) {
261 fieldIndex(TypeId, "Int").? => {
262 var signed: bool = undefined;
263 var bits: usize = undefined;
264 if (other_type_json.Object.get("i")) |kv| {
265 signed = true;
266 bits = @intCast(usize, kv.value.Integer);
267 } else if (other_type_json.Object.get("u")) |kv| {
268 signed = false;
269 bits = @intCast(usize, kv.value.Integer);
270 } else {
271 unreachable;
272 }
273 const other_type = Type{
274 .Int = Type.Int{
275 .bits = bits,
276 .signed = signed,
277 },
278 };
279 try self.mergeOtherType(other_type, i, &other_types_to_mine);
280 },
281 fieldIndex(TypeId, "Float").? => {
282 const other_type = Type{
283 .Float = jsonObjInt(other_type_json, "bits"),
284 };
285 try self.mergeOtherType(other_type, i, &other_types_to_mine);
286 },
287 else => {},
288 }
289
290 inline for (simple_types) |simple_type_name| {
291 if (type_kind == std.meta.fieldIndex(builtin.TypeId, simple_type_name).?) {
292 const other_type = @unionInit(Type, simple_type_name, {});
293 try self.mergeOtherType(other_type, i, &other_types_to_mine);
294 }
295 }
296 }
297 }
298
299 fn mergeOtherType(
300 self: *Dump,
301 other_type: Type,
302 other_type_index: usize,
303 other_types_to_mine: *std.AutoHashMap(usize, usize),
304 ) !void {
305 const gop = try self.type_map.getOrPut(other_type);
306 if (!gop.found_existing) {
307 gop.kv.value = self.type_list.len;
308 try self.type_list.append(other_type);
309 }
310 try other_types_to_mine.putNoClobber(other_type_index, gop.kv.value);
311 }
312
313 fn render(self: *Dump, stream: var) !void {
314 var jw = json.WriteStream(@typeOf(stream).Child, 10).init(stream);
315 try jw.beginObject();
316
317 try jw.objectField("typeKinds");
318 try jw.beginArray();
319 inline for (@typeInfo(builtin.TypeId).Enum.fields) |field| {
320 try jw.arrayElem();
321 try jw.emitString(field.name);
322 }
323 try jw.endArray();
324
325 try jw.objectField("params");
326 try jw.beginObject();
327
328 try jw.objectField("zigId");
329 try jw.emitString(self.zig_id.?);
330
331 try jw.objectField("zigVersion");
332 try jw.emitString(self.zig_version.?);
333
334 try jw.objectField("rootName");
335 try jw.emitString(self.root_name.?);
336
337 try jw.objectField("builds");
338 try jw.beginArray();
339 for (self.targets.toSliceConst()) |target| {
340 try jw.arrayElem();
341 try jw.beginObject();
342 try jw.objectField("target");
343 try jw.emitString(target);
344 try jw.endObject();
345 }
346 try jw.endArray();
347
348 try jw.endObject();
349
350 try jw.objectField("types");
351 try jw.beginArray();
352 for (self.type_list.toSliceConst()) |t| {
353 try jw.arrayElem();
354 try jw.beginObject();
355
356 try jw.objectField("kind");
357 try jw.emitNumber(@enumToInt(builtin.TypeId(t)));
358
359 switch (t) {
360 .Int => |int| {
361 if (int.signed) {
362 try jw.objectField("i");
363 } else {
364 try jw.objectField("u");
365 }
366 try jw.emitNumber(int.bits);
367 },
368 .Float => |bits| {
369 try jw.objectField("bits");
370 try jw.emitNumber(bits);
371 },
372
373 else => {},
374 }
375
376 try jw.endObject();
377 }
378 try jw.endArray();
379
380 try jw.objectField("errors");
381 try jw.beginArray();
382 for (self.error_list.toSliceConst()) |zig_error| {
383 try jw.arrayElem();
384 try jw.beginObject();
385
386 try jw.objectField("src");
387 try jw.emitNumber(zig_error.src);
388
389 try jw.objectField("name");
390 try jw.emitString(zig_error.name);
391
392 try jw.endObject();
393 }
394 try jw.endArray();
395
396 try jw.objectField("astNodes");
397 try jw.beginArray();
398 for (self.node_list.toSliceConst()) |node| {
399 try jw.arrayElem();
400 try jw.beginObject();
401
402 try jw.objectField("file");
403 try jw.emitNumber(node.file);
404
405 try jw.objectField("line");
406 try jw.emitNumber(node.line);
407
408 try jw.objectField("col");
409 try jw.emitNumber(node.col);
410
411 if (node.fields.len != 0) {
412 try jw.objectField("fields");
413 try jw.beginArray();
414
415 for (node.fields) |field_node_index| {
416 try jw.arrayElem();
417 try jw.emitNumber(field_node_index);
418 }
419 try jw.endArray();
420 }
421
422 try jw.endObject();
423 }
424 try jw.endArray();
425
426 try jw.objectField("files");
427 try jw.beginArray();
428 for (self.file_list.toSliceConst()) |file| {
429 try jw.arrayElem();
430 try jw.emitString(file);
431 }
432 try jw.endArray();
433
434 try jw.endObject();
435 }
436
437 fn a(self: Dump) *mem.Allocator {
438 return self.targets.allocator;
439 }
440
441 fn mergeSameStrings(opt_dest: *?[]const u8, src: []const u8) !void {
442 if (opt_dest.*) |dest| {
443 if (!mem.eql(u8, dest, src))
444 return error.MismatchedDumps;
445 } else {
446 opt_dest.* = src;
447 }
448 }
449};
450
451fn jsonObjInt(json_val: json.Value, field: []const u8) usize {
452 const uncasted = json_val.Object.get(field).?.value.Integer;
453 return @intCast(usize, uncasted);
454}