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