ObjFW  Diff

Differences From Artifact [940f93b1b8]:

To Artifact [db1b63a56b]:

  • File src/ObjFW.h — part of check-in [0b4f713964] at 2022-10-30 18:58:13 on branch trunk — Remove AppleTalk support again

    It seems that neither Windows nor macOS support DDP sockets, but only
    the layers on top, while neither Linux nor NetBSD support the layers on
    top, but only provide DDP.

    It seems that DDP is not meant to be used directly, while Linux and
    NetBSD only provide the minimum to use netatalk, which is DDP. ObjFW
    would need to use the layers on top on Windows and macOS and implement
    those layers itself on Linux and NetBSD. This also means that no code
    would be shared between Linux / NetBSD and Windows / macOS, as it's
    impossible to have one implementation that works for everything. At this
    point, the effort required doesn't make sense. (user: js, size: 6889) [annotate] [blame] [check-ins using]


89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
#  import "OFUNIXStreamSocket.h"
# endif
# ifdef OF_HAVE_IPX
#  import "OFIPXSocket.h"
#  import "OFSPXSocket.h"
#  import "OFSPXStreamSocket.h"
# endif
# ifdef OF_HAVE_APPLETALK
#  import "OFDDPSocket.h"
# endif
# import "OFHTTPClient.h"
# import "OFHTTPCookie.h"
# import "OFHTTPCookieManager.h"
# import "OFHTTPRequest.h"
# import "OFHTTPResponse.h"
# import "OFHTTPServer.h"
#endif







<
<
<







89
90
91
92
93
94
95



96
97
98
99
100
101
102
#  import "OFUNIXStreamSocket.h"
# endif
# ifdef OF_HAVE_IPX
#  import "OFIPXSocket.h"
#  import "OFSPXSocket.h"
#  import "OFSPXStreamSocket.h"
# endif



# import "OFHTTPClient.h"
# import "OFHTTPCookie.h"
# import "OFHTTPCookieManager.h"
# import "OFHTTPRequest.h"
# import "OFHTTPResponse.h"
# import "OFHTTPServer.h"
#endif
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
#  import "OFBindUNIXSocketFailedException.h"
#  import "OFConnectUNIXSocketFailedException.h"
# endif
# ifdef OF_HAVE_IPX
#  import "OFBindIPXSocketFailedException.h"
#  import "OFConnectSPXSocketFailedException.h"
# endif
# ifdef OF_HAVE_APPLETALK
#  import "OFBindDDPSocketFailedException.h"
# endif
#endif
#ifdef OF_HAVE_THREADS
# import "OFBroadcastConditionFailedException.h"
# import "OFConditionStillWaitingException.h"
# import "OFJoinThreadFailedException.h"
# import "OFSignalConditionFailedException.h"
# import "OFStartThreadFailedException.h"







<
<
<







205
206
207
208
209
210
211



212
213
214
215
216
217
218
#  import "OFBindUNIXSocketFailedException.h"
#  import "OFConnectUNIXSocketFailedException.h"
# endif
# ifdef OF_HAVE_IPX
#  import "OFBindIPXSocketFailedException.h"
#  import "OFConnectSPXSocketFailedException.h"
# endif



#endif
#ifdef OF_HAVE_THREADS
# import "OFBroadcastConditionFailedException.h"
# import "OFConditionStillWaitingException.h"
# import "OFJoinThreadFailedException.h"
# import "OFSignalConditionFailedException.h"
# import "OFStartThreadFailedException.h"