ObjFW
ObjFW.h
1 /*
2  * Copyright (c) 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017
3  * Jonathan Schleifer <js@heap.zone>
4  *
5  * All rights reserved.
6  *
7  * This file is part of ObjFW. It may be distributed under the terms of the
8  * Q Public License 1.0, which can be found in the file LICENSE.QPL included in
9  * the packaging of this file.
10  *
11  * Alternatively, it may be distributed under the terms of the GNU General
12  * Public License, either version 2 or 3, which can be found in the file
13  * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this
14  * file.
15  */
16 
17 #import "OFObject.h"
18 #import "OFBlock.h"
19 
20 #import "OFAutoreleasePool.h"
21 #import "OFString.h"
22 
23 #import "OFData.h"
24 #import "OFArray.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 "OFEnumerator.h"
36 
37 #import "OFNull.h"
38 
39 #import "OFIntrospection.h"
40 
41 #import "OFNumber.h"
42 #import "OFDate.h"
43 #import "OFURL.h"
44 
45 #import "OFStream.h"
46 #import "OFStdIOStream.h"
47 #import "OFInflateStream.h"
48 #import "OFInflate64Stream.h"
49 #import "OFGZIPStream.h"
50 #import "OFTarArchive.h"
51 #import "OFTarArchiveEntry.h"
52 #import "OFZIPArchive.h"
53 #import "OFZIPArchiveEntry.h"
54 #ifdef OF_HAVE_FILES
55 # import "OFFile.h"
56 # import "OFFileManager.h"
57 # import "OFINIFile.h"
58 # import "OFSettings.h"
59 #endif
60 #ifdef OF_HAVE_SOCKETS
61 # import "OFStreamSocket.h"
62 # import "OFTCPSocket.h"
63 # import "OFUDPSocket.h"
64 # import "OFTLSSocket.h"
65 # import "OFKernelEventObserver.h"
66 #endif
67 #import "OFHTTPCookie.h"
68 #import "OFHTTPCookieManager.h"
69 #import "OFHTTPRequest.h"
70 #import "OFHTTPResponse.h"
71 #ifdef OF_HAVE_SOCKETS
72 # import "OFHTTPClient.h"
73 # import "OFHTTPServer.h"
74 #endif
75 
76 #ifdef OF_HAVE_PROCESSES
77 # import "OFProcess.h"
78 #endif
79 
80 #import "OFCryptoHash.h"
81 #import "OFMD5Hash.h"
82 #import "OFRIPEMD160Hash.h"
83 #import "OFSHA1Hash.h"
84 #import "OFSHA224Hash.h"
85 #import "OFSHA256Hash.h"
86 #import "OFSHA384Hash.h"
87 #import "OFSHA512Hash.h"
88 
89 #import "OFHMAC.h"
90 
91 #import "OFXMLAttribute.h"
92 #import "OFXMLElement.h"
93 #import "OFXMLAttribute.h"
94 #import "OFXMLCharacters.h"
95 #import "OFXMLCDATA.h"
96 #import "OFXMLComment.h"
97 #import "OFXMLProcessingInstructions.h"
98 #import "OFXMLParser.h"
99 #import "OFXMLElementBuilder.h"
100 
101 #import "OFMessagePackExtension.h"
102 
103 #import "OFApplication.h"
104 #import "OFSystemInfo.h"
105 #import "OFLocalization.h"
106 #import "OFOptionsParser.h"
107 #import "OFTimer.h"
108 #import "OFRunLoop.h"
109 #import "OFSandbox.h"
110 
111 #import "OFAllocFailedException.h"
112 #import "OFException.h"
113 #ifdef OF_HAVE_SOCKETS
114 # import "OFAcceptFailedException.h"
115 # import "OFAddressTranslationFailedException.h"
116 # import "OFAlreadyConnectedException.h"
117 # import "OFBindFailedException.h"
118 #endif
119 #import "OFChangeCurrentDirectoryPathFailedException.h"
120 #import "OFChangeOwnerFailedException.h"
121 #import "OFChangePermissionsFailedException.h"
122 #import "OFChecksumFailedException.h"
123 #ifdef OF_HAVE_THREADS
124 # import "OFConditionBroadcastFailedException.h"
125 # import "OFConditionSignalFailedException.h"
126 # import "OFConditionStillWaitingException.h"
127 # import "OFConditionWaitFailedException.h"
128 #endif
129 #ifdef OF_HAVE_SOCKETS
130 # import "OFConnectionFailedException.h"
131 #endif
132 #import "OFCopyItemFailedException.h"
133 #import "OFCreateDirectoryFailedException.h"
134 #import "OFCreateSymbolicLinkFailedException.h"
135 #import "OFEnumerationMutationException.h"
136 #import "OFGetOptionFailedException.h"
137 #import "OFHashAlreadyCalculatedException.h"
138 #ifdef OF_HAVE_SOCKETS
139 # import "OFHTTPRequestFailedException.h"
140 #endif
141 #import "OFInitializationFailedException.h"
142 #import "OFInvalidArgumentException.h"
143 #import "OFInvalidEncodingException.h"
144 #import "OFInvalidFormatException.h"
145 #import "OFInvalidJSONException.h"
146 #import "OFInvalidServerReplyException.h"
147 #import "OFLinkFailedException.h"
148 #ifdef OF_HAVE_SOCKETS
149 # import "OFListenFailedException.h"
150 #endif
151 #import "OFLockFailedException.h"
152 #import "OFMalformedXMLException.h"
153 #import "OFMemoryNotPartOfObjectException.h"
154 #import "OFMoveItemFailedException.h"
155 #import "OFNotImplementedException.h"
156 #import "OFNotOpenException.h"
157 #ifdef OF_HAVE_SOCKETS
158 # import "OFObserveFailedException.h"
159 #endif
160 #import "OFOpenItemFailedException.h"
161 #import "OFOutOfMemoryException.h"
162 #import "OFOutOfRangeException.h"
163 #import "OFReadFailedException.h"
164 #import "OFReadOrWriteFailedException.h"
165 #import "OFRemoveItemFailedException.h"
166 #import "OFSandboxActivationFailedException.h"
167 #import "OFSeekFailedException.h"
168 #import "OFSetOptionFailedException.h"
169 #import "OFStatItemFailedException.h"
170 #import "OFStillLockedException.h"
171 #ifdef OF_HAVE_THREADS
172 # import "OFThreadJoinFailedException.h"
173 # import "OFThreadStartFailedException.h"
174 # import "OFThreadStillRunningException.h"
175 #endif
176 #import "OFTruncatedDataException.h"
177 #import "OFUnboundNamespaceException.h"
178 #import "OFUnboundPrefixException.h"
179 #import "OFUndefinedKeyException.h"
180 #import "OFUnknownXMLEntityException.h"
181 #import "OFUnlockFailedException.h"
182 #import "OFUnsupportedProtocolException.h"
183 #import "OFUnsupportedVersionException.h"
184 #import "OFWriteFailedException.h"
185 
186 #ifdef OF_HAVE_PLUGINS
187 # import "OFPlugin.h"
188 #endif
189 
190 #ifdef OF_HAVE_ATOMIC_OPS
191 # import "atomic.h"
192 #endif
193 
194 #import "OFLocking.h"
195 #import "OFThread.h"
196 #ifdef OF_HAVE_THREADS
197 # import "threading.h"
198 # import "OFThreadPool.h"
199 # import "OFMutex.h"
200 # import "OFRecursiveMutex.h"
201 # import "OFCondition.h"
202 #endif
203 
204 #import "base64.h"
205 #import "crc32.h"
206 #import "instance.h"
207 #import "of_asprintf.h"
208 #import "of_strptime.h"
209 #ifdef OF_HAVE_SOCKETS
210 # import "resolver.h"
211 #endif
212 #import "pbkdf2.h"
213 #import "scrypt.h"