Overview
| Comment: | Remove support for configuring AppleTalk
This didn't work without problems on all OSes. Since ofatalkcfg is no |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
550bd1b7bb1f503568cefc3a0e0d070c |
| User & Date: | js on 2023-05-21 13:10:40 |
| Other Links: | manifest | tags |
Context
|
2023-05-21
| ||
| 17:47 | Change how +[OFSystemInfo networkInterfaces] works (check-in: 43c80a7593 user: js tags: trunk) | |
| 13:10 | Remove support for configuring AppleTalk (check-in: 550bd1b7bb user: js tags: trunk) | |
| 13:02 | Remove utils/ofatalkcfg (check-in: 2ef6db8a44 user: js tags: trunk) | |
Changes
Modified configure.ac from [945ea348f4] to [579103d61e].
| ︙ | ︙ | |||
1717 1718 1719 1720 1721 1722 1723 |
#ifdef AF_APPLETALK
egrep_cpp_yes
#endif
], [
AC_DEFINE(OF_HAVE_APPLETALK, 1,
[Whether we have AppleTalk])
AC_SUBST(USE_SRCS_APPLETALK, '${SRCS_APPLETALK}')
| < < < < < < < < < < < < < | 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 |
#ifdef AF_APPLETALK
egrep_cpp_yes
#endif
], [
AC_DEFINE(OF_HAVE_APPLETALK, 1,
[Whether we have AppleTalk])
AC_SUBST(USE_SRCS_APPLETALK, '${SRCS_APPLETALK}')
])
])
AC_CHECK_FUNCS(paccept accept4, break)
AC_CHECK_FUNCS(kqueue1 kqueue, [
AC_DEFINE(HAVE_KQUEUE, 1, [Whether we have kqueue])
|
| ︙ | ︙ |
Modified src/OFDDPSocket.h from [6a455c4113] to [d9acc0eea7].
| ︙ | ︙ | |||
16 17 18 19 20 21 22 | #import "OFDatagramSocket.h" OF_ASSUME_NONNULL_BEGIN @class OFString; @class OFDictionary OF_GENERIC(KeyType, ObjectType); | < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < | 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | #import "OFDatagramSocket.h" OF_ASSUME_NONNULL_BEGIN @class OFString; @class OFDictionary OF_GENERIC(KeyType, ObjectType); /** * @protocol OFDDPSocketDelegate OFDDPSocket.h ObjFW/OFDDPSocket.h * * @brief A delegate for OFDDPSocket. */ @protocol OFDDPSocketDelegate <OFDatagramSocketDelegate> @end |
| ︙ | ︙ | |||
119 120 121 122 123 124 125 |
*
* @note The delegate is retained for as long as asynchronous operations are
* still ongoing.
*/
@property OF_NULLABLE_PROPERTY (assign, nonatomic)
id <OFDDPSocketDelegate> delegate;
| < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < | 66 67 68 69 70 71 72 73 74 75 76 77 78 79 |
*
* @note The delegate is retained for as long as asynchronous operations are
* still ongoing.
*/
@property OF_NULLABLE_PROPERTY (assign, nonatomic)
id <OFDDPSocketDelegate> delegate;
/**
* @brief Bind the socket to the specified network, node and port.
*
* @param network The network to bind to. 0 means any.
* @param node The node to bind to. 0 means "this node".
* @param port The port to bind to. 0 means to pick one and return it via the
* returned socket address.
|
| ︙ | ︙ |
Modified src/OFDDPSocket.m from [2eb53d96c3] to [0f90d0e13f].
| ︙ | ︙ | |||
55 56 57 58 59 60 61 | unsigned int flags; struct at_addr address, router; unsigned short netStart, netEnd; at_nvestr_t zoneName; }; #endif | < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < | 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 |
unsigned int flags;
struct at_addr address, router;
unsigned short netStart, netEnd;
at_nvestr_t zoneName;
};
#endif
@implementation OFDDPSocket
@dynamic delegate;
- (OFSocketAddress)bindToNetwork: (uint16_t)network
node: (uint8_t)node
port: (uint8_t)port
protocolType: (uint8_t)protocolType
{
#ifdef OF_MACOS
const int one = 1;
|
| ︙ | ︙ |
Modified src/objfw-defs.h.in from [e2e8bf6055] to [b557faae7b].
1 2 3 4 5 6 | #undef OF_APPLE_RUNTIME #undef OF_BIG_ENDIAN #undef OF_CLASSIC_MACOS #undef OF_FLOAT_BIG_ENDIAN #undef OF_HAVE_AFUNIX_H #undef OF_HAVE_APPLETALK | < | 1 2 3 4 5 6 7 8 9 10 11 12 13 | #undef OF_APPLE_RUNTIME #undef OF_BIG_ENDIAN #undef OF_CLASSIC_MACOS #undef OF_FLOAT_BIG_ENDIAN #undef OF_HAVE_AFUNIX_H #undef OF_HAVE_APPLETALK #undef OF_HAVE_ATOMIC_BUILTINS #undef OF_HAVE_ATOMIC_OPS #undef OF_HAVE_BUILTIN_BSWAP16 #undef OF_HAVE_BUILTIN_BSWAP32 #undef OF_HAVE_BUILTIN_BSWAP64 #undef OF_HAVE_CHMOD #undef OF_HAVE_CHOWN |
| ︙ | ︙ |