ObjFW
ObjFW.h
1 /*
2  * Copyright (c) 2008-2024 Jonathan Schleifer <js@nil.im>
3  *
4  * All rights reserved.
5  *
6  * This file is part of ObjFW. It may be distributed under the terms of the
7  * Q Public License 1.0, which can be found in the file LICENSE.QPL included in
8  * the packaging of this file.
9  *
10  * Alternatively, it may be distributed under the terms of the GNU General
11  * Public License, either version 2 or 3, which can be found in the file
12  * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this
13  * file.
14  */
15 
16 #import "OFObject.h"
17 #import "OFBlock.h"
18 
19 #import "OFString.h"
20 #import "OFCharacterSet.h"
21 
22 #import "OFData.h"
23 #import "OFArray.h"
24 #import "OFSecureData.h"
25 
26 #import "OFList.h"
27 #import "OFSortedList.h"
28 
29 #import "OFDictionary.h"
30 #import "OFMapTable.h"
31 
32 #import "OFSet.h"
33 #import "OFCountedSet.h"
34 
35 #import "OFValue.h"
36 #import "OFPair.h"
37 #import "OFTriple.h"
38 
39 #import "OFEnumerator.h"
40 
41 #import "OFNull.h"
42 
43 #import "OFMethodSignature.h"
44 #import "OFInvocation.h"
45 
46 #import "OFNumber.h"
47 #import "OFDate.h"
48 #import "OFIRI.h"
49 #import "OFIRIHandler.h"
50 #import "OFUUID.h"
51 #import "OFColor.h"
52 
53 #import "OFNotification.h"
54 #import "OFNotificationCenter.h"
55 
56 #import "OFStream.h"
57 #import "OFSeekableStream.h"
58 #import "OFMemoryStream.h"
59 #import "OFStdIOStream.h"
60 #import "OFInflateStream.h"
61 #import "OFInflate64Stream.h"
62 #import "OFGZIPStream.h"
63 #import "OFLHAArchive.h"
64 #import "OFLHAArchiveEntry.h"
65 #import "OFTarArchive.h"
66 #import "OFTarArchiveEntry.h"
67 #import "OFZIPArchive.h"
68 #import "OFZIPArchiveEntry.h"
69 #import "OFFileManager.h"
70 #ifdef OF_HAVE_FILES
71 # import "OFFile.h"
72 #endif
73 #import "OFINIFile.h"
74 #import "OFSettings.h"
75 #ifdef OF_HAVE_SOCKETS
76 # import "OFStreamSocket.h"
77 # import "OFDatagramSocket.h"
79 # import "OFTCPSocket.h"
80 # import "OFUDPSocket.h"
81 # import "OFTLSStream.h"
82 # import "OFKernelEventObserver.h"
83 # import "OFDNSQuery.h"
84 # import "OFDNSResourceRecord.h"
85 # import "OFDNSResponse.h"
86 # import "OFDNSResolver.h"
87 # ifdef OF_HAVE_UNIX_SOCKETS
88 # import "OFUNIXDatagramSocket.h"
89 # import "OFUNIXStreamSocket.h"
90 # endif
91 # ifdef OF_HAVE_IPX
92 # import "OFIPXSocket.h"
93 # import "OFSPXSocket.h"
94 # import "OFSPXStreamSocket.h"
95 # endif
96 # ifdef OF_HAVE_APPLETALK
97 # import "OFDDPSocket.h"
98 # endif
99 # import "OFHTTPClient.h"
100 # import "OFHTTPCookie.h"
101 # import "OFHTTPCookieManager.h"
102 # import "OFHTTPRequest.h"
103 # import "OFHTTPResponse.h"
104 # import "OFHTTPServer.h"
105 #endif
106 
107 #ifdef OF_HAVE_SUBPROCESSES
108 # import "OFSubprocess.h"
109 #endif
110 
111 #import "OFCryptographicHash.h"
112 #import "OFMD5Hash.h"
113 #import "OFRIPEMD160Hash.h"
114 #import "OFSHA1Hash.h"
115 #import "OFSHA224Hash.h"
116 #import "OFSHA256Hash.h"
117 #import "OFSHA384Hash.h"
118 #import "OFSHA512Hash.h"
119 
120 #import "OFHMAC.h"
121 
122 #import "OFXMLAttribute.h"
123 #import "OFXMLElement.h"
124 #import "OFXMLAttribute.h"
125 #import "OFXMLCharacters.h"
126 #import "OFXMLCDATA.h"
127 #import "OFXMLComment.h"
128 #import "OFXMLProcessingInstruction.h"
129 #import "OFXMLParser.h"
130 #import "OFXMLElementBuilder.h"
131 
132 #import "OFMessagePackExtension.h"
133 
134 #import "OFApplication.h"
135 #import "OFSystemInfo.h"
136 #import "OFLocale.h"
137 #import "OFOptionsParser.h"
138 #import "OFTimer.h"
139 #import "OFRunLoop.h"
140 
141 #import "OFMatrix4x4.h"
142 
143 #ifdef OF_WINDOWS
144 # import "OFWindowsRegistryKey.h"
145 #endif
146 
147 #import "OFAllocFailedException.h"
148 #import "OFAlreadyOpenException.h"
149 #import "OFException.h"
150 #import "OFChangeCurrentDirectoryFailedException.h"
151 #import "OFChecksumMismatchException.h"
152 #import "OFCopyItemFailedException.h"
153 #import "OFCreateDirectoryFailedException.h"
154 #import "OFCreateSymbolicLinkFailedException.h"
155 #import "OFEnumerationMutationException.h"
156 #ifdef OF_HAVE_FILES
157 # import "OFGetCurrentDirectoryFailedException.h"
158 #endif
159 #import "OFGetItemAttributesFailedException.h"
160 #import "OFGetOptionFailedException.h"
161 #import "OFHashAlreadyCalculatedException.h"
162 #import "OFHashNotCalculatedException.h"
163 #import "OFInitializationFailedException.h"
164 #import "OFInvalidArgumentException.h"
165 #import "OFInvalidEncodingException.h"
166 #import "OFInvalidFormatException.h"
167 #import "OFInvalidJSONException.h"
168 #import "OFInvalidServerResponseException.h"
169 #import "OFLinkItemFailedException.h"
170 #ifdef OF_HAVE_PLUGINS
171 # import "OFLoadPluginFailedException.h"
172 #endif
173 #import "OFLockFailedException.h"
174 #import "OFMalformedXMLException.h"
175 #import "OFMoveItemFailedException.h"
176 #import "OFNotImplementedException.h"
177 #import "OFNotOpenException.h"
178 #import "OFOpenItemFailedException.h"
179 #import "OFOutOfMemoryException.h"
180 #import "OFOutOfRangeException.h"
181 #import "OFReadFailedException.h"
182 #import "OFReadOrWriteFailedException.h"
183 #import "OFRemoveItemFailedException.h"
184 #import "OFSeekFailedException.h"
185 #import "OFSetItemAttributesFailedException.h"
186 #import "OFSetOptionFailedException.h"
187 #import "OFStillLockedException.h"
188 #import "OFTruncatedDataException.h"
189 #import "OFUnboundNamespaceException.h"
190 #import "OFUnboundPrefixException.h"
191 #import "OFUndefinedKeyException.h"
192 #import "OFUnknownXMLEntityException.h"
193 #import "OFUnlockFailedException.h"
194 #import "OFUnsupportedProtocolException.h"
195 #import "OFUnsupportedVersionException.h"
196 #import "OFWriteFailedException.h"
197 #ifdef OF_HAVE_SOCKETS
198 # import "OFAcceptSocketFailedException.h"
199 # import "OFBindIPSocketFailedException.h"
200 # import "OFBindSocketFailedException.h"
201 # import "OFConnectIPSocketFailedException.h"
202 # import "OFConnectSocketFailedException.h"
203 # import "OFDNSQueryFailedException.h"
204 # import "OFHTTPRequestFailedException.h"
205 # import "OFListenOnSocketFailedException.h"
206 # import "OFObserveKernelEventsFailedException.h"
207 # import "OFResolveHostFailedException.h"
208 # import "OFTLSHandshakeFailedException.h"
209 # ifdef OF_HAVE_UNIX_SOCKETS
210 # import "OFBindUNIXSocketFailedException.h"
211 # import "OFConnectUNIXSocketFailedException.h"
212 # endif
213 # ifdef OF_HAVE_IPX
214 # import "OFBindIPXSocketFailedException.h"
215 # import "OFConnectSPXSocketFailedException.h"
216 # endif
217 # ifdef OF_HAVE_APPLETALK
218 # import "OFBindDDPSocketFailedException.h"
219 # endif
220 #endif
221 #ifdef OF_HAVE_THREADS
222 # import "OFBroadcastConditionFailedException.h"
223 # import "OFConditionStillWaitingException.h"
224 # import "OFJoinThreadFailedException.h"
225 # import "OFSignalConditionFailedException.h"
226 # import "OFStartThreadFailedException.h"
227 # import "OFThreadStillRunningException.h"
228 # import "OFWaitForConditionFailedException.h"
229 #endif
230 #ifdef OF_HAVE_PLUGINS
231 # import "OFPlugin.h"
232 #endif
233 #ifdef OF_WINDOWS
234 # import "OFCreateWindowsRegistryKeyFailedException.h"
235 # import "OFDeleteWindowsRegistryKeyFailedException.h"
236 # import "OFDeleteWindowsRegistryValueFailedException.h"
237 # import "OFGetWindowsRegistryValueFailedException.h"
238 # import "OFOpenWindowsRegistryKeyFailedException.h"
239 # import "OFSetWindowsRegistryValueFailedException.h"
240 #endif
241 
242 #ifdef OF_HAVE_ATOMIC_OPS
243 # import "OFAtomic.h"
244 #endif
245 #import "OFLocking.h"
246 #import "OFOnce.h"
247 #import "OFThread.h"
248 #ifdef OF_HAVE_THREADS
249 # import "OFCondition.h"
250 # import "OFMutex.h"
251 # import "OFPlainCondition.h"
252 # import "OFPlainMutex.h"
253 # import "OFPlainThread.h"
254 # import "OFRecursiveMutex.h"
255 # import "OFTLSKey.h"
256 #endif
257 
258 #import "OFPBKDF2.h"
259 #import "OFScrypt.h"