ObjFW
ObjFW.h
1 /*
2  * Copyright (c) 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015
3  * Jonathan Schleifer <js@webkeks.org>
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 "objfw-defs.h"
18 
19 #import "OFObject.h"
20 #import "OFBlock.h"
21 
22 #import "OFAutoreleasePool.h"
23 #import "OFString.h"
24 
25 #import "OFDataArray.h"
26 #import "OFBigDataArray.h"
27 #import "OFArray.h"
28 
29 #import "OFList.h"
30 #import "OFSortedList.h"
31 
32 #import "OFDictionary.h"
33 #import "OFMapTable.h"
34 
35 #import "OFSet.h"
36 #import "OFCountedSet.h"
37 
38 #import "OFEnumerator.h"
39 
40 #import "OFNull.h"
41 
42 #import "OFIntrospection.h"
43 
44 #import "OFNumber.h"
45 #import "OFDate.h"
46 #import "OFURL.h"
47 
48 #import "OFStream.h"
49 #import "OFStdIOStream.h"
50 #import "OFInflateStream.h"
51 #import "OFInflate64Stream.h"
52 #ifdef OF_HAVE_FILES
53 # import "OFFile.h"
54 # import "OFINIFile.h"
55 # import "OFSettings.h"
56 # import "OFZIPArchive.h"
57 # import "OFZIPArchiveEntry.h"
58 #endif
59 #ifdef OF_HAVE_SOCKETS
60 # import "OFStreamSocket.h"
61 # import "OFTCPSocket.h"
62 # import "OFUDPSocket.h"
63 # import "OFTLSSocket.h"
64 # import "OFKernelEventObserver.h"
65 
66 # import "OFHTTPRequest.h"
67 # import "OFHTTPResponse.h"
68 # import "OFHTTPClient.h"
69 # import "OFHTTPServer.h"
70 #endif
71 
72 #ifdef OF_HAVE_PROCESSES
73 # import "OFProcess.h"
74 #endif
75 
76 #import "OFHash.h"
77 #import "OFMD5Hash.h"
78 #import "OFRIPEMD160Hash.h"
79 #import "OFSHA1Hash.h"
80 #import "OFSHA224Hash.h"
81 #import "OFSHA256Hash.h"
82 #import "OFSHA384Hash.h"
83 #import "OFSHA512Hash.h"
84 
85 #import "OFXMLAttribute.h"
86 #import "OFXMLElement.h"
87 #import "OFXMLAttribute.h"
88 #import "OFXMLCharacters.h"
89 #import "OFXMLCDATA.h"
90 #import "OFXMLComment.h"
91 #import "OFXMLProcessingInstructions.h"
92 #import "OFXMLParser.h"
93 #import "OFXMLElementBuilder.h"
94 
95 #import "OFMessagePackExtension.h"
96 
97 #import "OFApplication.h"
98 #import "OFOptionsParser.h"
99 #import "OFSystemInfo.h"
100 #import "OFTimer.h"
101 #import "OFRunLoop.h"
102 
103 #import "OFAllocFailedException.h"
104 #import "OFException.h"
105 #ifdef OF_HAVE_SOCKETS
106 # import "OFAcceptFailedException.h"
107 # import "OFAddressTranslationFailedException.h"
108 # import "OFAlreadyConnectedException.h"
109 # import "OFBindFailedException.h"
110 #endif
111 #import "OFChangeCurrentDirectoryPathFailedException.h"
112 #import "OFChangeOwnerFailedException.h"
113 #import "OFChangePermissionsFailedException.h"
114 #ifdef OF_HAVE_THREADS
115 # import "OFConditionBroadcastFailedException.h"
116 # import "OFConditionSignalFailedException.h"
117 # import "OFConditionStillWaitingException.h"
118 # import "OFConditionWaitFailedException.h"
119 #endif
120 #ifdef OF_HAVE_SOCKETS
121 # import "OFConnectionFailedException.h"
122 #endif
123 #import "OFCopyItemFailedException.h"
124 #import "OFCreateDirectoryFailedException.h"
125 #import "OFCreateSymbolicLinkFailedException.h"
126 #import "OFEnumerationMutationException.h"
127 #import "OFHashAlreadyCalculatedException.h"
128 #ifdef OF_HAVE_SOCKETS
129 # import "OFHTTPRequestFailedException.h"
130 #endif
131 #import "OFInitializationFailedException.h"
132 #import "OFInvalidArgumentException.h"
133 #import "OFInvalidEncodingException.h"
134 #import "OFInvalidFormatException.h"
135 #import "OFInvalidJSONException.h"
136 #import "OFInvalidServerReplyException.h"
137 #import "OFLinkFailedException.h"
138 #ifdef OF_HAVE_SOCKETS
139 # import "OFListenFailedException.h"
140 #endif
141 #import "OFLockFailedException.h"
142 #import "OFMalformedXMLException.h"
143 #import "OFMemoryNotPartOfObjectException.h"
144 #import "OFMoveItemFailedException.h"
145 #import "OFNotImplementedException.h"
146 #import "OFNotOpenException.h"
147 #import "OFOpenItemFailedException.h"
148 #import "OFOutOfMemoryException.h"
149 #import "OFOutOfRangeException.h"
150 #import "OFReadFailedException.h"
151 #import "OFReadOrWriteFailedException.h"
152 #import "OFRemoveItemFailedException.h"
153 #import "OFSeekFailedException.h"
154 #import "OFSetOptionFailedException.h"
155 #import "OFStillLockedException.h"
156 #ifdef OF_HAVE_THREADS
157 # import "OFThreadJoinFailedException.h"
158 # import "OFThreadStartFailedException.h"
159 # import "OFThreadStillRunningException.h"
160 #endif
161 #import "OFTruncatedDataException.h"
162 #import "OFUnboundNamespaceException.h"
163 #import "OFUnlockFailedException.h"
164 #import "OFUnsupportedProtocolException.h"
165 #import "OFUnsupportedVersionException.h"
166 #import "OFWriteFailedException.h"
167 
168 #ifdef OF_HAVE_PLUGINS
169 # import "OFPlugin.h"
170 #endif
171 
172 #ifdef OF_HAVE_ATOMIC_OPS
173 # import "atomic.h"
174 #endif
175 
176 #import "OFLocking.h"
177 #import "OFThread.h"
178 #ifdef OF_HAVE_THREADS
179 # import "threading.h"
180 # import "OFThreadPool.h"
181 # import "OFMutex.h"
182 # import "OFRecursiveMutex.h"
183 # import "OFCondition.h"
184 #endif
185 
186 #import "base64.h"
187 #import "of_asprintf.h"
188 #import "of_strptime.h"
189 #ifdef OF_HAVE_SOCKETS
190 # import "resolver.h"
191 #endif